Replaced all mt76@ with wifi@ per upstream requirement for all wifi nodes. Added missing compatible string where appropriate as stated by mt76.yaml upstream. Also updated reg value to be consistent everywhere. Replace all pci14c3 entries to use mediatek,mt76. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19067 Signed-off-by: Robert Marko <robimarko@gmail.com>
31 lines
687 B
Text
31 lines
687 B
Text
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7621_sercomm_dxx_nand_256m.dtsi"
|
|
|
|
/ {
|
|
compatible = "rostelecom,rt-sf-1", "mediatek,mt7621-soc";
|
|
model = "Rostelecom RT-SF-1";
|
|
};
|
|
|
|
&pcie0 {
|
|
wifi@0,0 {
|
|
compatible = "mediatek,mt76";
|
|
reg = <0x0000 0 0 0 0>;
|
|
nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_21000 3>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
};
|
|
};
|
|
|
|
&pcie1 {
|
|
wifi@0,0 {
|
|
compatible = "mediatek,mt76";
|
|
reg = <0x0000 0 0 0 0>;
|
|
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000 2>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
};
|
|
};
|
|
|
|
&gmac1 {
|
|
nvmem-cells = <&macaddr_factory_21000 11>;
|
|
nvmem-cell-names = "mac-address";
|
|
};
|