1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca9563_tplink_archer-x6-v2.dtsi"
6 compatible = "tplink,archer-c6-v2-us", "qca,qca9563";
7 model = "TP-Link Archer C6 v2 (US) / A6 v2 (US/TW)";
10 label-mac-device = ð0;
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 label = "green:power";
23 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
28 label = "green:wlan2g";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy1tpt";
34 label = "green:wlan5g";
35 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy0tpt";
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-keys";
64 label = "Reset button";
65 linux,code = <KEY_RESTART>;
66 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
67 debounce-interval = <60>;
72 linux,code = <KEY_WPS_BUTTON>;
73 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
74 debounce-interval = <60>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
88 compatible = "fixed-partitions";
93 label = "factory-boot";
94 reg = <0x000000 0x020000>;
98 info: partition@20000 {
100 reg = <0x020000 0x010000>;
104 compatible = "fixed-layout";
105 #address-cells = <1>;
108 macaddr_info_8: macaddr@8 {
116 reg = <0x030000 0x020000>;
121 compatible = "denx,uimage";
123 reg = <0x050000 0xf80000>;
128 reg = <0xfd0000 0x020000>;
132 art: partition@ff0000 {
134 reg = <0xff0000 0x010000>;
142 nvmem-cells = <&macaddr_info_8>;
143 nvmem-cell-names = "mac-address";
147 mtd-cal-data = <&art 0x1000>;
149 nvmem-cells = <&macaddr_info_8>;
150 nvmem-cell-names = "mac-address";