From: Piotr Dymacz Date: Mon, 16 Nov 2020 00:46:49 +0000 (+0100) Subject: ath79: fix reset button support on 8devices Lima X-Git-Tag: v21.02.0-rc1~1068 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a92d55efcfb2652c7c7261cc1221077b30041f58;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/target/linux/ath79/dts/qca9531_8dev_lima.dts b/target/linux/ath79/dts/qca9531_8dev_lima.dts index 266807b837e..d13ae66a1cf 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 = ; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; }; };