0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003
0004 /include/ "danube.dtsi"
0005
0006 / {
0007 chosen {
0008 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
0009 };
0010
0011 memory@0 {
0012 device_type = "memory";
0013 reg = <0x0 0x2000000>;
0014 };
0015
0016 fpi@10000000 {
0017 #address-cells = <1>;
0018 #size-cells = <1>;
0019 localbus@0 {
0020 #address-cells = <2>;
0021 #size-cells = <1>;
0022 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
0023 1 0 0x4000000 0x4000010>; /* addsel1 */
0024 compatible = "lantiq,localbus", "simple-bus";
0025
0026 nor-boot@0 {
0027 compatible = "lantiq,nor";
0028 bank-width = <2>;
0029 reg = <0 0x0 0x2000000>;
0030 #address-cells = <1>;
0031 #size-cells = <1>;
0032
0033 partition@0 {
0034 label = "uboot";
0035 reg = <0x00000 0x10000>; /* 64 KB */
0036 };
0037
0038 partition@10000 {
0039 label = "uboot_env";
0040 reg = <0x10000 0x10000>; /* 64 KB */
0041 };
0042
0043 partition@20000 {
0044 label = "linux";
0045 reg = <0x20000 0x3d0000>;
0046 };
0047
0048 partition@400000 {
0049 label = "rootfs";
0050 reg = <0x400000 0x400000>;
0051 };
0052 };
0053 };
0054
0055 gpio: pinmux@e100b10 {
0056 compatible = "lantiq,danube-pinctrl";
0057 pinctrl-names = "default";
0058 pinctrl-0 = <&state_default>;
0059
0060 #gpio-cells = <2>;
0061 gpio-controller;
0062 reg = <0xe100b10 0xa0>;
0063
0064 state_default: pinmux {
0065 stp {
0066 lantiq,groups = "stp";
0067 lantiq,function = "stp";
0068 };
0069 exin {
0070 lantiq,groups = "exin1";
0071 lantiq,function = "exin";
0072 };
0073 pci {
0074 lantiq,groups = "gnt1";
0075 lantiq,function = "pci";
0076 };
0077 conf_out {
0078 lantiq,pins = "io4", "io5", "io6"; /* stp */
0079 lantiq,open-drain;
0080 lantiq,pull = <0>;
0081 };
0082 };
0083 };
0084
0085 etop@e180000 {
0086 compatible = "lantiq,etop-xway";
0087 reg = <0xe180000 0x40000>;
0088 interrupt-parent = <&icu0>;
0089 interrupts = <73 78>;
0090 phy-mode = "rmii";
0091 mac-address = [ 00 11 22 33 44 55 ];
0092 };
0093
0094 stp0: stp@e100bb0 {
0095 #gpio-cells = <2>;
0096 compatible = "lantiq,gpio-stp-xway";
0097 gpio-controller;
0098 reg = <0xe100bb0 0x40>;
0099
0100 lantiq,shadow = <0xfff>;
0101 lantiq,groups = <0x3>;
0102 };
0103
0104 pci@e105400 {
0105 lantiq,bus-clock = <33333333>;
0106 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
0107 interrupt-map = <
0108 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
0109 >;
0110 gpios-reset = <&gpio 21 0>;
0111 req-mask = <0x1>; /* GNT1 */
0112 };
0113
0114 };
0115 };