ath79: fix reset button support on 8devices Lima
authorPiotr Dymacz <pepe2k@gmail.com>
Mon, 16 Nov 2020 00:46:49 +0000 (01:46 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 18 Nov 2020 22:49:34 +0000 (23:49 +0100)
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>
target/linux/ath79/dts/qca9531_8dev_lima.dts

index 266807b837e774e3670cf481a08e47c8d89ebacc..d13ae66a1cf139523236ac9c81507ea33f2e4160 100644 (file)
@@ -14,7 +14,7 @@
 
                reset {
                        label = "reset";
-                       linux-code = "KEY_RESTART";
+                       linux,code = <KEY_RESTART>;
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
        };