mvebu: update dts files for mamba / WRT1900AC
authorImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2015 18:23:28 +0000 (18:23 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2015 18:23:28 +0000 (18:23 +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: 46530

target/linux/mvebu/patches-3.18/001-add_mamba_support.patch
target/linux/mvebu/patches-4.0/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>;
 +              };
 +      };
 +
index 305479acfb92c69c480c231a3e24e3407d812e41..0fc2638fad44229f2834de916af42efd57a9c17c 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>;
 +              };
 +      };
 +