ramips: use hex notation for *-mtd-eeprom property
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7620a_alfa-network_ac1200rm.dts
index 388b088d927f3d0f14a7ede15cbaaa13cb3a74e8..f70450eb193dc8f5dc5fddce0b1a787cc4268178 100644 (file)
@@ -51,8 +51,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "nd_sd", "spi refclk", "wled";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "nd_sd", "spi refclk", "wled";
+               function = "gpio";
        };
 };
 
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };