ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_tplink_tl-wpa8630p-v2.0-eu.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_tplink_tl-wpa8630.dtsi"
4
5 / {
6 compatible = "tplink,tl-wpa8630p-v2.0-eu", "qca,qca9563";
7 model = "TP-Link WPA8630P v2.0 (EU)";
8
9 aliases {
10 label-mac-device = &eth0;
11 };
12 };
13
14 &partitions {
15 partition@0 {
16 label = "factory-uboot";
17 reg = <0x000000 0x020000>;
18 read-only;
19 };
20
21 partition@20000 {
22 label = "u-boot";
23 reg = <0x020000 0x020000>;
24 read-only;
25 };
26
27 partition@40000 {
28 compatible = "tplink,firmware";
29 label = "firmware";
30 reg = <0x040000 0x5e0000>;
31 };
32
33 partition@620000 {
34 label = "partition-table";
35 reg = <0x620000 0x010000>;
36 read-only;
37 };
38
39 info: partition@630000 {
40 label = "info";
41 reg = <0x630000 0x010000>;
42 read-only;
43
44 nvmem-layout {
45 compatible = "fixed-layout";
46 #address-cells = <1>;
47 #size-cells = <1>;
48
49 macaddr_info_8: macaddr@8 {
50 compatible = "mac-base";
51 reg = <0x8 0x6>;
52 #nvmem-cell-cells = <1>;
53 };
54 };
55 };
56
57 partition@640000 {
58 label = "tplink";
59 reg = <0x640000 0x1b0000>;
60 read-only;
61 };
62
63 art: partition@7f0000 {
64 label = "art";
65 reg = <0x7f0000 0x010000>;
66 read-only;
67
68 nvmem-layout {
69 compatible = "fixed-layout";
70 #address-cells = <1>;
71 #size-cells = <1>;
72
73 precal_art_5000: pre-calibration@5000 {
74 reg = <0x5000 0x2f20>;
75 };
76 };
77 };
78 };
79
80 &eth0 {
81 nvmem-cells = <&macaddr_info_8 0>;
82 nvmem-cell-names = "mac-address";
83 };
84
85 &pcie {
86 wifi@0,0 {
87 compatible = "qcom,ath10k";
88 reg = <0x0000 0 0 0 0>;
89 nvmem-cells = <&precal_art_5000>, <&macaddr_info_8 1>;
90 nvmem-cell-names = "pre-calibration", "mac-address";
91 };
92 };
93
94 &wmac {
95 mtd-cal-data = <&art 0x1000>;
96
97 nvmem-cells = <&macaddr_info_8 0>;
98 nvmem-cell-names = "mac-address";
99 };