ramips: simplify state_default/pinctrl0 in device DTS files
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_zbtlink_zbt-wg3526.dtsi
index a2ab252b7e5d1fb73ab61fd8ed7e55abd6579ed0..48de87269a10d15025124060a5b895b06276609e 100644 (file)
@@ -25,8 +25,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", "rgmii2", "jtag", "mdio";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "wdt", "rgmii2", "jtag", "mdio";
+               ralink,function = "gpio";
        };
 };