aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-19 19:03:44 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-22 01:20:54 +0100
commit8ea7aa5380aba4301bd1804e326534c28249bb24 (patch)
tree11db25ebfadc6ba60b107e6129b8cadab369e5da /target/linux
parent02f8dbc6fe71c04d89aa5e3129a5ec84903cf395 (diff)
downloadupstream-8ea7aa5380aba4301bd1804e326534c28249bb24.tar.gz
upstream-8ea7aa5380aba4301bd1804e326534c28249bb24.tar.bz2
upstream-8ea7aa5380aba4301bd1804e326534c28249bb24.zip
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 <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7621_edimax_rg21s.dts14
1 files changed, 6 insertions, 8 deletions
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";
};
};