lantiq: Move the definition of the xrx200-net node to vr9.dtsi
[openwrt/openwrt.git] / target / linux / lantiq / dts / vr9.dtsi
index 061395e588a051392f1ade618f5589ba228695cb..aa34a5f3e7a567104bd198eaf1aa2895a167b1d8 100644 (file)
@@ -9,6 +9,10 @@
                };
        };
 
+       memory@0 {
+               device_type = "memory";
+       };
+
        biu@1F800000 {
                #address-cells = <1>;
                #size-cells = <1>;
                        interrupt-parent = <&icu0>;
                        interrupts = <115>;
                };
+
+               xbar0: xbar@400000 {
+                       compatible = "lantiq,xbar-xway";
+                       reg = <0x400000 0x1000>;
+               };
        };
 
        fpi@10000000 {
                        status = "disabled";
                };
 
+               spi: spi@E100800 {
+                       compatible = "lantiq,xrx200-spi";
+                       reg = <0xE100800 0x100>;
+                       interrupt-parent = <&icu0>;
+                       interrupts = <22 23 24>;
+                       interrupt-names = "spi_rx", "spi_tx", "spi_err",
+                                       "spi_frm";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       status = "disabled";
+               };
+
                gpio: pinmux@E100B10 {
-                       compatible = "lantiq,pinctrl-xr9";
+                       compatible = "lantiq,xrx200-pinctrl";
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xE100B10 0xA0>;
 
                ifxhcd@E101000 {
                        status = "disabled";
-                       compatible = "lantiq,ifxhcd-xrx200";
+                       compatible = "lantiq,ifxhcd-xrx200", "lantiq,ifxhcd-xrx200-dwc2";
                        reg = <0xE101000 0x1000
                                0xE120000 0x3f000>;
                        interrupt-parent = <&icu0>;
                        interrupts = <62 91>;
                };
 
+               ifxhcd@E106000 {
+                       status = "disabled";
+                       compatible = "lantiq,ifxhcd-xrx200-dwc2";
+                       reg = <0xE106000 0x1000>;
+                       interrupt-parent = <&icu0>;
+                       interrupts = <91>;
+               };
+
+               eth0: eth@E108000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "lantiq,xrx200-net";
+                       reg = < 0xE108000 0x3000 /* switch */
+                               0xE10B100 0x70 /* mdio */
+                               0xE10B1D8 0x30 /* mii */
+                               0xE10B308 0x30 /* pmac */
+                       >;
+                       interrupt-parent = <&icu0>;
+                       interrupts = <73 72>;
+               };
+
                mei@E116000 {
                        compatible = "lantiq,mei-xrx200";
+                       reg = <0xE116000 0x9c>;
                        interrupt-parent = <&icu0>;
                        interrupts = <63>;
                };
                        interrupt-parent = <&icu0>;
                        interrupts = <161 144>;
                        compatible = "lantiq,pcie-xrx200";
+                       gpio-reset = <&gpio 38 0>;
                };
 
                pci0: pci@E105400 {
                                0xE105400 0x400>;       /* pci bridge */
                        status = "disabled";
                };
-
        };
 
        vdsl {