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 reg = <0xe100b10 0xa0>;
228 gphy0_led0_pins: gphy0-led0 {
230 lantiq,groups = "gphy0 led0";
231 lantiq,function = "gphy";
232 lantiq,open-drain = <0>;
238 gphy0_led1_pins: gphy0-led1 {
240 lantiq,groups = "gphy0 led1";
241 lantiq,function = "gphy";
242 lantiq,open-drain = <0>;
248 gphy0_led2_pins: gphy0-led2 {
250 lantiq,groups = "gphy0 led2";
251 lantiq,function = "gphy";
252 lantiq,open-drain = <0>;
258 gphy1_led0_pins: gphy1-led0 {
260 lantiq,groups = "gphy1 led0";
261 lantiq,function = "gphy";
262 lantiq,open-drain = <0>;
268 gphy1_led1_pins: gphy1-led1 {
270 lantiq,groups = "gphy1 led1";
271 lantiq,function = "gphy";
272 lantiq,open-drain = <0>;
278 gphy1_led2_pins: gphy1-led2 {
280 lantiq,groups = "gphy1 led2";
281 lantiq,function = "gphy";
282 lantiq,open-drain = <0>;
290 lantiq,groups = "mdio";
291 lantiq,function = "mdio";
297 lantiq,groups = "nand cle", "nand ale",
299 lantiq,function = "ebu";
301 lantiq,open-drain = <0>;
305 lantiq,groups = "nand rdy";
306 lantiq,function = "ebu";
312 nand_cs1_pins: nand-cs1 {
314 lantiq,groups = "nand cs1";
315 lantiq,function = "ebu";
316 lantiq,open-drain = <0>;
321 pci_gnt1_pins: pci-gnt1 {
323 lantiq,groups = "gnt1";
324 lantiq,function = "pci";
326 lantiq,open-drain = <0>;
331 pci_req1_pins: pci-req1 {
333 lantiq,groups = "req1";
334 lantiq,function = "pci";
336 lantiq,open-drain = <1>;
343 lantiq,groups = "spi_di";
344 lantiq,function = "spi";
347 lantiq,groups = "spi_do", "spi_clk";
348 lantiq,function = "spi";
353 spi_cs4_pins: spi-cs4 {
355 lantiq,groups = "spi_cs4";
356 lantiq,function = "spi";
363 lantiq,groups = "stp";
364 lantiq,function = "stp";
366 lantiq,open-drain = <0>;
374 compatible = "lantiq,gpio-stp-xway";
375 reg = <0xe100bb0 0x40>;
379 pinctrl-0 = <&stp_pins>;
380 pinctrl-names = "default";
382 lantiq,shadow = <0xffffff>;
383 lantiq,groups = <0x7>;
389 asc1: serial@e100c00 {
390 compatible = "lantiq,asc";
391 reg = <0xe100c00 0x400>;
392 interrupt-parent = <&icu0>;
393 interrupts = <112 113 114>;
397 compatible = "lantiq,deu-xrx200";
398 reg = <0xe103100 0xf00>;
402 compatible = "lantiq,dma-xway";
403 reg = <0xe104100 0x800>;
407 compatible = "lantiq,ebu-xway";
408 reg = <0xe105300 0x100>;
413 compatible = "lantiq,xrx200-usb";
414 reg = <0xe101000 0x1000
416 interrupt-parent = <&icu0>;
417 interrupts = <62 91>;
420 phy-names = "usb2-phy";
425 compatible = "lantiq,xrx200-usb";
426 reg = <0xe106000 0x1000>;
427 interrupt-parent = <&icu0>;
431 phy-names = "usb2-phy";
435 #address-cells = <1>;
437 compatible = "lantiq,xrx200-net";
438 reg = < 0xe108000 0x3000 /* switch */
439 0xe10b100 0x70 /* mdio */
440 0xe10b1d8 0x30 /* mii */
441 0xe10b308 0x30 /* pmac */
443 interrupt-parent = <&icu0>;
444 interrupts = <75 73 72>;
445 resets = <&reset0 21 16>, <&reset0 8 8>;
446 reset-names = "switch", "ppe";
447 lantiq,phys = <&gphy0>, <&gphy1>;
448 pinctrl-0 = <&mdio_pins>;
449 pinctrl-names = "default";
453 compatible = "lantiq,mei-xrx200";
454 reg = <0xe116000 0x9c>;
455 interrupt-parent = <&icu0>;
460 compatible = "lantiq,ppe-xrx200";
461 reg = <0xe234000 0x3ffd>;
462 interrupt-parent = <&icu0>;
464 resets = <&reset0 3 3>, <&reset0 11 11>, <&reset0 23 23>;
465 reset-names = "dsp", "dfe", "tc";
468 pcie0: pcie@d900000 {
469 compatible = "lantiq,pcie-xrx200";
471 #interrupt-cells = <1>;
473 #address-cells = <3>;
475 reg = <0xd900000 0x1000>;
477 interrupt-parent = <&icu0>;
478 interrupts = <161 144>;
480 phys = <&pcie0_phy LANTIQ_PCIE_PHY_MODE_36MHZ>;
483 resets = <&reset0 22 22>;
485 lantiq,rcu = <&rcu0>;
489 gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;
495 #address-cells = <3>;
497 #interrupt-cells = <1>;
498 compatible = "lantiq,pci-xway";
499 bus-range = <0x0 0x0>;
500 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
501 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
502 reg = <0x7000000 0x8000 /* config space */
503 0xe105400 0x400>; /* pci bridge */
504 lantiq,bus-clock = <33333333>;
505 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
506 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
507 req-mask = <0x1>; /* GNT1 */
512 compatible = "lantiq,vdsl-vrx200";