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-c58-v1", "qca,qca9560";
11 model = "TP-Link Archer C58 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";
36 label = "tp-link:green:wlan5g";
37 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
42 label = "tp-link:green:wan";
43 gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
47 label = "tp-link:amber:wan";
48 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
52 label = "tp-link:green:lan";
53 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
57 label = "tp-link:green:wps";
58 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <25000000>;
73 compatible = "fixed-partitions";
79 reg = <0x000000 0x010000>;
83 mac: partition@10000 {
85 reg = <0x010000 0x010000>;
90 compatible = "denx,uimage";
92 reg = <0x020000 0x7c0000>;
97 reg = <0x7e0000 0x010000>;
101 art: partition@7f0000 {
103 reg = <0x7f0000 0x010000>;
112 mtd-mac-address = <&mac 0x8>;
113 mtd-mac-address-increment = <1>;
118 mtd-mac-address = <&mac 0x8>;
123 mtd-cal-data = <&art 0x1000>;
124 mtd-mac-address = <&mac 0x8>;