1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qca9563_tplink_archer-x6-v2.dtsi"
8 compatible = "tplink,archer-c6-v2", "qca,qca9563";
9 model = "TP-Link Archer C6 v2 (EU/RU/JP)";
12 label-mac-device = ð0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
31 label = "green:wlan2g";
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy1tpt";
37 label = "green:wlan5g";
38 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy0tpt";
43 function = LED_FUNCTION_LAN;
44 color = <LED_COLOR_ID_GREEN>;
45 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
49 function = LED_FUNCTION_WAN;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
55 function = LED_FUNCTION_WAN;
56 color = <LED_COLOR_ID_AMBER>;
57 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
61 function = LED_FUNCTION_WPS;
62 color = <LED_COLOR_ID_GREEN>;
63 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-keys";
71 label = "Reset button";
72 linux,code = <KEY_RESTART>;
73 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
74 debounce-interval = <60>;
79 linux,code = <KEY_WPS_BUTTON>;
80 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
81 debounce-interval = <60>;
88 compatible = "qcom,ath10k";
89 reg = <0x0000 0 0 0 0>;
90 nvmem-cells = <&precal_art_5000>, <&macaddr_info_8 (-1)>;
91 nvmem-cell-names = "pre-calibration", "mac-address";
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <25000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x000000 0x020000>;
114 info: partition@20000 {
116 reg = <0x020000 0x010000>;
120 compatible = "fixed-layout";
121 #address-cells = <1>;
124 macaddr_info_8: macaddr@8 {
125 compatible = "mac-base";
127 #nvmem-cell-cells = <1>;
133 compatible = "denx,uimage";
135 reg = <0x030000 0x7a0000>;
140 reg = <0x7d0000 0x020000>;
144 art: partition@7f0000 {
146 reg = <0x7f0000 0x010000>;
150 compatible = "fixed-layout";
151 #address-cells = <1>;
154 precal_art_5000: pre-calibration@5000 {
155 reg = <0x5000 0x2f20>;
164 nvmem-cells = <&macaddr_info_8 0>;
165 nvmem-cell-names = "mac-address";
169 mtd-cal-data = <&art 0x1000>;
171 nvmem-cells = <&macaddr_info_8 0>;
172 nvmem-cell-names = "mac-address";