ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_tplink_tl-wpa8630-v1.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-wpa8630-v1", "qca,qca9563";
7 model = "TP-Link TL-WPA8630 v1";
8
9 aliases {
10 label-mac-device = &eth0;
11 };
12 };
13
14 &partitions {
15 uboot: partition@0 {
16 label = "u-boot";
17 reg = <0x000000 0x010000>;
18 read-only;
19
20 nvmem-layout {
21 compatible = "fixed-layout";
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 macaddr_uboot_fc00: macaddr@fc00 {
26 compatible = "mac-base";
27 reg = <0xfc00 0x6>;
28 #nvmem-cell-cells = <1>;
29 };
30 };
31 };
32
33 partition@10000 {
34 compatible = "tplink,firmware";
35 label = "firmware";
36 reg = <0x010000 0x7d0000>;
37 };
38
39 partition@7e0000 {
40 label = "mib0";
41 reg = <0x7e0000 0x010000>;
42 read-only;
43 };
44
45 art: partition@7f0000 {
46 label = "art";
47 reg = <0x7f0000 0x010000>;
48 read-only;
49
50 nvmem-layout {
51 compatible = "fixed-layout";
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 cal_art_5000: calibration@5000 {
56 reg = <0x5000 0x844>;
57 };
58 };
59 };
60 };
61
62 &eth0 {
63 nvmem-cells = <&macaddr_uboot_fc00 0>;
64 nvmem-cell-names = "mac-address";
65 };
66
67 &pcie {
68 wifi@0,0 {
69 compatible = "qcom,ath10k";
70 reg = <0x0000 0 0 0 0>;
71 nvmem-cells = <&cal_art_5000>, <&macaddr_uboot_fc00 1>;
72 nvmem-cell-names = "calibration", "mac-address";
73 };
74 };
75
76 &wmac {
77 mtd-cal-data = <&art 0x1000>;
78
79 nvmem-cells = <&macaddr_uboot_fc00 0>;
80 nvmem-cell-names = "mac-address";
81 };