lantiq: dts: fix vmmc unit and register address
[openwrt/staging/blogic.git] / target / linux / lantiq / files / arch / mips / boot / dts / vr9.dtsi
index 7fd4643171d7eb4a0b8ecd244a5675865c2a72e0..e8b87dbcc7de2fb928a4e602f1a650030d2f7c35 100644 (file)
        };
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips34Kc";
+                       reg = <0>;
                };
        };
 
-       cputemp@0 {
+       cputemp {
                compatible = "lantiq,cputemp";
        };
 
+       reboot {
+               compatible = "syscon-reboot";
+
+               regmap = <&rcu0>;
+               offset = <0x10>;
+               mask = <0xe0000000>;
+       };
+
        biu@1f800000 {
                #address-cells = <1>;
                #size-cells = <1>;
                        reg = <0x106a00 0x200>;
                };
 
-               vmmc: vmmc@103000 {
+               vmmc: vmmc@107000 {
                        status = "disabled";
                        compatible = "lantiq,vmmc-xway";
-                       reg = <0x103000 0x400>;
+                       reg = <0x107000 0x300>;
                        interrupt-parent = <&icu0>;
                        interrupts = <150 151 152 153 154 155>;
                };
 
                rcu0: rcu@203000 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
                        reg = <0x203000 0x100>;
                        ranges = <0x0 0x203000 0x100>;
                                reset-names = "phy", "ctrl";
                                #phy-cells = <0>;
                        };
-
-                       reboot@10 {
-                               compatible = "syscon-reboot";
-                               reg = <0x10 4>;
-
-                               regmap = <&rcu0>;
-                               offset = <0x10>;
-                               mask = <0xe0000000>;
-                       };
                };
        };
 
                        interrupt-names = "spi_rx", "spi_tx", "spi_err",
                                        "spi_frm";
                        #address-cells = <1>;
-                       #size-cells = <1>;
+                       #size-cells = <0>;
                        status = "disabled";
                };
 
 
                ppe@e234000 {
                        compatible = "lantiq,ppe-xrx200";
+                       reg = <0xe234000 0x3ffd>;
                        interrupt-parent = <&icu0>;
                        interrupts = <96>;
                        resets = <&reset0 3 3>, <&reset0 11 11>, <&reset0 23 23>;
                        #size-cells = <2>;
                        #address-cells = <3>;
 
+                       reg = <0xd900000 0x1000>;
+
                        interrupt-parent = <&icu0>;
                        interrupts = <161 144>;