ath79: apply Engenius ECB1750 style to OpenMesh MR900 RGMII cfg
[openwrt/openwrt.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 = "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
37 flash@0 {
38 compatible = "jedec,spi-nor";
39 reg = <0>;
40 spi-max-frequency = <25000000>;
41
42 partitions {
43 compatible = "fixed-partitions";
44 #address-cells = <1>;
45 #size-cells = <1>;
46
47 partition@0 {
48 label = "factory-boot";
49 reg = <0x000000 0x020000>;
50 read-only;
51 };
52
53 partition@20000 {
54 label = "u-boot";
55 reg = <0x020000 0x010000>;
56 read-only;
57 };
58
59 info: partition@30000 {
60 label = "info";
61 reg = <0x030000 0x010000>;
62 read-only;
63 };
64
65 partition@40000 {
66 compatible = "denx,uimage";
67 label = "firmware";
68 reg = <0x040000 0xe10000>;
69 };
70
71 partition@e50000 {
72 label = "tplink";
73 reg = <0xe50000 0x1a0000>;
74 read-only;
75 };
76
77 art: partition@ff0000 {
78 label = "art";
79 reg = <0xff0000 0x010000>;
80 read-only;
81 };
82 };
83 };
84 };