2020-02-10 06:46:56 +00:00
|
|
|
From: Felix Fietkau <nbd@nbd.name>
|
|
|
|
Subject: [PATCH] ARM: BCM5301X: Add power button for Buffalo WZR-1750DHP
|
|
|
|
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
---
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
2020-03-09 11:39:35 +00:00
|
|
|
@@ -100,6 +100,12 @@
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
2020-02-10 06:46:56 +00:00
|
|
|
|
|
|
|
+ power {
|
|
|
|
+ label = "Power";
|
|
|
|
+ linux,code = <KEY_POWER>;
|
|
|
|
+ gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
restart {
|
|
|
|
label = "Reset";
|
|
|
|
linux,code = <KEY_RESTART>;
|