diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-27 07:16:16 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-10-15 09:01:45 +0200 |
commit | 6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda (patch) | |
tree | 8c1617ab5ed7575fb6af327b1d820bf3ef74f654 /target/linux/ramips/dts | |
parent | 51bca43f39f0d53ef4b5facd5484347655255b12 (diff) | |
download | upstream-6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda.tar.gz upstream-6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda.tar.bz2 upstream-6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda.zip |
ramips: improve edimax 6200n/nl support
Assign the reset functionality to the wps/reset buttons. Use the wlan
switch of the 6200n to enable/disable wlan.
Add the internet led of the 6200nl and use the led for boot status
indication
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/3G-6200N.dts | 10 | ||||
-rw-r--r-- | target/linux/ramips/dts/3G-6200NL.dts | 13 |
2 files changed, 14 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts index cd2ba51d1a..a8032c5a78 100644 --- a/target/linux/ramips/dts/3G-6200N.dts +++ b/target/linux/ramips/dts/3G-6200N.dts @@ -69,16 +69,16 @@ #size-cells = <0>; poll-interval = <20>; - wps { - label = "wps"; + reset { + label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x211>; + linux,code = <0x198>; }; - wlanswitch { + rfkill { label = "wlanswitch"; gpios = <&gpio0 13 1>; - linux,code = <0x100>; + linux,code = <0xf7>; }; }; }; diff --git a/target/linux/ramips/dts/3G-6200NL.dts b/target/linux/ramips/dts/3G-6200NL.dts index 7ef7618f68..453e45b022 100644 --- a/target/linux/ramips/dts/3G-6200NL.dts +++ b/target/linux/ramips/dts/3G-6200NL.dts @@ -47,8 +47,13 @@ gpio-leds { compatible = "gpio-leds"; + internet { + label = "3g-6200nl:green:internet"; + gpios = <&gpio0 9 1>; + }; + wlan { - label = "3g-6200nl:amber:wlan"; + label = "3g-6200nl:green:wlan"; gpios = <&gpio0 14 1>; }; }; @@ -59,10 +64,10 @@ #size-cells = <0>; poll-interval = <20>; - wps { - label = "wps"; + reset { + label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x211>; + linux,code = <0x198>; }; }; }; |