aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2022-12-31 12:50:18 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-04 23:32:27 +0100
commit0eefea2ed77d6bb6b7e15339b79222351126f94c (patch)
treeaa5df800bdee69989ce7ca641fc93fea7a2c1531 /target
parent665c2154ef122d10dfffeca95538ebdff82653b5 (diff)
downloadupstream-0eefea2ed77d6bb6b7e15339b79222351126f94c.tar.gz
upstream-0eefea2ed77d6bb6b7e15339b79222351126f94c.tar.bz2
upstream-0eefea2ed77d6bb6b7e15339b79222351126f94c.zip
ramips: enable Wi-Fi LED support for Zbtlink ZBT-WE1326
Add LED properties to PCIe node to enable Wi-Fi LED support. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts16
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts
index 6aafe385ae..4e30dfb6c9 100644
--- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts
+++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts
@@ -122,18 +122,30 @@
};
&pcie0 {
- wifi0: 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 {
- wifi1: mt76@0,0 {
+ wifi1: 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;
+ };
};
};