diff options
author | David Bauer <mail@david-bauer.net> | 2019-11-17 15:51:48 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-11-24 23:17:20 +0100 |
commit | 6a76ea359b14cf833e1670707ff43fdb5f394eab (patch) | |
tree | 0c666a7a4585d1ea5d9b9972193c50121e4928f5 /target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts | |
parent | 3f5cf3872d078ca50849e08db3890718624bd0fb (diff) | |
download | upstream-6a76ea359b14cf833e1670707ff43fdb5f394eab.tar.gz upstream-6a76ea359b14cf833e1670707ff43fdb5f394eab.tar.bz2 upstream-6a76ea359b14cf833e1670707ff43fdb5f394eab.zip |
ramips: reorganize NETGEAR sercomm boards
This re-organizes the device-tree files for the Sercomm-manufactured
NETGEAR routers. They are now split into two different base-boards,
from which the respective model is extended.
This partially reverts commit c7842ceaaa27 ("ramips: reorganize DTSI
files for Netgear R devices"), which introduced inheritance between two
completely unrelated base-boards.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts b/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts index 5cf09ac7c4..a5c8b21d53 100644 --- a/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts +++ b/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts @@ -1,40 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 /dts-v1/; -#include "mt7621_netgear_sercomm.dtsi" +#include "mt7621_netgear_sercomm_ayx.dtsi" / { compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc"; model = "Netgear WNDR3700 v5"; - - keys { - compatible = "gpio-keys"; - - wps { - label = "wps"; - gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; - linux,code = <KEY_WPS_BUTTON>; - }; - - wifi { - label = "wifi"; - gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; - linux,code = <KEY_RFKILL>; - }; - - reset { - label = "reset"; - gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; - linux,code = <KEY_RESTART>; - }; - }; -}; - -&leds { - wps { - gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; - label = "wndr3700-v5:green:wps"; - }; }; &led_power { @@ -53,6 +24,10 @@ label = "wndr3700-v5:green:wifi"; }; +&led_wps { + label = "wndr3700-v5:green:wps"; +}; + &spi0 { status = "okay"; |