4430d05247ec2e03964d3d4c760b398756c424b4
[openwrt/staging/rmilecki.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c59-v1.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-v1", "qca,qca9560";
7 model = "TP-Link Archer C59 v1";
8 };
9
10 &leds {
11 usb {
12 label = "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 = "u-boot";
50 reg = <0x000000 0x010000>;
51 read-only;
52 };
53
54 info: partition@10000 {
55 label = "info";
56 reg = <0x010000 0x010000>;
57 read-only;
58 };
59
60 partition@20000 {
61 compatible = "denx,uimage";
62 label = "firmware";
63 reg = <0x020000 0xe30000>;
64 };
65
66 partition@e50000 {
67 label = "tplink";
68 reg = <0xe50000 0x1a0000>;
69 read-only;
70 };
71
72 art: partition@ff0000 {
73 label = "art";
74 reg = <0xff0000 0x010000>;
75 read-only;
76 };
77 };
78 };
79 };