39034997fccc5415ccbd0b55352f31ccc0d944a1
[openwrt/staging/chunkeey.git] / target / linux / bcm53xx / patches-4.4 / 332-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Subject: [PATCH] ARM: BCM5301X: Add power button for Buffalo WZR-1750DHP
3
4 Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 ---
6 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
7 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
8 @@ -102,6 +102,12 @@
9 #address-cells = <1>;
10 #size-cells = <0>;
11
12 + power {
13 + label = "Power";
14 + linux,code = <KEY_POWER>;
15 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
16 + };
17 +
18 restart {
19 label = "Reset";
20 linux,code = <KEY_RESTART>;