mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-19 18:45:35 +00:00
dts: ax1800: fix gpio-key
Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
This commit is contained in:
parent
4a4118fd1f
commit
ca6f3eca76
@ -128,7 +128,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
button_pins: button_pins {
|
button_pins: button_pins {
|
||||||
wps_button {
|
switch_button {
|
||||||
pins = "gpio9";
|
pins = "gpio9";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
drive-strength = <8>;
|
drive-strength = <8>;
|
||||||
@ -289,8 +289,8 @@
|
|||||||
pinctrl-0 = <&button_pins>;
|
pinctrl-0 = <&button_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
wps {
|
switch {
|
||||||
label = "wps";
|
label = "switch";
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
|
||||||
linux,input-type = <1>;
|
linux,input-type = <1>;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user