ipq40xx: only include ath10k-board-qca4019 for the generic subtarget
[openwrt/staging/chunkeey.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 &spi {
11 status = "okay";
12
13 flash@0 {
14 compatible = "jedec,spi-nor";
15 reg = <0>;
16 spi-max-frequency = <25000000>;
17
18 partitions {
19 compatible = "fixed-partitions";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 partition@0 {
24 label = "u-boot";
25 reg = <0x000000 0x020000>;
26 read-only;
27 };
28
29 art: partition@20000 {
30 label = "art";
31 reg = <0x020000 0x010000>;
32 read-only;
33 };
34
35 partition@30000 {
36 label = "firmware";
37 compatible = "denx,uimage";
38 reg = <0x030000 0xfc0000>;
39 };
40
41 partition@ff0000 {
42 label = "nvram";
43 reg = <0xff0000 0x010000>;
44 read-only;
45 };
46 };
47 };
48 };
49
50 &eth0 {
51 nvmem-cells = <&macaddr_art_0>;
52 nvmem-cell-names = "mac-address";
53 };
54
55 &eth1 {
56 nvmem-cells = <&macaddr_art_6>;
57 nvmem-cell-names = "mac-address";
58 };
59
60 &wmac {
61 mtd-cal-data = <&art 0x1000>;
62
63 nvmem-cells = <&macaddr_art_18>;
64 nvmem-cell-names = "mac-address";
65 };
66
67 &art {
68 compatible = "nvmem-cells";
69 #address-cells = <1>;
70 #size-cells = <1>;
71
72 macaddr_art_0: macaddr@0 {
73 reg = <0x0 0x6>;
74 };
75
76 macaddr_art_6: macaddr@6 {
77 reg = <0x6 0x6>;
78 };
79
80 macaddr_art_18: macaddr@18 {
81 reg = <0x18 0x6>;
82 };
83 };