mvebu: update dts files for mamba / WRT1900AC (backport of r46530)
authorImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2015 18:25:03 +0000 (18:25 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2015 18:25:03 +0000 (18:25 +0000)
Fix for default button states in WRT1900AC dts files.
This prevents overlay wipe when reset is pressed.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
SVN-Revision: 46531

target/linux/mvebu/patches-3.18/001-add_mamba_support.patch

index 437cc3ad3ae3355fa7c1477682067ff6df6c912d..44a1adc4155e76ce5a55b31d1f0cbde7e5691e84 100644 (file)
@@ -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>;
 +              };
 +      };
 +