ath79: add support for TP-Link Archer C60 v3
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c60-v3.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-v3", "qca,qca9561";
8 model = "TP-Link Archer C60 v3";
9 };
10
11 &leds {
12 wan_amber {
13 label = "tp-link:amber:wan";
14 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
15 };
16 };
17 &spi {
18 status = "okay";
19
20 num-cs = <1>;
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 = "factory-boot";
34 reg = <0x000000 0x01fb00>;
35 read-only;
36 };
37
38 mac: partition@1fb00 {
39 label = "mac";
40 reg = <0x01fb00 0x000500>;
41 read-only;
42 };
43
44 partition@20000 {
45 label = "u-boot";
46 reg = <0x020000 0x010000>;
47 read-only;
48 };
49
50 partition@30000 {
51 compatible = "denx,uimage";
52 label = "firmware";
53 reg = <0x030000 0x7a0000>;
54 };
55
56 partition@7d0000 {
57 label = "tplink";
58 reg = <0x7d0000 0x020000>;
59 read-only;
60 };
61
62 art: partition@7f0000 {
63 label = "art";
64 reg = <0x7f0000 0x010000>;
65 read-only;
66 };
67 };
68 };
69 };