ath79: Add support for TP-Link Archer C60 v2
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c60-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9561_tplink_archer-c6x.dtsi"
5
6 / {
7         compatible = "tplink,archer-c60-v2", "qca,qca9561";
8         model = "TP-Link Archer C60 v2";
9 };
10
11 &spi {
12         status = "okay";
13         num-cs = <1>;
14
15         flash@0 {
16                 compatible = "jedec,spi-nor";
17                 reg = <0>;
18                 spi-max-frequency = <25000000>;
19
20                 partitions {
21                         compatible = "fixed-partitions";
22                         #address-cells = <1>;
23                         #size-cells = <1>;
24
25                         partition@0 {
26                                 label = "factory-boot";
27                                 reg = <0x000000 0x01fb00>;
28                                 read-only;
29                         };
30
31                         mac: partition@1fb00 {
32                                 label = "mac";
33                                 reg = <0x01fb00 0x000500>;
34                                 read-only;
35                         };
36
37                         partition@20000 {
38                                 label = "u-boot";
39                                 reg = <0x020000 0x010000>;
40                                 read-only;
41                         };
42
43                         partition@30000 {
44                                 compatible = "denx,uimage";
45                                 label = "firmware";
46                                 reg = <0x030000 0x7a0000>;
47                         };
48
49                         partition@7d0000 {
50                                 label = "tplink";
51                                 reg = <0x7d0000 0x020000>;
52                                 read-only;
53                         };
54
55                         art: partition@7f0000 {
56                                 label = "art";
57                                 reg = <0x7f0000 0x010000>;
58                                 read-only;
59                         };
60                 };
61         };
62 };