dts: ax1800: fix gpio-key

Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
This commit is contained in:
Jianhui Zhao 2022-02-07 14:16:42 +08:00
parent 4a4118fd1f
commit ca6f3eca76

View File

@ -128,7 +128,7 @@
};
button_pins: button_pins {
wps_button {
switch_button {
pins = "gpio9";
function = "gpio";
drive-strength = <8>;
@ -289,8 +289,8 @@
pinctrl-0 = <&button_pins>;
pinctrl-names = "default";
wps {
label = "wps";
switch {
label = "switch";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;