[openwrt/openwrt] bmips: dgnd3700-v2: fix gpio keys
LEDE Commits
lede-commits at lists.infradead.org
Mon Mar 29 17:24:35 BST 2021
noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/483cc69fef80c1a6d0309e91a797214037bb83e3
commit 483cc69fef80c1a6d0309e91a797214037bb83e3
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Wed Mar 24 11:09:27 2021 +0100
bmips: dgnd3700-v2: fix gpio keys
These GPIO keys were assigned to incorrect pins.
Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
index 3ad37fed71..52000ba487 100644
--- a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
+++ b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
@@ -21,26 +21,26 @@
compatible = "gpio-keys-polled";
poll-interval = <20>;
- reset {
- label = "reset";
- gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_RESTART>;
- debounce-interval = <60>;
- };
-
wlan {
label = "wlan";
- gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WLAN>;
debounce-interval = <60>;
};
wps {
label = "wps";
- gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
+ gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
};
+
+ reset {
+ label = "reset";
+ gpios = <&pinctrl 31 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
+ debounce-interval = <60>;
+ };
};
leds {
More information about the lede-commits
mailing list