lantiq: cleanup dts files
[openwrt/openwrt.git] / target / linux / lantiq / dts / vr9.dtsi
index 542020ae611fd0958ab78d00161479fd73f7800e..5478e1a9df73df1960f961f9c8cd13043913ac85 100644 (file)
@@ -1,3 +1,6 @@
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
 / {
        #address-cells = <1>;
        #size-cells = <1>;
                device_type = "memory";
        };
 
+       cputemp@0 {
+               compatible = "lantiq,cputemp";
+       };
+
        biu@1F800000 {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -50,7 +57,7 @@
                        compatible = "lantiq,eiu-xway";
                        reg = <0x101000 0x1000>;
                        interrupt-parent = <&icu0>;
-                       interrupts = <166 135 66 40 41 42>;
+                       lantiq,eiu-irqs = <166 135 66 40 41 42>;
                };
 
                pmu0: pmu@102000 {
                        reg = <0x106a00 0x200>;
                };
 
+               vmmc@107000 {
+                       status = "disabled";
+                       compatible = "lantiq,vmmc-xway";
+                       reg = <0x103000 0x400>;
+                       interrupt-parent = <&icu0>;
+                       interrupts = <150 151 152 153 154 155>;
+               };
+
                rcu0: rcu@203000 {
                        compatible = "lantiq,rcu-xrx200";
                        reg = <0x203000 0x1000>;
                        interrupt-parent = <&icu0>;
                        interrupts = <115>;
                };
+
+               xbar0: xbar@400000 {
+                       compatible = "lantiq,xbar-xway";
+                       reg = <0x400000 0x1000>;
+               };
        };
 
        fpi@10000000 {
                        compatible = "lantiq,gptu-xway";
                        reg = <0xE100A00 0x100>;
                        interrupt-parent = <&icu0>;
-                        interrupts = <126 127 128 129 130 131>;
+                       interrupts = <126 127 128 129 130 131>;
                };
 
                asc0: serial@E100400 {
                        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 = <75 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 GPIO_ACTIVE_HIGH>;
                };
 
                pci0: pci@E105400 {
+                       status = "disabled";
+
                        #address-cells = <3>;
                        #size-cells = <2>;
                        #interrupt-cells = <1>;
                                0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
                        reg = <0x7000000 0x8000         /* config space */
                                0xE105400 0x400>;       /* pci bridge */
-                       status = "disabled";
+                       lantiq,bus-clock = <33333333>;
+                       interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
+                       interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
+                       req-mask = <0x1>; /* GNT1 */
                };
-
        };
 
        vdsl {