lantiq: dts: drop superfluous unit address
[openwrt/staging/stintel.git] / target / linux / lantiq / files / arch / mips / boot / dts / vr9.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,vr9";
7
8 aliases {
9 serial0 = &asc1;
10 };
11
12 chosen {
13 stdout-path = "serial0:115200n8";
14 };
15
16 cpus {
17 #address-cells = <1>;
18 #size-cells = <0>;
19
20 cpu@0 {
21 compatible = "mips,mips34Kc";
22 reg = <0>;
23 };
24 };
25
26 cputemp {
27 compatible = "lantiq,cputemp";
28 };
29
30 reboot {
31 compatible = "syscon-reboot";
32
33 regmap = <&rcu0>;
34 offset = <0x10>;
35 mask = <0xe0000000>;
36 };
37
38 biu@1f800000 {
39 #address-cells = <1>;
40 #size-cells = <1>;
41 compatible = "lantiq,biu", "simple-bus";
42 reg = <0x1f800000 0x800000>;
43 ranges = <0x0 0x1f800000 0x7fffff>;
44
45 icu0: icu@80200 {
46 #interrupt-cells = <1>;
47 interrupt-controller;
48 compatible = "lantiq,icu";
49 reg = <0x80200 0x28
50 0x80228 0x28
51 0x80250 0x28
52 0x80278 0x28
53 0x802a0 0x28>;
54 };
55
56 watchdog@803f0 {
57 compatible = "lantiq,xrx100-wdt", "lantiq,xrx100-wdt";
58 reg = <0x803f0 0x10>;
59
60 regmap = <&rcu0>;
61 };
62 };
63
64 sram@1f000000 {
65 #address-cells = <1>;
66 #size-cells = <1>;
67 compatible = "lantiq,sram", "simple-bus";
68 reg = <0x1f000000 0x800000>;
69 ranges = <0x0 0x1f000000 0x7fffff>;
70
71 eiu0: eiu@101000 {
72 #interrupt-cells = <1>;
73 interrupt-controller;
74 compatible = "lantiq,eiu-xway";
75 reg = <0x101000 0x1000>;
76 interrupt-parent = <&icu0>;
77 lantiq,eiu-irqs = <166 135 66 40 41 42>;
78 };
79
80 pmu0: pmu@102000 {
81 compatible = "lantiq,pmu-xway";
82 reg = <0x102000 0x1000>;
83 };
84
85 cgu0: cgu@103000 {
86 compatible = "lantiq,cgu-xway";
87 reg = <0x103000 0x1000>;
88 };
89
90 dcdc@106a00 {
91 compatible = "lantiq,dcdc-xrx200";
92 reg = <0x106a00 0x200>;
93 };
94
95 vmmc: vmmc@103000 {
96 status = "disabled";
97 compatible = "lantiq,vmmc-xway";
98 reg = <0x103000 0x400>;
99 interrupt-parent = <&icu0>;
100 interrupts = <150 151 152 153 154 155>;
101 };
102
103 rcu0: rcu@203000 {
104 compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
105 reg = <0x203000 0x100>;
106 ranges = <0x0 0x203000 0x100>;
107 big-endian;
108
109 gphy0: gphy@20 {
110 compatible = "lantiq,xrx200-gphy";
111 reg = <0x20 0x4>;
112
113 resets = <&reset0 31 30>, <&reset1 7 7>;
114 reset-names = "gphy", "gphy2";
115 };
116
117 gphy1: gphy@68 {
118 compatible = "lantiq,xrx200-gphy";
119 reg = <0x68 0x4>;
120
121 resets = <&reset0 29 28>, <&reset1 6 6>;
122 reset-names = "gphy", "gphy2";
123 };
124
125 reset0: reset-controller@10 {
126 compatible = "lantiq,xrx200-reset";
127 reg = <0x10 4>, <0x14 4>;
128
129 #reset-cells = <2>;
130 };
131
132 reset1: reset-controller@48 {
133 compatible = "lantiq,xrx200-reset";
134 reg = <0x48 4>, <0x24 4>;
135
136 #reset-cells = <2>;
137 };
138
139 usb_phy0: usb2-phy@18 {
140 compatible = "lantiq,xrx200-usb2-phy";
141 reg = <0x18 4>, <0x38 4>;
142 status = "disabled";
143
144 resets = <&reset1 4 4>, <&reset0 4 4>;
145 reset-names = "phy", "ctrl";
146 #phy-cells = <0>;
147 };
148
149 usb_phy1: usb2-phy@34 {
150 compatible = "lantiq,xrx200-usb2-phy";
151 reg = <0x34 4>, <0x3c 4>;
152 status = "disabled";
153
154 resets = <&reset1 5 5>, <&reset0 4 4>;
155 reset-names = "phy", "ctrl";
156 #phy-cells = <0>;
157 };
158 };
159 };
160
161 fpi@10000000 {
162 compatible = "lantiq,xrx200-fpi", "simple-bus";
163 ranges = <0x0 0x10000000 0xf000000>;
164 reg = <0x1f400000 0x1000>,
165 <0x10000000 0xf000000>;
166 regmap = <&rcu0>;
167 offset-endianness = <0x4c>;
168 #address-cells = <1>;
169 #size-cells = <1>;
170
171 localbus: localbus@0 {
172 #address-cells = <2>;
173 #size-cells = <1>;
174 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
175 1 0 0x4000000 0x4000010>; /* addsel1 */
176 compatible = "lantiq,localbus", "simple-bus";
177 };
178
179 gptu@e100a00 {
180 compatible = "lantiq,gptu-xway";
181 reg = <0xe100a00 0x100>;
182 interrupt-parent = <&icu0>;
183 interrupts = <126 127 128 129 130 131>;
184 };
185
186 usif: usif@da00000 {
187 compatible = "lantiq,usif";
188 reg = <0xda00000 0x1000000>;
189 interrupt-parent = <&icu0>;
190 interrupts = <29 125 107 108 109 110>;
191 status = "disabled";
192 };
193
194 spi: spi@e100800 {
195 compatible = "lantiq,xrx200-spi", "lantiq,xrx100-spi";
196 reg = <0xe100800 0x100>;
197 interrupt-parent = <&icu0>;
198 interrupts = <22 23 24>;
199 interrupt-names = "spi_rx", "spi_tx", "spi_err",
200 "spi_frm";
201 #address-cells = <1>;
202 #size-cells = <1>;
203 status = "disabled";
204 };
205
206 gpio: pinmux@e100b10 {
207 compatible = "lantiq,xrx200-pinctrl";
208 #gpio-cells = <2>;
209 gpio-controller;
210 reg = <0xe100b10 0xa0>;
211 };
212
213 stp: stp@e100bb0 {
214 status = "disabled";
215 compatible = "lantiq,gpio-stp-xway";
216 reg = <0xe100bb0 0x40>;
217 #gpio-cells = <2>;
218 gpio-controller;
219
220 lantiq,shadow = <0xffffff>;
221 lantiq,groups = <0x7>;
222 lantiq,dsl = <0x0>;
223 lantiq,phy1 = <0x0>;
224 lantiq,phy2 = <0x0>;
225 };
226
227 asc1: serial@e100c00 {
228 compatible = "lantiq,asc";
229 reg = <0xe100c00 0x400>;
230 interrupt-parent = <&icu0>;
231 interrupts = <112 113 114>;
232 };
233
234 deu@e103100 {
235 compatible = "lantiq,deu-xrx200";
236 reg = <0xe103100 0xf00>;
237 };
238
239 dma0: dma@e104100 {
240 compatible = "lantiq,dma-xway";
241 reg = <0xe104100 0x800>;
242 };
243
244 ebu0: ebu@e105300 {
245 compatible = "lantiq,ebu-xway";
246 reg = <0xe105300 0x100>;
247 };
248
249 usb0: usb@e101000 {
250 status = "disabled";
251 compatible = "lantiq,xrx200-usb";
252 reg = <0xe101000 0x1000
253 0xe120000 0x3f000>;
254 interrupt-parent = <&icu0>;
255 interrupts = <62 91>;
256 dr_mode = "host";
257 phys = <&usb_phy0>;
258 phy-names = "usb2-phy";
259 };
260
261 usb1: usb@e106000 {
262 status = "disabled";
263 compatible = "lantiq,xrx200-usb";
264 reg = <0xe106000 0x1000>;
265 interrupt-parent = <&icu0>;
266 interrupts = <91>;
267 dr_mode = "host";
268 phys = <&usb_phy1>;
269 phy-names = "usb2-phy";
270 };
271
272 eth0: eth@e108000 {
273 #address-cells = <1>;
274 #size-cells = <0>;
275 compatible = "lantiq,xrx200-net";
276 reg = < 0xe108000 0x3000 /* switch */
277 0xe10b100 0x70 /* mdio */
278 0xe10b1d8 0x30 /* mii */
279 0xe10b308 0x30 /* pmac */
280 >;
281 interrupt-parent = <&icu0>;
282 interrupts = <75 73 72>;
283 resets = <&reset0 21 16>, <&reset0 8 8>;
284 reset-names = "switch", "ppe";
285 lantiq,phys = <&gphy0>, <&gphy1>;
286 };
287
288 mei@e116000 {
289 compatible = "lantiq,mei-xrx200";
290 reg = <0xe116000 0x9c>;
291 interrupt-parent = <&icu0>;
292 interrupts = <63>;
293 };
294
295 ppe@e234000 {
296 compatible = "lantiq,ppe-xrx200";
297 reg = <0xe234000 0x3ffd>;
298 interrupt-parent = <&icu0>;
299 interrupts = <96>;
300 resets = <&reset0 3 3>, <&reset0 11 11>, <&reset0 23 23>;
301 reset-names = "dsp", "dfe", "tc";
302 };
303
304 pcie0: pcie@d900000 {
305 compatible = "lantiq,pcie-xrx200";
306
307 #interrupt-cells = <1>;
308 #size-cells = <2>;
309 #address-cells = <3>;
310
311 reg = <0xd900000 0x1000>;
312
313 interrupt-parent = <&icu0>;
314 interrupts = <161 144>;
315
316 device_type = "pci";
317
318 gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;
319 };
320
321 pci0: pci@e105400 {
322 status = "disabled";
323
324 #address-cells = <3>;
325 #size-cells = <2>;
326 #interrupt-cells = <1>;
327 compatible = "lantiq,pci-xway";
328 bus-range = <0x0 0x0>;
329 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
330 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
331 reg = <0x7000000 0x8000 /* config space */
332 0xe105400 0x400>; /* pci bridge */
333 lantiq,bus-clock = <33333333>;
334 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
335 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
336 req-mask = <0x1>; /* GNT1 */
337 };
338 };
339
340 vdsl {
341 compatible = "lantiq,vdsl-vrx200";
342 };
343 };