aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2020-11-16 01:46:49 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2020-11-18 23:49:34 +0100
commita92d55efcfb2652c7c7261cc1221077b30041f58 (patch)
tree30cb04c6d75c55ed892b2f7b2e3a48b327bbc4eb /target/linux
parent6d65e3af9b3122e1893d55d1406af286048a1530 (diff)
downloadupstream-a92d55efcfb2652c7c7261cc1221077b30041f58.tar.gz
upstream-a92d55efcfb2652c7c7261cc1221077b30041f58.tar.bz2
upstream-a92d55efcfb2652c7c7261cc1221077b30041f58.zip
ath79: fix reset button support on 8devices Lima
This fixes 'linux,code' property name and value for the 'reset' key node in 8devices Lima DTS file. Problem and solution were reported on the forum, see: https://forum.openwrt.org/t/resetbutton-not-working-ath79-8devices-lima/78810 Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/qca9531_8dev_lima.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9531_8dev_lima.dts b/target/linux/ath79/dts/qca9531_8dev_lima.dts
index 266807b837..d13ae66a1c 100644
--- a/target/linux/ath79/dts/qca9531_8dev_lima.dts
+++ b/target/linux/ath79/dts/qca9531_8dev_lima.dts
@@ -14,7 +14,7 @@
reset {
label = "reset";
- linux-code = "KEY_RESTART";
+ linux,code = <KEY_RESTART>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};