openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
751 stars 342 forks source link

2.4GHz LED not working #240

Closed ghost closed 5 years ago

ghost commented 5 years ago

SoC is MT7621 2.4GHz is MT7603e on pcie0 5GHz is MT7612e on pcie1

After using this commit bc7ce2a1701ca91a58d661fbb3f9ccc3c99bd32e, the 2.4GHz LED is no longer working. It used to work with ffccb48c5082b2c6f43a0235b77b62ca388810f0

This is the device tree I have been using. Is there some new change requiring a modification?

&pcie {
    status = "okay";

        pcie0 {
            wifi@0,0 {
                    compatible = "pci14c3,7603";
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x0000>;
                ieee80211-freq-limit = <2400000 2500000>;

            };
        };

        pcie1 {
            wifi@0,0 {
                    compatible = "pci14c3,7662";
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x8000>;
                ieee80211-freq-limit = <5000000 6000000>;

                led {
                        led-sources = <2>;   
                    };
            };
        };

};
nbd168 commented 5 years ago

Fixed in a4ec45c29498ad870ac87695d71608e82675dfac

ghost commented 5 years ago

Happy to confirm that this fixed the LED's