mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
};
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 21 1>;
|
||||
gpios = <&gpio0 20 1>;
|
||||
linux,code = <0x32>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
};
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 21 1>;
|
||||
gpios = <&gpio0 20 1>;
|
||||
linux,code = <0x32>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
};
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 21 1>;
|
||||
gpios = <&gpio0 20 1>;
|
||||
linux,code = <0x32>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user