bcm53xx: add power button for WXR-1900DHP
authorFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:55 +0000 (20:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:55 +0000 (20:09 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45467

target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch

index e53f55b5e6066fb823301b06ea1af2567d622dbd..2fa2dd95d96f39d3282c9550b491b319a3e29cc0 100644 (file)
@@ -8,7 +8,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 ---
 --- /dev/null
 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-@@ -0,0 +1,152 @@
+@@ -0,0 +1,158 @@
 +/*
 + * Broadcom BCM470X / BCM5301X ARM platform code.
 + * DTS for Buffalo WXR-1900DHP
@@ -128,6 +128,12 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 +              #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>;