aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-12-29 23:09:32 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-12-29 23:15:32 +0100
commitfea884ff51cc2ed1016b4e13a9fcc728bd4f357e (patch)
tree9c5020c0f6caba74d85f2a558da725f5dbc19ee3 /target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch
parent4dd51788dd2fad52dc328ea08ff118a42f6dfa54 (diff)
downloadupstream-fea884ff51cc2ed1016b4e13a9fcc728bd4f357e.tar.gz
upstream-fea884ff51cc2ed1016b4e13a9fcc728bd4f357e.tar.bz2
upstream-fea884ff51cc2ed1016b4e13a9fcc728bd4f357e.zip
bcm53xx: add early support for kernel 4.14
Don't switch to it by default yet as it requires more testing. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch b/target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch
new file mode 100644
index 0000000000..39034997fc
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch
@@ -0,0 +1,20 @@
+From: Felix Fietkau <nbd@nbd.name>
+Subject: [PATCH] ARM: BCM5301X: Add power button for Buffalo WZR-1750DHP
+
+Signed-off-by: Felix Fietkau <nbd@nbd.name>
+---
+--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
++++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
+@@ -102,6 +102,12 @@
+ #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>;