ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_tplink_archer-c7-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-c7-v5", "qca,qca9563";
7 model = "TP-Link Archer C7 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 5 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 partition@20000 {
31 label = "u-boot";
32 reg = <0x020000 0x020000>;
33 read-only;
34 };
35
36 partition@40000 {
37 label = "partition-table";
38 reg = <0x040000 0x010000>;
39 read-only;
40 };
41
42 art: partition@50000 {
43 label = "art";
44 reg = <0x050000 0x010000>;
45 read-only;
46
47 nvmem-layout {
48 compatible = "fixed-layout";
49 #address-cells = <1>;
50 #size-cells = <1>;
51
52 cal_art_5000: calibration@5000 {
53 reg = <0x5000 0x844>;
54 };
55 };
56 };
57
58 info: partition@60000 {
59 label = "info";
60 reg = <0x060000 0x020000>;
61 read-only;
62
63 nvmem-layout {
64 compatible = "fixed-layout";
65 #address-cells = <1>;
66 #size-cells = <1>;
67
68 macaddr_info_8: macaddr@8 {
69 compatible = "mac-base";
70 reg = <0x8 0x6>;
71 #nvmem-cell-cells = <1>;
72 };
73 };
74 };
75
76 partition@80000 {
77 label = "user-config";
78 reg = <0x080000 0x040000>;
79 read-only;
80 };
81
82 partition@c0000 {
83 label = "firmware";
84 reg = <0x0c0000 0xf00000>;
85 compatible = "denx,uimage";
86 };
87
88 partition@ff0000 {
89 label = "default-config";
90 reg = <0xff0000 0x010000>;
91 read-only;
92 };
93 };
94
95 &eth0 {
96 nvmem-cells = <&macaddr_info_8 0>;
97 nvmem-cell-names = "mac-address";
98 };
99
100 &pcie {
101 status = "okay";
102
103 wifi@0,0 {
104 compatible = "qcom,ath10k";
105 reg = <0x0000 0 0 0 0>;
106 nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
107 nvmem-cell-names = "calibration", "mac-address";
108 };
109 };
110
111 &wmac {
112 mtd-cal-data = <&art 0x1000>;
113
114 nvmem-cells = <&macaddr_info_8 0>;
115 nvmem-cell-names = "mac-address";
116 };