3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/phy/phy-lantiq-vrx200-pcie.h>
9 compatible = "lantiq,xway", "lantiq,vr9";
16 stdout-path = "serial0:115200n8";
24 compatible = "mips,mips34Kc";
30 compatible = "lantiq,cputemp";
34 compatible = "syscon-reboot";
44 compatible = "lantiq,biu", "simple-bus";
45 reg = <0x1f800000 0x800000>;
46 ranges = <0x0 0x1f800000 0x7fffff>;
49 #interrupt-cells = <1>;
51 compatible = "lantiq,icu";
52 reg = <0x80200 0xc8 /* icu0 */
53 0x80300 0xc8>; /* icu1 */
57 compatible = "lantiq,xrx100-wdt", "lantiq,xrx100-wdt";
67 compatible = "lantiq,sram", "simple-bus";
68 reg = <0x1f000000 0x800000>;
69 ranges = <0x0 0x1f000000 0x7fffff>;
72 #interrupt-cells = <1>;
74 compatible = "lantiq,eiu-xway";
75 reg = <0x101000 0x1000>;
76 interrupt-parent = <&icu0>;
77 lantiq,eiu-irqs = <166 135 66 40 41 42>;
81 compatible = "lantiq,pmu-xway";
82 reg = <0x102000 0x1000>;
86 compatible = "lantiq,cgu-xway";
87 reg = <0x103000 0x1000>;
91 compatible = "lantiq,dcdc-xrx200";
92 reg = <0x106a00 0x200>;
97 compatible = "lantiq,vmmc-xway";
98 reg = <0x107000 0x300>;
99 interrupt-parent = <&icu0>;
100 interrupts = <150 151 152 153 154 155>;
103 pcie0_phy: phy@106800 {
104 compatible = "lantiq,vrx200-pcie-phy";
105 reg = <0x106800 0x100>;
106 lantiq,rcu = <&rcu0>;
107 lantiq,rcu-endian-offset = <0x4c>;
108 lantiq,rcu-big-endian-mask = <0x80>; /* bit 7 */
110 resets = <&reset0 12 24>, <&reset0 22 22>;
111 reset-names = "phy", "pcie";
116 #address-cells = <1>;
118 compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
119 reg = <0x203000 0x100>;
120 ranges = <0x0 0x203000 0x100>;
124 compatible = "lantiq,xrx200-gphy";
127 resets = <&reset0 31 30>, <&reset1 7 7>;
128 reset-names = "gphy", "gphy2";
132 compatible = "lantiq,xrx200-gphy";
135 resets = <&reset0 29 28>, <&reset1 6 6>;
136 reset-names = "gphy", "gphy2";
139 reset0: reset-controller@10 {
140 compatible = "lantiq,xrx200-reset";
141 reg = <0x10 4>, <0x14 4>;
146 reset1: reset-controller@48 {
147 compatible = "lantiq,xrx200-reset";
148 reg = <0x48 4>, <0x24 4>;
153 usb_phy0: usb2-phy@18 {
154 compatible = "lantiq,xrx200-usb2-phy";
155 reg = <0x18 4>, <0x38 4>;
158 resets = <&reset1 4 4>, <&reset0 4 4>;
159 reset-names = "phy", "ctrl";
163 usb_phy1: usb2-phy@34 {
164 compatible = "lantiq,xrx200-usb2-phy";
165 reg = <0x34 4>, <0x3c 4>;
168 resets = <&reset1 5 5>, <&reset0 4 4>;
169 reset-names = "phy", "ctrl";
176 compatible = "lantiq,xrx200-fpi", "simple-bus";
177 ranges = <0x0 0x10000000 0xf000000>;
178 reg = <0x1f400000 0x1000>,
179 <0x10000000 0xf000000>;
181 offset-endianness = <0x4c>;
182 #address-cells = <1>;
185 localbus: localbus@0 {
186 #address-cells = <2>;
188 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
189 1 0 0x4000000 0x4000010>; /* addsel1 */
190 compatible = "lantiq,localbus", "simple-bus";
194 compatible = "lantiq,gptu-xway";
195 reg = <0xe100a00 0x100>;
196 interrupt-parent = <&icu0>;
197 interrupts = <126 127 128 129 130 131>;
201 compatible = "lantiq,usif";
202 reg = <0xda00000 0x1000000>;
203 interrupt-parent = <&icu0>;
204 interrupts = <29 125 107 108 109 110>;
209 compatible = "lantiq,xrx200-spi", "lantiq,xrx100-spi";
210 reg = <0xe100800 0x100>;
211 interrupt-parent = <&icu0>;
212 interrupts = <22 23 24>;
213 interrupt-names = "spi_rx", "spi_tx", "spi_err",
215 #address-cells = <1>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&spi_pins>, <&spi_cs4_pins>;
222 gpio: pinmux@e100b10 {
223 compatible = "lantiq,xrx200-pinctrl";
226 gpio-ranges = <&gpio 0 0 50>;
227 reg = <0xe100b10 0xa0>;
229 gphy0_led0_pins: gphy0-led0 {
231 lantiq,groups = "gphy0 led0";
232 lantiq,function = "gphy";
233 lantiq,open-drain = <0>;
239 gphy0_led1_pins: gphy0-led1 {
241 lantiq,groups = "gphy0 led1";
242 lantiq,function = "gphy";
243 lantiq,open-drain = <0>;
249 gphy0_led2_pins: gphy0-led2 {
251 lantiq,groups = "gphy0 led2";
252 lantiq,function = "gphy";
253 lantiq,open-drain = <0>;
259 gphy1_led0_pins: gphy1-led0 {
261 lantiq,groups = "gphy1 led0";
262 lantiq,function = "gphy";
263 lantiq,open-drain = <0>;
269 gphy1_led1_pins: gphy1-led1 {
271 lantiq,groups = "gphy1 led1";
272 lantiq,function = "gphy";
273 lantiq,open-drain = <0>;
279 gphy1_led2_pins: gphy1-led2 {
281 lantiq,groups = "gphy1 led2";
282 lantiq,function = "gphy";
283 lantiq,open-drain = <0>;
291 lantiq,groups = "mdio";
292 lantiq,function = "mdio";
298 lantiq,groups = "nand cle", "nand ale",
300 lantiq,function = "ebu";
302 lantiq,open-drain = <0>;
306 lantiq,groups = "nand rdy";
307 lantiq,function = "ebu";
313 nand_cs1_pins: nand-cs1 {
315 lantiq,groups = "nand cs1";
316 lantiq,function = "ebu";
317 lantiq,open-drain = <0>;
322 pci_gnt1_pins: pci-gnt1 {
324 lantiq,groups = "gnt1";
325 lantiq,function = "pci";
327 lantiq,open-drain = <0>;
332 pci_req1_pins: pci-req1 {
334 lantiq,groups = "req1";
335 lantiq,function = "pci";
337 lantiq,open-drain = <1>;
344 lantiq,groups = "spi_di";
345 lantiq,function = "spi";
348 lantiq,groups = "spi_do", "spi_clk";
349 lantiq,function = "spi";
354 spi_cs4_pins: spi-cs4 {
356 lantiq,groups = "spi_cs4";
357 lantiq,function = "spi";
364 lantiq,groups = "stp";
365 lantiq,function = "stp";
367 lantiq,open-drain = <0>;
375 compatible = "lantiq,gpio-stp-xway";
376 reg = <0xe100bb0 0x40>;
380 pinctrl-0 = <&stp_pins>;
381 pinctrl-names = "default";
383 lantiq,shadow = <0xffffff>;
384 lantiq,groups = <0x7>;
390 asc1: serial@e100c00 {
391 compatible = "lantiq,asc";
392 reg = <0xe100c00 0x400>;
393 interrupt-parent = <&icu0>;
394 interrupts = <112 113 114>;
398 compatible = "lantiq,deu-xrx200";
399 reg = <0xe103100 0xf00>;
403 compatible = "lantiq,dma-xway";
404 reg = <0xe104100 0x800>;
408 compatible = "lantiq,ebu-xway";
409 reg = <0xe105300 0x100>;
413 #address-cells = <1>;
416 compatible = "lantiq,xrx200-usb";
417 reg = <0xe101000 0x1000
419 interrupt-parent = <&icu0>;
420 interrupts = <62 91>;
423 phy-names = "usb2-phy";
427 #trigger-source-cells = <0>;
432 #address-cells = <1>;
435 compatible = "lantiq,xrx200-usb";
436 reg = <0xe106000 0x1000>;
437 interrupt-parent = <&icu0>;
441 phy-names = "usb2-phy";
445 #trigger-source-cells = <0>;
450 #address-cells = <1>;
452 compatible = "lantiq,xrx200-net";
453 reg = < 0xe108000 0x3000 /* switch */
454 0xe10b100 0x70 /* mdio */
455 0xe10b1d8 0x30 /* mii */
456 0xe10b308 0x30 /* pmac */
458 interrupt-parent = <&icu0>;
459 interrupts = <75 73 72>;
460 resets = <&reset0 21 16>, <&reset0 8 8>;
461 reset-names = "switch", "ppe";
462 lantiq,phys = <&gphy0>, <&gphy1>;
463 pinctrl-0 = <&mdio_pins>;
464 pinctrl-names = "default";
468 compatible = "lantiq,mei-xrx200";
469 reg = <0xe116000 0x9c>;
470 interrupt-parent = <&icu0>;
475 compatible = "lantiq,ppe-xrx200";
476 reg = <0xe234000 0x3ffd>;
477 interrupt-parent = <&icu0>;
479 resets = <&reset0 3 3>, <&reset0 11 11>, <&reset0 23 23>;
480 reset-names = "dsp", "dfe", "tc";
483 pcie0: pcie@d900000 {
484 compatible = "lantiq,pcie-xrx200";
486 #interrupt-cells = <1>;
488 #address-cells = <3>;
490 reg = <0xd900000 0x1000>;
492 interrupt-parent = <&icu0>;
493 interrupts = <161 144>;
495 phys = <&pcie0_phy LANTIQ_PCIE_PHY_MODE_36MHZ>;
498 resets = <&reset0 22 22>;
500 lantiq,rcu = <&rcu0>;
504 gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;
510 #address-cells = <3>;
512 #interrupt-cells = <1>;
513 compatible = "lantiq,pci-xway";
514 bus-range = <0x0 0x0>;
515 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
516 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
517 reg = <0x7000000 0x8000 /* config space */
518 0xe105400 0x400>; /* pci bridge */
519 lantiq,bus-clock = <33333333>;
520 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
521 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
522 req-mask = <0x1>; /* GNT1 */
527 compatible = "lantiq,vdsl-vrx200";