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>
This commit is contained in:
parent
665c2154ef
commit
0eefea2ed7
@ -122,18 +122,30 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&pcie0 {
|
&pcie0 {
|
||||||
wifi0: mt76@0,0 {
|
wifi@0,0 {
|
||||||
|
compatible = "mediatek,mt76";
|
||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||||
ieee80211-freq-limit = <5000000 6000000>;
|
ieee80211-freq-limit = <5000000 6000000>;
|
||||||
|
|
||||||
|
led {
|
||||||
|
led-sources = <2>;
|
||||||
|
led-active-low;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pcie1 {
|
&pcie1 {
|
||||||
wifi1: mt76@0,0 {
|
wifi1: wifi@0,0 {
|
||||||
|
compatible = "mediatek,mt76";
|
||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
mediatek,mtd-eeprom = <&factory 0x0000>;
|
mediatek,mtd-eeprom = <&factory 0x0000>;
|
||||||
ieee80211-freq-limit = <2400000 2500000>;
|
ieee80211-freq-limit = <2400000 2500000>;
|
||||||
|
|
||||||
|
led {
|
||||||
|
led-sources = <0>;
|
||||||
|
led-active-low;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user