Author: blogic
Date: 2014-07-28 17:26:32 +0200 (Mon, 28 Jul 2014)
New Revision: 41858

Modified:
   trunk/target/linux/ramips/dts/AWM002-EVB-4M.dts
   trunk/target/linux/ramips/dts/AWM002-EVB-8M.dts
   trunk/target/linux/ramips/dts/AWM003-EVB.dts
Log:
ramips: fix mode switch gpio for AsiaRF AWM eval board

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 <[email protected]>

Modified: trunk/target/linux/ramips/dts/AWM002-EVB-4M.dts
===================================================================
--- trunk/target/linux/ramips/dts/AWM002-EVB-4M.dts     2014-07-28 15:26:23 UTC 
(rev 41857)
+++ trunk/target/linux/ramips/dts/AWM002-EVB-4M.dts     2014-07-28 15:26:32 UTC 
(rev 41858)
@@ -41,7 +41,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };

Modified: trunk/target/linux/ramips/dts/AWM002-EVB-8M.dts
===================================================================
--- trunk/target/linux/ramips/dts/AWM002-EVB-8M.dts     2014-07-28 15:26:23 UTC 
(rev 41857)
+++ trunk/target/linux/ramips/dts/AWM002-EVB-8M.dts     2014-07-28 15:26:32 UTC 
(rev 41858)
@@ -41,7 +41,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };

Modified: trunk/target/linux/ramips/dts/AWM003-EVB.dts
===================================================================
--- trunk/target/linux/ramips/dts/AWM003-EVB.dts        2014-07-28 15:26:23 UTC 
(rev 41857)
+++ trunk/target/linux/ramips/dts/AWM003-EVB.dts        2014-07-28 15:26:32 UTC 
(rev 41858)
@@ -56,7 +56,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to