1e1ce61f734ccdc4e8a798e5b67756959242339f
[openwrt/openwrt.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / danube.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,danube";
7
8 aliases {
9 serial0 = &asc1;
10 };
11
12 chosen {
13 stdout-path = "serial0:115200n8";
14 };
15
16 cpus {
17 cpu@0 {
18 compatible = "mips,mips24Kc";
19 };
20 };
21
22 memory@0 {
23 device_type = "memory";
24 };
25
26 biu@1f800000 {
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "lantiq,biu", "simple-bus";
30 reg = <0x1f800000 0x800000>;
31 ranges = <0x0 0x1f800000 0x7fffff>;
32
33 icu0: icu@80200 {
34 #interrupt-cells = <1>;
35 interrupt-controller;
36 compatible = "lantiq,icu";
37 reg = <0x80200 0x28
38 0x80228 0x28
39 0x80250 0x28
40 0x80278 0x28
41 0x802a0 0x28>;
42 };
43
44 watchdog@803f0 {
45 compatible = "lantiq,wdt";
46 reg = <0x803f0 0x10>;
47 };
48 };
49
50 sram@1f000000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 compatible = "lantiq,sram", "simple-bus";
54 reg = <0x1f000000 0x800000>;
55 ranges = <0x0 0x1f000000 0x7fffff>;
56
57 eiu0: eiu@101000 {
58 #interrupt-cells = <1>;
59 interrupt-controller;
60 compatible = "lantiq,eiu-xway";
61 reg = <0x101000 0x1000>;
62 interrupt-parent = <&icu0>;
63 lantiq,eiu-irqs = <166 135 66>;
64 };
65
66 pmu0: pmu@102000 {
67 compatible = "lantiq,pmu-xway";
68 reg = <0x102000 0x1000>;
69 };
70
71 cgu0: cgu@103000 {
72 compatible = "lantiq,cgu-xway";
73 reg = <0x103000 0x1000>;
74 #clock-cells = <1>;
75 };
76
77 vmmc: vmmc@107000 {
78 status = "disabled";
79 compatible = "lantiq,vmmc-xway";
80 reg = <0x103000 0x400>;
81 interrupt-parent = <&icu0>;
82 interrupts = <150 151 152 153 154 155>;
83 };
84
85 rcu0: rcu@203000 {
86 compatible = "lantiq,rcu-xway";
87 reg = <0x203000 0x1000>;
88 };
89 };
90
91 fpi@10000000 {
92 #address-cells = <1>;
93 #size-cells = <1>;
94 compatible = "lantiq,fpi", "simple-bus";
95 ranges = <0x0 0x10000000 0xeefffff>;
96 reg = <0x10000000 0xef00000>;
97
98 localbus: localbus@0 {
99 #address-cells = <2>;
100 #size-cells = <1>;
101 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
102 1 0 0x4000000 0x4000010>; /* addsel1 */
103 compatible = "lantiq,localbus", "simple-bus";
104
105 gpiomm: gpiomm@1 {
106 compatible = "lantiq,gpio-mm";
107 reg = <1 0x0 0x10 >;
108 #address-cells = <1>;
109 #size-cells = <1>;
110 #gpio-cells = <2>;
111 gpio-controller;
112 status = "disabled";
113 };
114 };
115
116 gptu@e100a00 {
117 compatible = "lantiq,gptu-xway";
118 reg = <0xe100a00 0x100>;
119 interrupt-parent = <&icu0>;
120 interrupts = <126 127 128 129 130 131>;
121 };
122
123 gpios: stp@e100bb0 {
124 #gpio-cells = <2>;
125 compatible = "lantiq,gpio-stp-xway";
126 gpio-controller;
127 reg = <0xe100bb0 0x40>;
128 lantiq,shadow = <0xfff>;
129 lantiq,groups = <0x3>;
130 status = "disabled";
131 };
132
133 asc0: serial@e100400 {
134 compatible = "lantiq,asc";
135 reg = <0xe100400 0x400>;
136 interrupt-parent = <&icu0>;
137 interrupts = <104 105 106>;
138 status = "disabled";
139 };
140
141 gpio: pinmux@e100b10 {
142 compatible = "lantiq,danube-pinctrl";
143 #gpio-cells = <2>;
144 gpio-controller;
145 reg = <0xe100b10 0xa0>;
146 };
147
148 asc1: serial@e100c00 {
149 compatible = "lantiq,asc";
150 reg = <0xe100c00 0x400>;
151 interrupt-parent = <&icu0>;
152 interrupts = <112 113 114>;
153 };
154
155 usb: ifxhcd@e101000 {
156 compatible = "lantiq,danube-usb", "lantiq,ifxhcd-danube";
157 reg = <0xe101000 0x1000
158 0xe120000 0x3f000>;
159 interrupt-parent = <&icu0>;
160 interrupts = <62>;
161 dr_mode = "host";
162 status = "disabled";
163 };
164
165 deu@e103100 {
166 compatible = "lantiq,deu-danube";
167 reg = <0xe103100 0xf00>;
168 };
169
170 dma0: dma@e104100 {
171 compatible = "lantiq,dma-xway";
172 reg = <0xe104100 0x800>;
173 };
174
175 ebu0: ebu@e105300 {
176 compatible = "lantiq,ebu-xway";
177 reg = <0xe105300 0x100>;
178 };
179
180 mei@e116000 {
181 compatible = "lantiq,mei-xway";
182 interrupt-parent = <&icu0>;
183 interrupts = <63>;
184 };
185
186 gsw: etop@e180000 {
187 compatible = "lantiq,etop-xway";
188 reg = <0xe180000 0x40000>;
189 interrupt-parent = <&icu0>;
190 interrupts = <73 78>;
191 mac-address = [ 00 11 22 33 44 55 ];
192 };
193
194 ppe@e234000 {
195 compatible = "lantiq,ppe-danube";
196 interrupt-parent = <&icu0>;
197 interrupts = <96>;
198 };
199
200 pci0: pci@e105400 {
201 status = "disabled";
202
203 #address-cells = <3>;
204 #size-cells = <2>;
205 #interrupt-cells = <1>;
206 compatible = "lantiq,pci-xway";
207 bus-range = <0x0 0x0>;
208 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
209 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
210 reg = <0x7000000 0x8000 /* config space */
211 0xe105400 0x400>; /* pci bridge */
212 lantiq,bus-clock = <33333333>;
213 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
214 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
215 req-mask = <0x1>; /* GNT1 */
216 };
217 };
218
219 adsl {
220 compatible = "lantiq,adsl-danube";
221 };
222 };