From 6a76ea359b14cf833e1670707ff43fdb5f394eab Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 17 Nov 2019 15:51:48 +0100 Subject: 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 --- .../ramips/dts/mt7621_netgear_wndr3700-v5.dts | 35 ++++------------------ 1 file changed, 5 insertions(+), 30 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts') 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 = ; - }; - - wifi { - label = "wifi"; - gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; - linux,code = ; - }; - - reset { - label = "reset"; - gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; - linux,code = ; - }; - }; -}; - -&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"; -- cgit v1.2.3