ramips: fix frequency limit property for some Edimax devices
authorShiji Yang <yangshiji66@qq.com>
Sun, 15 Oct 2023 02:57:44 +0000 (10:57 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 17 Oct 2023 10:07:27 +0000 (12:07 +0200)
These three devices uses MT7612E PCIe NIC and supported by the
'mt76' driver. So the right frequency limit property should be
`ieee80211-freq-limit`.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts

index c0893cd62326293aa77dffb3783855e051ae5965..b829262474544548c7e2748622689dcf0a219eba 100644 (file)
                reg = <0x0000 0 0 0 0>;
                nvmem-cells = <&eeprom_factory_8000>;
                nvmem-cell-names = "eeprom";
-               mediatek,2ghz = <0>;
+               ieee80211-freq-limit = <5000000 6000000>;
        };
 };
 
index 3a3bc9aec6eb2926a55482a4fbe080918a08024b..f6aa606917a674e5cc5581f4baf42b1de9218a9b 100644 (file)
                reg = <0x0000 0 0 0 0>;
                nvmem-cells = <&eeprom_factory_8000>;
                nvmem-cell-names = "eeprom";
-               mediatek,2ghz = <0>;
+               ieee80211-freq-limit = <5000000 6000000>;
        };
 };