ramips: mt7621: convert I-O DATA devices EEPROM to NVMEM format
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_iodata_wn-dx1167r.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_iodata_wn-xx-xr.dtsi"
4
5 / {
6 compatible = "iodata,wn-dx1167r", "mediatek,mt7621-soc";
7 model = "I-O DATA WN-DX1167R";
8 };
9
10 /* override EEPROM size to 0x4da8 for MT7615 */
11 &eeprom_factory_0 {
12 reg = <0x0 0x4da8>;
13 };
14
15 &partitions {
16 partition@6b00000 {
17 label = "idmkey";
18 reg = <0x6b00000 0x0100000>;
19 read-only;
20 };
21
22 partition@6c00000 {
23 label = "Backup";
24 reg = <0x6c00000 0x1380000>;
25 read-only;
26 };
27 };
28
29 &pcie1 {
30 wifi@0,0 {
31 compatible = "mediatek,mt76";
32 reg = <0x0000 0 0 0 0>;
33 nvmem-cells = <&eeprom_factory_0>;
34 nvmem-cell-names = "eeprom";
35 };
36 };