Browse Source

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 <[email protected]>
Piotr Dymacz 5 years ago
parent
commit
a92d55efcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/ath79/dts/qca9531_8dev_lima.dts

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