ramips: dts: Unify naming of gpio-keys nodes
[openwrt/openwrt.git] / target / linux / ramips / dts / MT7620a_V22SG.dts
index 30e43d7cd54acf720d6e85bb1cee44cc3713b292..d2863ee75cf2b73bf29a1dfa8d4d07f253fe19d6 100644 (file)
@@ -9,7 +9,7 @@
        compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
        model = "Ralink MT7620a V22SG High Power evaluation board";
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
        };
 
        nand {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "mtk,mt7620-nand";
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x0 0x40000>;
-                       read-only;
-               };
-
-               partition@40000 {
-                       label = "u-boot-env";
-                       reg = <0x40000 0x20000>;
-                       read-only;
-               };
-
-               factory: partition@60000 {
-                       label = "factory";
-                       reg = <0x60000 0x20000>;
-                       read-only;
-               };
-
-               partition@80000 {
-                       label = "firmware";
-                       reg = <0x80000 0x7f80000>;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x0 0x40000>;
+                               read-only;
+                       };
+
+                       partition@40000 {
+                               label = "u-boot-env";
+                               reg = <0x40000 0x20000>;
+                               read-only;
+                       };
+
+                       factory: partition@60000 {
+                               label = "factory";
+                               reg = <0x60000 0x20000>;
+                               read-only;
+                       };
+
+                       partition@80000 {
+                               compatible = "denx,uimage";
+                               label = "firmware";
+                               reg = <0x80000 0x7f80000>;
+                       };
                };
        };
 };