ath79: fix nanobeam ac ethernet interface
[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
3 #include "qca9561_tplink_archer-c6x.dtsi"
4
5 / {
6 compatible = "tplink,archer-c60-v1", "qca,qca9561";
7 model = "TP-Link Archer C60 v1";
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 = "u-boot";
38 reg = <0x000000 0x010000>;
39 read-only;
40 };
41
42 info: partition@10000 {
43 label = "info";
44 reg = <0x010000 0x010000>;
45 read-only;
46 };
47
48 partition@20000 {
49 compatible = "denx,uimage";
50 label = "firmware";
51 reg = <0x020000 0x7c0000>;
52 };
53
54 partition@7e0000 {
55 label = "tplink";
56 reg = <0x7e0000 0x010000>;
57 read-only;
58 };
59
60 art: partition@7f0000 {
61 label = "art";
62 reg = <0x7f0000 0x010000>;
63 read-only;
64 };
65 };
66 };
67 };