ramips: mt7620: tidy up ethernet node in DTS files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620n_buffalo_wmr-300.dts
index f0f1cc1337e7da4e999f1e17abe9696183a393d9..f84dda3bf8709d9ace2782e8a08b9f58ac241e02 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -60,7 +59,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 = "i2c", "ephy";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       default {
+               groups = "i2c", "ephy";
+               function = "gpio";
        };
 };