ramips: replace pinctrl property names
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wr802n-v4.dts
index 5e97733d0ea4b70d16bd721ae96a2531a84ee90e..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>;
                };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "refclk", "wdt";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "refclk", "wdt";
+               function = "gpio";
        };
 };
 
 &ethernet {
        mtd-mac-address = <&factory 0xf100>;
-       mediatek,portmap = "l";
 };