f9ca7eb7c181b168c5c7b9ee1f2e1fe0be99a325
[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@openwrt.org>
2 Subject: [PATCH] ARM: BCM5301X: Add power button for Buffalo WZR-1750DHP
3
4 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
5 ---
6 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
7 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
8 @@ -123,6 +123,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>;