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_r6220.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_r6220.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_netgear_r6220.dts | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_r6220.dts b/target/linux/ramips/dts/mt7621_netgear_r6220.dts index f23e12b852..4779b71c1d 100644 --- a/target/linux/ramips/dts/mt7621_netgear_r6220.dts +++ b/target/linux/ramips/dts/mt7621_netgear_r6220.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,r6220", "mediatek,mt7621-soc"; model = "Netgear R6220"; - - 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 = "r6220:green:wps"; - }; }; &led_power { @@ -53,6 +24,10 @@ label = "r6220:green:wifi"; }; +&led_wps { + label = "r6220:green:wps"; +}; + &nand { status = "okay"; |