diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-26 20:56:13 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-10-15 09:01:45 +0200 |
commit | bcfbeae79f799cf1087d692e4869589eb20d2080 (patch) | |
tree | e548154a45a94b8599cb0cadbb45af6d2921d26b /target/linux/ramips/dts/F7C027.dts | |
parent | 0a219c8dfb02ce8e0862bff118739d1158585c32 (diff) | |
download | mtk-20170518-bcfbeae79f799cf1087d692e4869589eb20d2080.zip mtk-20170518-bcfbeae79f799cf1087d692e4869589eb20d2080.tar.gz mtk-20170518-bcfbeae79f799cf1087d692e4869589eb20d2080.tar.bz2 |
ramips: use rfkill for wps button on wlan only boards
All of the touched boards don't have an ethernet port. Allow to use the
wps button on these boards to enable the wireless radio after boot.
The force enabled wireless for the DCH-M225 is removed. It is reckless
to bring up an unencrypted wireless network by default these days.
Using the wps button to bring up the radio seam to me the better
approach.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/F7C027.dts')
-rw-r--r-- | target/linux/ramips/dts/F7C027.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/F7C027.dts b/target/linux/ramips/dts/F7C027.dts index 6214c85..c8ed765 100644 --- a/target/linux/ramips/dts/F7C027.dts +++ b/target/linux/ramips/dts/F7C027.dts @@ -37,7 +37,7 @@ poll-interval = <20>; top { - label = "top"; + label = "restore"; gpios = <&gpio0 10 1>; linux,code = <0x198>; }; @@ -45,13 +45,13 @@ power { label = "power"; gpios = <&gpio0 12 1>; - linux,code = <0x100>; + linux,code = <0xf7>; }; sensor { label = "sensor"; gpios = <&gpio0 14 1>; - linux,code = <0x101>; + linux,code = <0x100>; }; }; }; |