diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-12-29 23:09:32 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-12-29 23:15:32 +0100 |
commit | fea884ff51cc2ed1016b4e13a9fcc728bd4f357e (patch) | |
tree | 9c5020c0f6caba74d85f2a558da725f5dbc19ee3 /target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch | |
parent | 4dd51788dd2fad52dc328ea08ff118a42f6dfa54 (diff) | |
download | upstream-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.patch | 20 |
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>; |