[openwrt/openwrt] ath79: fix reset button support on 8devices Lima

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 18 20:01:28 EST 2020


pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a92d55efcfb2652c7c7261cc1221077b30041f58

commit a92d55efcfb2652c7c7261cc1221077b30041f58
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Mon Nov 16 01:46:49 2020 +0100

    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 at gmail.com>
---
 target/linux/ath79/dts/qca9531_8dev_lima.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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>;
 		};
 	};



More information about the lede-commits mailing list