1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca9561_tplink_archer-c5x.dtsi"
10 compatible = "tplink,archer-c59-v1", "qca,qca9560";
11 model = "TP-LINK Archer C59 v1";
15 led-failsafe = &power;
21 compatible = "gpio-leds";
24 label = "tp-link:green:power";
25 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
30 label = "tp-link:green:wlan2g";
31 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy1tpt";
33 default-state = "off";
37 label = "tp-link:green:wlan5g";
38 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy0tpt";
40 default-state = "off";
44 label = "tp-link:green:wan";
45 gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
46 default-state = "off";
50 label = "tp-link:amber:wan";
51 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
52 default-state = "off";
56 label = "tp-link:green:lan";
57 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
58 default-state = "off";
62 label = "tp-link:green:wps";
63 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
64 default-state = "off";
68 label = "tp-link:green:usb";
69 gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
70 default-state = "off";
71 linux,default-trigger = "usbport";
72 trigger-sources = <&hub_port>;
84 #trigger-source-cells = <0>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <25000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x010000>;
112 mac: partition@10000 {
114 reg = <0x010000 0x010000>;
119 compatible = "denx,uimage";
121 reg = <0x020000 0xe30000>;
126 reg = <0xe50000 0x1a0000>;
130 art: partition@ff0000 {
132 reg = <0xff0000 0x010000>;
141 mtd-mac-address = <&mac 0x8>;
142 mtd-mac-address-increment = <1>;
147 mtd-mac-address = <&mac 0x8>;
152 mtd-cal-data = <&art 0x1000>;
153 mtd-mac-address = <&mac 0x8>;