ath79: move dts-v1 statement to ath79.dtsi
[openwrt/staging/chunkeey.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c59-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9561_tplink_archer-c5x.dtsi"
4
5 / {
6 compatible = "tplink,archer-c59-v2", "qca,qca9560";
7 model = "TP-Link Archer C59 v2";
8 };
9
10 &leds {
11 usb {
12 label = "tp-link:green:usb";
13 gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
14 linux,default-trigger = "usbport";
15 trigger-sources = <&hub_port>;
16 };
17 };
18
19 &usb0 {
20 #address-cells = <1>;
21 #size-cells = <0>;
22 status = "okay";
23
24 hub_port: port@1 {
25 reg = <1>;
26 #trigger-source-cells = <0>;
27 };
28 };
29
30 &usb_phy0 {
31 status = "okay";
32 };
33
34 &spi {
35 status = "okay";
36 num-cs = <1>;
37
38 flash@0 {
39 compatible = "jedec,spi-nor";
40 reg = <0>;
41 spi-max-frequency = <25000000>;
42
43 partitions {
44 compatible = "fixed-partitions";
45 #address-cells = <1>;
46 #size-cells = <1>;
47
48 partition@0 {
49 label = "factory-boot";
50 reg = <0x000000 0x020000>;
51 read-only;
52 };
53
54 partition@20000 {
55 label = "u-boot";
56 reg = <0x020000 0x010000>;
57 read-only;
58 };
59
60 info: partition@30000 {
61 label = "info";
62 reg = <0x030000 0x010000>;
63 read-only;
64 };
65
66 partition@40000 {
67 compatible = "denx,uimage";
68 label = "firmware";
69 reg = <0x040000 0xe10000>;
70 };
71
72 partition@e50000 {
73 label = "tplink";
74 reg = <0xe50000 0x1a0000>;
75 read-only;
76 };
77
78 art: partition@ff0000 {
79 label = "art";
80 reg = <0xff0000 0x010000>;
81 read-only;
82 };
83 };
84 };
85 };