aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9531_tplink_tl-wr902ac-v1.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9531_tplink_tl-wr902ac-v1.dts b/target/linux/ath79/dts/qca9531_tplink_tl-wr902ac-v1.dts
index 9eca13d82b..4f5a29cfa0 100644
--- a/target/linux/ath79/dts/qca9531_tplink_tl-wr902ac-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_tl-wr902ac-v1.dts
@@ -77,12 +77,14 @@
sw1 {
label = "Mode switch 1";
+ linux,input-type = <EV_SW>;
linux,code = <BTN_0>;
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
sw2 {
label = "Mode switch 2";
+ linux,input-type = <EV_SW>;
linux,code = <BTN_1>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};