diff mbox

[OpenWrt-Devel] mvebu: update dts files for mamba / WRT1900AC

Message ID 1437178018-23821-1-git-send-email-nyt-openwrt@countercultured.net
State Deferred
Headers show

Commit Message

nyt-openwrt@countercultured.net July 18, 2015, 12:06 a.m. UTC
From: notnyt <nyt-openwrt@countercultured.net>

Fix for default button states in WRT1900AC dts files.
This prevents overlay wipe when reset is pressed.
More info at:
 https://forum.openwrt.org/viewtopic.php?pid=282900#p282900

Signed-off-by: notnyt <nyt-openwrt@countercultured.net>
---
 target/linux/mvebu/patches-3.18/001-add_mamba_support.patch | 4 ++--
 target/linux/mvebu/patches-4.0/001-add_mamba_support.patch  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Jonas Gorski July 18, 2015, 10:46 a.m. UTC | #1
On Sat, Jul 18, 2015 at 2:06 AM,  <nyt-openwrt@countercultured.net> wrote:
> From: notnyt <nyt-openwrt@countercultured.net>
>
> Fix for default button states in WRT1900AC dts files.
> This prevents overlay wipe when reset is pressed.
> More info at:
>  https://forum.openwrt.org/viewtopic.php?pid=282900#p282900
>
> Signed-off-by: notnyt <nyt-openwrt@countercultured.net>

Please sign off with your real name.


Regards
Jonas
diff mbox

Patch

diff --git a/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch b/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch
index 437cc3a..44a1adc 100644
--- a/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch
+++ b/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch
@@ -337,13 +337,13 @@  Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
 +		button@1 {
 +			label = "WPS";
 +			linux,code = <KEY_WPS_BUTTON>;
-+			gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
++			gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
 +		};
 +
 +		button@2 {
 +			label = "Factory Reset Button";
 +			linux,code = <KEY_RESTART>;
-+			gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
++			gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
 +		};
 +	};
 +
diff --git a/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch b/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch
index 305479a..0fc2638 100644
--- a/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch
+++ b/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch
@@ -337,13 +337,13 @@  Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
 +		button@1 {
 +			label = "WPS";
 +			linux,code = <KEY_WPS_BUTTON>;
-+			gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
++			gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
 +		};
 +
 +		button@2 {
 +			label = "Factory Reset Button";
 +			linux,code = <KEY_RESTART>;
-+			gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
++			gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
 +		};
 +	};
 +