ramips: fix mode switch gpio for AsiaRF AWM eval board
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 28 Jul 2014 15:26:32 +0000 (15:26 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41858 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index c483d2d..0738f04 100644 (file)
@@ -41,7 +41,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };
index 01e1e26..ebc4085 100644 (file)
@@ -41,7 +41,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };
index 4227965..35d4886 100644 (file)
@@ -56,7 +56,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };