From eca9068815e3f0b4a85f00d561b10a38eb0f3e79 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Fri, 31 Jul 2015 18:23:28 +0000 Subject: [PATCH] mvebu: update dts files for mamba / WRT1900AC Fix for default button states in WRT1900AC dts files. This prevents overlay wipe when reset is pressed. Signed-off-by: Rob Mosher SVN-Revision: 46530 --- 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(-) 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 437cc3ad3a..44a1adc415 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 + button@1 { + label = "WPS"; + linux,code = ; -+ gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; ++ gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + }; + + button@2 { + label = "Factory Reset Button"; + linux,code = ; -+ 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 305479acfb..0fc2638fad 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 + button@1 { + label = "WPS"; + linux,code = ; -+ gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; ++ gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + }; + + button@2 { + label = "Factory Reset Button"; + linux,code = ; -+ gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; ++ gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; + }; + }; + -- 2.30.2