apm821xx: dts overhaul
[openwrt/openwrt.git] / target / linux / apm821xx / dts / wd-mybooklive.dts
index db27e1778d9c34f90c2bb97b0684d73817bc59dd..6cba7d2f26dd05c7d41edfcd5a45acc52f82e03c 100644 (file)
                                reg = <0x00000000 0x0001e000>;
                        };
 
-                       partition@1 {
+                       partition@1e000 {
                                label = "env";
                                reg = <0x0001e000 0x00002000>;
                        };
 
-                       partition@2 {
+                       partition@20000 {
                                label = "uboot";
                                reg = <0x00020000 0x00050000>;
                        };
                };
        };
 
-       GPIO1: gpio1@e0000000 {
+       GPIO1: gpio@e0000000 {
                compatible = "wd,mbl-gpio", "ti,74273";
                reg-names = "dat";
                reg = <0xe0000000 0x1>;
@@ -77,7 +77,7 @@
                };
        };
 
-       GPIO2: gpio2@e0100000 {
+       GPIO2: gpio@e0100000 {
                compatible = "wd,mbl-gpio", "ti,74244";
                reg-names = "dat";
                reg = <0xe0100000 0x1>;
 
        keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <60>;   /* 3 * 20 = 60ms */
                autorepeat;