diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-16 20:09:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-04-16 20:09:55 +0000 |
commit | 48732ce05d1238b342a0d82e9bb4eecb0a7db206 (patch) | |
tree | b102b14d0506b81c7c62c345c1132283c0824dd4 /target/linux | |
parent | 6ff9f53c3d90c1244e605a450d078e60793f047f (diff) | |
download | upstream-48732ce05d1238b342a0d82e9bb4eecb0a7db206.tar.gz upstream-48732ce05d1238b342a0d82e9bb4eecb0a7db206.tar.bz2 upstream-48732ce05d1238b342a0d82e9bb4eecb0a7db206.zip |
bcm53xx: add power button for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45467 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch | 8 |
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>; |