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>
This commit is contained in:
Piotr Dymacz 2020-11-16 01:46:49 +01:00 committed by CN_SZTL
parent a7780a280a
commit 81e369c6cd
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -14,7 +14,7 @@
reset {
label = "reset";
linux-code = "KEY_RESTART";
linux,code = <KEY_RESTART>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};