ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_tplink_archer-a7-v5.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_tplink_archer-x7-v5.dtsi"
4
5 / {
6 compatible = "tplink,archer-a7-v5", "qca,qca9563";
7 model = "TP-Link Archer A7 v5";
8
9 aliases {
10 label-mac-device = &eth0;
11 };
12 };
13
14 &keys {
15 reset {
16 label = "Reset button";
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
20 };
21 };
22
23 &mtdparts {
24 partition@0 {
25 label = "factory-uboot";
26 reg = <0x000000 0x020000>;
27 read-only;
28 };
29
30 uboot: partition@20000 {
31 label = "u-boot";
32 reg = <0x020000 0x020000>;
33 read-only;
34 };
35
36 partition@40000 {
37 label = "firmware";
38 reg = <0x040000 0xec0000>;
39 compatible = "denx,uimage";
40 };
41
42 info: partition@f40000 {
43 label = "info";
44 reg = <0xf40000 0x020000>;
45 read-only;
46
47 nvmem-layout {
48 compatible = "fixed-layout";
49 #address-cells = <1>;
50 #size-cells = <1>;
51
52 macaddr_info_8: macaddr@8 {
53 compatible = "mac-base";
54 reg = <0x8 0x6>;
55 #nvmem-cell-cells = <1>;
56 };
57 };
58 };
59
60 config: partition@f60000 {
61 label = "config";
62 reg = <0xf60000 0x050000>;
63 read-only;
64 };
65
66 partition@fc0000 {
67 label = "partition-table";
68 reg = <0xfc0000 0x010000>;
69 read-only;
70 };
71
72 art: partition@ff0000 {
73 label = "art";
74 reg = <0xff0000 0x010000>;
75 read-only;
76
77 nvmem-layout {
78 compatible = "fixed-layout";
79 #address-cells = <1>;
80 #size-cells = <1>;
81
82 cal_art_5000: calibration@5000 {
83 reg = <0x5000 0x844>;
84 };
85 };
86 };
87 };
88
89 &eth0 {
90 nvmem-cells = <&macaddr_info_8 0>;
91 nvmem-cell-names = "mac-address";
92 };
93
94 &pcie {
95 wifi@0,0 {
96 compatible = "qcom,ath10k";
97 reg = <0x0000 0 0 0 0>;
98 nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
99 nvmem-cell-names = "calibration", "mac-address";
100 };
101 };
102
103 &wmac {
104 mtd-cal-data = <&art 0x1000>;
105
106 nvmem-cells = <&macaddr_info_8 0>;
107 nvmem-cell-names = "mac-address";
108 };