ramips: fix mode switch gpio for AsiaRF AWM eval board
authorJohn Crispin <john@openwrt.org>
Mon, 28 Jul 2014 15:26:32 +0000 (15:26 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 28 Jul 2014 15:26:32 +0000 (15:26 +0000)
Fix a typo: gpio 21 is already used for the WPS led.  Gpio 20 is the
right one (tested) for the mode switch.  Confirmed that
/sys/kernel/debug/gpio state followed the position of the switch.

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41858

target/linux/ramips/dts/AWM002-EVB-4M.dts
target/linux/ramips/dts/AWM002-EVB-8M.dts
target/linux/ramips/dts/AWM003-EVB.dts

index c483d2d290edd0d976377996fce83a90aeb09766..0738f048ef2f2c02b2e9c1adde200c48671f6b12 100644 (file)
@@ -41,7 +41,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };
index 01e1e26fd3b96f1a1b0b1a00466c5d2e051b54bd..ebc4085588e3b5f98398ed1f6d924ed832e47146 100644 (file)
@@ -41,7 +41,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };
index 4227965addb487acedcd4c0ef9d0c9b94d3f3383..35d48867622ceaebe3b49e58cba74790eb33f246 100644 (file)
@@ -56,7 +56,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };