ath79: add support for TP-Link Archer C60 v3
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c60-v1.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-v1", "qca,qca9561";
8 model = "TP-Link Archer C60 v1";
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 = "u-boot";
39 reg = <0x000000 0x010000>;
40 read-only;
41 };
42
43 mac: partition@10000 {
44 label = "mac";
45 reg = <0x010000 0x010000>;
46 read-only;
47 };
48
49 partition@20000 {
50 compatible = "denx,uimage";
51 label = "firmware";
52 reg = <0x020000 0x7c0000>;
53 };
54
55 partition@7e0000 {
56 label = "tplink";
57 reg = <0x7e0000 0x010000>;
58 read-only;
59 };
60
61 art: partition@7f0000 {
62 label = "art";
63 reg = <0x7f0000 0x010000>;
64 read-only;
65 };
66 };
67 };
68 };