ramips: enable Wi-Fi LED support for Afoundry EW1200
[openwrt/staging/ldir.git] / target / linux / ramips / dts / mt7621_afoundry_ew1200.dts
index 119acd977c03c7342f929c0bf0261100e6b42b28..8d33f542dc1af0b294c8d7b8566d532283430bd9 100644 (file)
 };
 
 &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;
+               };
        };
 };