gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
+
+ wps {
+ label = "wps";
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_WPS_BUTTON>;
+ };
};
leds {
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
- wps {
- label = "tl-wa801nd-v5:orange:wps";
- gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+ wps_red {
+ label = "tl-wa801nd-v5:red:wps";
+ gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
+ };
+
+ wps_green {
+ label = "tl-wa801nd-v5:green:wps";
+ gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
};
};
};
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "p0led_an", "perst", "refclk", "wdt", "wled_an";
+ ralink,group = "p0led_an", "p1led_an", "perst",
+ "refclk", "uart1", "wdt", "wled_an";
ralink,function = "gpio";
};
};