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