ramips: replace pinctrl property names
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wr802n-v4.dts
index fcb483594ad58f2ef9bfeeef574834ab9ae444d0..3b497ef0c9160a95929ce3195660c0676db5a97d 100644 (file)
@@ -3,9 +3,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-wr802n-v4", "mediatek,mt7628an-soc";
        model = "TP-Link TL-WR802N v4";
@@ -22,7 +19,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                led_power: power {
                        label = "tl-wr802n-v4:green:power";
-                       gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
        };
 };
 
 &state_default {
        gpio {
-               ralink,group = "refclk", "wdt";
-               ralink,function = "gpio";
+               groups = "refclk", "wdt";
+               function = "gpio";
        };
 };
 
 &ethernet {
        mtd-mac-address = <&factory 0xf100>;
-       mediatek,portmap = "l";
 };