summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-16 20:09:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-16 20:09:55 +0000
commitb860db2c636cb8c304d92f5482b11ddf01caeac2 (patch)
treec9087dcc627d9cba76e9ba47585a15123a647d7f /target/linux/bcm53xx
parentc9aeb21405b2ab9211e4e312f13be0e99d621b0e (diff)
downloadmaster-31e0f0ae-b860db2c636cb8c304d92f5482b11ddf01caeac2.tar.gz
master-31e0f0ae-b860db2c636cb8c304d92f5482b11ddf01caeac2.tar.bz2
master-31e0f0ae-b860db2c636cb8c304d92f5482b11ddf01caeac2.zip
bcm53xx: add power button for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45467
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r--target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch b/target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch
index e53f55b5e6..2fa2dd95d9 100644
--- a/target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch
+++ b/target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch
@@ -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>;