ramips: mt7620: tidy up ethernet node in DTS files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620n_asus_rt-n14u.dts
index 834eb0ddf3ec4ce8ace70d6ca42ffaa623e9e28a..76f728ea655100cd6305bb788c0a4dd91644acfc 100644 (file)
@@ -48,8 +48,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -76,7 +75,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               default {
-                       ralink,group = "ephy", "wled", "i2c";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       default {
+               groups = "ephy", "wled", "i2c";
+               function = "gpio";
        };
 };