1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wa1201-v2", "qca,qca9563";
10 model = "TP-Link TL-WA1201 v2";
13 label-mac-device = ð0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
22 compatible = "gpio-leds";
25 label = "green:power";
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";
44 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys";
52 label = "Reset button";
53 linux,code = <KEY_RESTART>;
54 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
55 debounce-interval = <60>;
60 linux,code = <KEY_WPS_BUTTON>;
61 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
62 debounce-interval = <60>;
67 compatible = "virtual,mdio-gpio";
72 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>, /* MDC */
73 <&gpio 4 GPIO_ACTIVE_HIGH>; /* MDIO */
75 phy4: ethernet-phy@4 {
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";
101 nvmem-cells = <&macaddr_info_8 0>;
102 nvmem-cell-names = "mac-address";
108 mtd-cal-data = <&art 0x1000>;
110 nvmem-cells = <&macaddr_info_8 0>;
111 nvmem-cell-names = "mac-address";
118 compatible = "jedec,spi-nor";
120 spi-max-frequency = <25000000>;
123 compatible = "fixed-partitions";
124 #address-cells = <1>;
129 reg = <0x000000 0x020000>;
133 info: partition@20000 {
135 reg = <0x020000 0x010000>;
139 compatible = "fixed-layout";
140 #address-cells = <1>;
143 macaddr_info_8: macaddr@8 {
144 compatible = "mac-base";
146 #nvmem-cell-cells = <1>;
152 compatible = "denx,uimage";
154 reg = <0x030000 0xce0000>;
159 reg = <0xd10000 0x2e0000>;
163 art: partition@ff0000 {
165 reg = <0xff0000 0x010000>;
169 compatible = "fixed-layout";
170 #address-cells = <1>;
173 precal_art_5000: pre-calibration@5000 {
174 reg = <0x5000 0x2f20>;