mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
f53fa2a0cb
This patch converts MT761{0,2,3} PCIe WiFi calibration data to NVMEM format for legacy Ralink SoCs (MT7620 and Mt7628). The EEPROM size of the MT7610 and MT7612 is 0x200. there are only three devices uses MT7613 NIC, ASUS RT-AC1200 V2, COMFAST CF-WR758AC V2 and Keenetic KN-1613. The EEPROM size of them is 0x4da8. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
37 lines
634 B
Plaintext
37 lines
634 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7620a_dlink_dwr-96x.dtsi"
|
|
|
|
/ {
|
|
compatible = "dlink,dwr-960", "ralink,mt7620a-soc";
|
|
model = "D-Link DWR-960";
|
|
};
|
|
|
|
ðernet {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
|
|
|
|
mediatek,portmap = "wllll";
|
|
|
|
port@5 {
|
|
status = "okay";
|
|
phy-mode = "rgmii-txid";
|
|
phy-handle = <&phy7>;
|
|
};
|
|
|
|
mdio-bus {
|
|
status = "okay";
|
|
|
|
phy7: ethernet-phy@7 {
|
|
reg = <7>;
|
|
phy-mode = "rgmii-id";
|
|
};
|
|
};
|
|
};
|
|
|
|
&wifi {
|
|
nvmem-cells = <&eeprom_config_e08e>, <&macaddr_config_e50e>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
mac-address-increment = <2>;
|
|
};
|