2017-02-06 09:06:44 +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
|
2017-03-18 17:31:36 +00:00
|
|
|
@@ -98,6 +98,12 @@
|
2017-02-06 09:06:44 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
+ power {
|
|
|
|
+ label = "Power";
|
|
|
|
+ linux,code = <KEY_POWER>;
|
|
|
|
+ gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
restart {
|
|
|
|
label = "Reset";
|
|
|
|
linux,code = <KEY_RESTART>;
|