aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts17
1 files changed, 10 insertions, 7 deletions
diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
index 7fff1a78d9..2f00d0ba4d 100644
--- a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
+++ b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
@@ -29,7 +29,7 @@
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
- wan {
+ internet {
label = "nbg6716:white:internet";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
@@ -48,21 +48,21 @@
trigger-sources = <&hub_port0>;
};
- wifi2 {
- label = "nbg6716:white:wifi2";
+ wifi2g {
+ label = "nbg6716:white:wifi2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
- wifi5 {
- label = "nbg6716:white:wifi5";
+ wifi5g {
+ label = "nbg6716:white:wifi5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps {
label = "nbg6716:white:wps";
- gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
@@ -79,18 +79,21 @@
wifi {
label = "WiFi button";
linux,code = <KEY_RFKILL>;
- gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
+ linux,input-type = <EV_SW>;
+ gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
debounce-interval = <60>;
};
usb1 {
label = "USB1 eject button";
+ linux,code = <BTN_1>;
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
usb2 {
label = "USB2 eject button";
+ linux,code = <BTN_2>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};