ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9558_comfast_cf-wr650ac.dtsi"
4
5 / {
6 compatible = "comfast,cf-wr650ac-v1", "qca,qca9558";
7 model = "Comfast CF-WR650AC v1";
8 };
9
10 &pcie0 {
11 wifi@0,0 {
12 compatible = "qcom,ath10k";
13 reg = <0x0000 0 0 0 0>;
14 nvmem-cells = <&cal_art_5000>;
15 nvmem-cell-names = "calibration";
16 };
17 };
18
19 &spi {
20 status = "okay";
21
22 flash@0 {
23 compatible = "jedec,spi-nor";
24 reg = <0>;
25 spi-max-frequency = <25000000>;
26
27 partitions {
28 compatible = "fixed-partitions";
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 partition@0 {
33 label = "u-boot";
34 reg = <0x000000 0x020000>;
35 read-only;
36 };
37
38 art: partition@20000 {
39 label = "art";
40 reg = <0x020000 0x010000>;
41 read-only;
42
43 nvmem-layout {
44 compatible = "fixed-layout";
45 #address-cells = <1>;
46 #size-cells = <1>;
47
48 macaddr_art_0: macaddr@0 {
49 reg = <0x0 0x6>;
50 };
51
52 macaddr_art_6: macaddr@6 {
53 reg = <0x6 0x6>;
54 };
55
56 macaddr_art_18: macaddr@18 {
57 reg = <0x18 0x6>;
58 };
59
60 cal_art_5000: calibration@5000 {
61 reg = <0x5000 0x844>;
62 };
63 };
64 };
65
66 partition@30000 {
67 label = "firmware";
68 compatible = "denx,uimage";
69 reg = <0x030000 0xfc0000>;
70 };
71
72 partition@ff0000 {
73 label = "nvram";
74 reg = <0xff0000 0x010000>;
75 read-only;
76 };
77 };
78 };
79 };
80
81 &eth0 {
82 nvmem-cells = <&macaddr_art_0>;
83 nvmem-cell-names = "mac-address";
84 };
85
86 &eth1 {
87 nvmem-cells = <&macaddr_art_6>;
88 nvmem-cell-names = "mac-address";
89 };
90
91 &wmac {
92 mtd-cal-data = <&art 0x1000>;
93
94 nvmem-cells = <&macaddr_art_18>;
95 nvmem-cell-names = "mac-address";
96 };