From: Adrian Schmutzler Date: Thu, 19 Dec 2019 18:03:44 +0000 (+0100) Subject: ramips: further DTS improvements for Edimax RG21S X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8ea7aa5380aba4301bd1804e326534c28249bb24;p=openwrt%2Fstaging%2Fluka.git ramips: further DTS improvements for Edimax RG21S This fixes the state_default node by setting the correct groups and inheriting &state_default from parent DTSI directly. The compatible for the wifi nodes is changed to the more generic mediatek,mt76. Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ramips/dts/mt7621_edimax_rg21s.dts b/target/linux/ramips/dts/mt7621_edimax_rg21s.dts index f1adf38e3e..ce28e8e04d 100644 --- a/target/linux/ramips/dts/mt7621_edimax_rg21s.dts +++ b/target/linux/ramips/dts/mt7621_edimax_rg21s.dts @@ -109,7 +109,7 @@ &pcie0 { wifi0: wifi@0,0 { - compatible = "pci14c3,7615"; + compatible = "mediatek,mt76"; reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; @@ -118,7 +118,7 @@ &pcie1 { wifi1: wifi@0,0 { - compatible = "pci14c3,7615"; + compatible = "mediatek,mt76"; reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; @@ -134,12 +134,10 @@ }; }; -&pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "wdt", "rgmii2", "jtag", "mdio"; - ralink,function = "gpio"; - }; +&state_default { + gpio { + ralink,group = "uart3", "uart2", "jtag", "wdt"; + ralink,function = "gpio"; }; };