generic: 6.1, 6.6: remove patch which breaks WAN on MT7621
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_tplink_re450-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_tplink_re450.dtsi"
4
5 / {
6 compatible = "tplink,re450-v2", "qca,qca9563";
7 model = "TP-Link RE450 v2";
8
9 aliases {
10 label-mac-device = &eth0;
11 };
12 };
13
14 &partitions {
15 partition@0 {
16 label = "u-boot";
17 reg = <0x000000 0x020000>;
18 read-only;
19 };
20
21 partition@20000 {
22 compatible = "tplink,firmware";
23 label = "firmware";
24 reg = <0x020000 0x5e0000>;
25 };
26
27 partition@600000 {
28 label = "partition-table";
29 reg = <0x600000 0x010000>;
30 read-only;
31 };
32
33 info: partition@610000 {
34 label = "info";
35 reg = <0x610000 0x020000>;
36 read-only;
37
38 nvmem-layout {
39 compatible = "fixed-layout";
40 #address-cells = <1>;
41 #size-cells = <1>;
42
43 macaddr_info_8: macaddr@8 {
44 compatible = "mac-base";
45 reg = <0x8 0x6>;
46 #nvmem-cell-cells = <1>;
47 };
48 };
49 };
50
51 partition@630000 {
52 label = "config";
53 reg = <0x630000 0x020000>;
54 read-only;
55 };
56
57 art: partition@7f0000 {
58 label = "art";
59 reg = <0x7f0000 0x010000>;
60 read-only;
61
62 nvmem-layout {
63 compatible = "fixed-layout";
64 #address-cells = <1>;
65 #size-cells = <1>;
66
67 cal_art_5000: calibration@5000 {
68 reg = <0x5000 0x844>;
69 };
70 };
71 };
72 };
73
74 &eth0 {
75 nvmem-cells = <&macaddr_info_8 0>;
76 nvmem-cell-names = "mac-address";
77 };
78
79 &pcie {
80 wifi@0,0 {
81 compatible = "qcom,ath10k";
82 reg = <0x0000 0 0 0 0>;
83 nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 1>;
84 nvmem-cell-names = "calibration", "mac-address";
85 };
86 };
87
88 &wmac {
89 mtd-cal-data = <&art 0x1000>;
90
91 nvmem-cells = <&macaddr_info_8 0>;
92 nvmem-cell-names = "mac-address";
93 };