ramips: replace pinctrl property names
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_duzun_dm06.dts
index 7325e2c699609850c25026974588cd103518371e..4164bae184d43d316487c826bbb6a5322ba93a6b 100644 (file)
@@ -9,24 +9,18 @@
        compatible = "duzun,dm06", "mediatek,mt7628an-soc";
        model = "DuZun DM06";
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wdt", "uart1";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "wdt", "uart1";
+               function = "gpio";
        };
 };
 
-&gpio1 {
-       status = "okay";
-};
-
 &i2c {
        status = "okay";