ramips: simplify state_default/pinctrl0 in device DTS files
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_zbtlink_zbt-we3526.dts
index 7973626fadebf8d5dccf79cefccde1d6087d6507..15a4472cd8c49603eaa2860835a968800b88f3f7 100644 (file)
@@ -7,7 +7,7 @@
 
 / {
        compatible = "zbtlink,zbt-we3526", "mediatek,mt7621-soc";
-       model = "ZBT-WE3526";
+       model = "Zbtlink ZBT-WE3526";
 
        chosen {
                bootargs = "console=ttyS0,115200";
@@ -20,8 +20,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
        mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wdt";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "wdt";
+               ralink,function = "gpio";
        };
 };