ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9533_qca_ap143-8m.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9533_qca_ap143.dtsi"
4
5 / {
6 model = "Qualcomm Atheros AP143 (8M) reference board";
7 compatible = "qca,ap143-8m", "qca,qca9533";
8
9 virtual_flash {
10 compatible = "mtd-concat";
11 devices = <&fwconcat0 &fwconcat1>;
12
13 partitions {
14 compatible = "fixed-partitions";
15 #address-cells = <1>;
16 #size-cells = <1>;
17
18 partition@0 {
19 reg = <0x0 0x0>;
20 label = "firmware";
21 compatible = "openwrt,uimage", "denx,uimage";
22 openwrt,ih-magic = <IH_MAGIC_OKLI>;
23 };
24 };
25 };
26 };
27
28 &partitions {
29 fwconcat0: partition@50000 {
30 label = "fwconcat0";
31 reg = <0x050000 0x630000>;
32 };
33
34 partition@680000 {
35 label = "loader";
36 reg = <0x680000 0x10000>;
37 };
38
39 fwconcat1: partition@690000 {
40 label = "fwconcat1";
41 reg = <0x690000 0x160000>;
42 };
43
44 art: partition@7f0000 {
45 label = "art";
46 reg = <0x7f0000 0x010000>;
47 read-only;
48
49 nvmem-layout {
50 compatible = "fixed-layout";
51 #address-cells = <1>;
52 #size-cells = <1>;
53
54 macaddr_art_0: macaddr@0 {
55 reg = <0x0 0x6>;
56 };
57
58 macaddr_art_6: macaddr@6 {
59 reg = <0x6 0x6>;
60 };
61 };
62 };
63 };
64
65 &eth0 {
66 nvmem-cells = <&macaddr_art_0>;
67 nvmem-cell-names = "mac-address";
68 };
69
70 &eth1 {
71 nvmem-cells = <&macaddr_art_6>;
72 nvmem-cell-names = "mac-address";
73 };
74
75 &wmac {
76 mtd-cal-data = <&art 0x1000>;
77 };