ramips: replace pinctrl property names
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_alfa-network_awusfree1.dts
index c03f060b2d5d824d7c18219b3941aadf78e01d51..ada00fa3f1e9a1314b2d84785ddaa75d9079421b 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                led_system: system {
                        label = "awusfree1:orange:system";
-                       gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
                        label = "awusfree1:blue:wlan";
-                       gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
 };
        mtd-mac-address = <&factory 0x2e>;
 };
 
-&gpio1 {
-       status = "okay";
-};
-
 &ohci {
        status = "disabled";
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "p0led_an", "wdt", "wled_an";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "p0led_an", "wdt", "wled_an";
+               function = "gpio";
+       };
 
-               ext_lna {
-                       ralink,group = "uart1";
-                       ralink,function = "sw_r";
-               };
+       ext_lna {
+               groups = "uart1";
+               function = "sw_r";
+       };
 
-               ext_pa {
-                       ralink,group = "i2s";
-                       ralink,function = "antenna";
-               };
+       ext_pa {
+               groups = "i2s";
+               function = "antenna";
        };
 };
 
 
 &wmac {
        status = "okay";
-       mediatek,mtd-eeprom = <&factory 0x0>;
 };