0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-22 04:56:15 +00:00
openwrt/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr2.dts
Shiji Yang cd9088c6f9
ramips: mt7621: convert I-O DATA devices EEPROM to NVMEM format
-+-------------------------------------------+-
 |          Model          |       NIC       |
-+-------------------------------------------+-
 | WN-DX1167R/WN-AX1167GR2 |     MT7615D     |
-+-------------------------------------------+-
 | WN-AX2033GR/WN-DX2033GR | MT7603 + MT7615 |
-+-------------------------------------------+-

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2024-01-17 01:14:49 +01:00

31 lines
549 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7621_iodata_wn-xx-xr.dtsi"
/ {
compatible = "iodata,wn-ax1167gr2", "mediatek,mt7621-soc";
model = "I-O DATA WN-AX1167GR2";
};
/* override EEPROM size to 0x4da8 for MT7615 */
&eeprom_factory_0 {
reg = <0x0 0x4da8>;
};
&partitions {
partition@6b00000 {
label = "Backup";
reg = <0x6b00000 0x1480000>;
read-only;
};
};
&pcie1 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
};
};