aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2022-12-31 12:51:16 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-04 23:32:27 +0100
commit6760c7cbe55ceb18bdffac6274c01dd614a54555 (patch)
tree83a87fe4067a0ebe89da432c6b919c76df379c51
parent0eefea2ed77d6bb6b7e15339b79222351126f94c (diff)
downloadupstream-6760c7cbe55ceb18bdffac6274c01dd614a54555.tar.gz
upstream-6760c7cbe55ceb18bdffac6274c01dd614a54555.tar.bz2
upstream-6760c7cbe55ceb18bdffac6274c01dd614a54555.zip
ramips: enable Wi-Fi LED support for Afoundry EW1200
Add LED properties to PCIe node to enable Wi-Fi LED support. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
-rw-r--r--target/linux/ramips/dts/mt7621_afoundry_ew1200.dts16
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
index 119acd977c..8d33f542dc 100644
--- a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
+++ b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
@@ -90,18 +90,30 @@
};
&pcie0 {
- mt76@0,0 {
+ wifi@0,0 {
+ compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
+
+ led {
+ led-sources = <2>;
+ led-active-low;
+ };
};
};
&pcie1 {
- mt76@0,0 {
+ wifi@0,0 {
+ compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
};