ramips: mt7621: convert Linksys devices EEPROM to NVMEM format
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_iodata_wn-dx2033gr.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-dx2033gr", "mediatek,mt7621-soc";
7 model = "I-O DATA WN-DX2033GR";
8 };
9
10 &partitions {
11 partition@6b00000 {
12 label = "idmkey";
13 reg = <0x6b00000 0x0100000>;
14 read-only;
15 };
16
17 partition@6c00000 {
18 label = "Backup";
19 reg = <0x6c00000 0x1380000>;
20 read-only;
21 };
22 };
23
24 &pcie0 {
25 wifi@0,0 {
26 compatible = "mediatek,mt76";
27 reg = <0x0000 0 0 0 0>;
28 nvmem-cells = <&eeprom_factory_0>;
29 nvmem-cell-names = "eeprom";
30 ieee80211-freq-limit = <2400000 2483000>;
31 };
32 };
33
34 &pcie1 {
35 wifi@0,0 {
36 compatible = "mediatek,mt76";
37 reg = <0x0000 0 0 0 0>;
38 nvmem-cells = <&eeprom_factory_8000>;
39 nvmem-cell-names = "eeprom";
40 ieee80211-freq-limit = <5000000 5710000>;
41 };
42 };