ath79: drop num-cs for SPI controller
[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
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
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 = "u-boot";
49 reg = <0x000000 0x010000>;
50 read-only;
51 };
52
53 info: partition@10000 {
54 label = "info";
55 reg = <0x010000 0x010000>;
56 read-only;
57 };
58
59 partition@20000 {
60 compatible = "denx,uimage";
61 label = "firmware";
62 reg = <0x020000 0xe30000>;
63 };
64
65 partition@e50000 {
66 label = "tplink";
67 reg = <0xe50000 0x1a0000>;
68 read-only;
69 };
70
71 art: partition@ff0000 {
72 label = "art";
73 reg = <0xff0000 0x010000>;
74 read-only;
75 };
76 };
77 };
78 };