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