ath79: add support for TP-Link Archer C60 v3
[openwrt/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 &leds {
12 wan_amber {
13 label = "tp-link:amber:wan";
14 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
15 };
16
17 wps {
18 label = "tp-link:green:wps";
19 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
20 };
21 };
22
23 &spi {
24 status = "okay";
25 num-cs = <1>;
26
27 flash@0 {
28 compatible = "jedec,spi-nor";
29 reg = <0>;
30 spi-max-frequency = <25000000>;
31
32 partitions {
33 compatible = "fixed-partitions";
34 #address-cells = <1>;
35 #size-cells = <1>;
36
37 partition@0 {
38 label = "factory-boot";
39 reg = <0x000000 0x01fb00>;
40 read-only;
41 };
42
43 mac: partition@1fb00 {
44 label = "mac";
45 reg = <0x01fb00 0x000500>;
46 read-only;
47 };
48
49 partition@20000 {
50 label = "u-boot";
51 reg = <0x020000 0x010000>;
52 read-only;
53 };
54
55 partition@30000 {
56 compatible = "denx,uimage";
57 label = "firmware";
58 reg = <0x030000 0x7a0000>;
59 };
60
61 partition@7d0000 {
62 label = "tplink";
63 reg = <0x7d0000 0x020000>;
64 read-only;
65 };
66
67 art: partition@7f0000 {
68 label = "art";
69 reg = <0x7f0000 0x010000>;
70 read-only;
71 };
72 };
73 };
74 };