aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-28 15:26:32 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-28 15:26:32 +0000
commit9d704780086ff1afce7c7bc27cde4969fc3a21b7 (patch)
tree5eca958adfbb66cf90669eaed806b96488e47017 /target
parent49f28a2ed39eb2ab911dab3c8f27812b99dfc0e4 (diff)
downloadmaster-187ad058-9d704780086ff1afce7c7bc27cde4969fc3a21b7.tar.gz
master-187ad058-9d704780086ff1afce7c7bc27cde4969fc3a21b7.tar.bz2
master-187ad058-9d704780086ff1afce7c7bc27cde4969fc3a21b7.zip
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 <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41858 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-4M.dts2
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-8M.dts2
-rw-r--r--target/linux/ramips/dts/AWM003-EVB.dts2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/AWM002-EVB-4M.dts b/target/linux/ramips/dts/AWM002-EVB-4M.dts
index c483d2d290..0738f048ef 100644
--- a/target/linux/ramips/dts/AWM002-EVB-4M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-4M.dts
@@ -41,7 +41,7 @@
};
mode {
label = "mode";
- gpios = <&gpio0 21 1>;
+ gpios = <&gpio0 20 1>;
linux,code = <0x32>;
};
};
diff --git a/target/linux/ramips/dts/AWM002-EVB-8M.dts b/target/linux/ramips/dts/AWM002-EVB-8M.dts
index 01e1e26fd3..ebc4085588 100644
--- a/target/linux/ramips/dts/AWM002-EVB-8M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-8M.dts
@@ -41,7 +41,7 @@
};
mode {
label = "mode";
- gpios = <&gpio0 21 1>;
+ gpios = <&gpio0 20 1>;
linux,code = <0x32>;
};
};
diff --git a/target/linux/ramips/dts/AWM003-EVB.dts b/target/linux/ramips/dts/AWM003-EVB.dts
index 4227965add..35d4886762 100644
--- a/target/linux/ramips/dts/AWM003-EVB.dts
+++ b/target/linux/ramips/dts/AWM003-EVB.dts
@@ -56,7 +56,7 @@
};
mode {
label = "mode";
- gpios = <&gpio0 21 1>;
+ gpios = <&gpio0 20 1>;
linux,code = <0x32>;
};
};