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 {
94 nvmem-cells = <&macaddr_info_8>;
95 nvmem-cell-names = "mac-address";
101 mtd-cal-data = <&art 0x1000>;
103 nvmem-cells = <&macaddr_info_8>;
104 nvmem-cell-names = "mac-address";
111 compatible = "jedec,spi-nor";
113 spi-max-frequency = <25000000>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
122 reg = <0x000000 0x020000>;
126 info: partition@20000 {
128 reg = <0x020000 0x010000>;
133 compatible = "denx,uimage";
135 reg = <0x030000 0xce0000>;
140 reg = <0xd10000 0x2e0000>;
144 art: partition@ff0000 {
146 reg = <0xff0000 0x010000>;
154 compatible = "nvmem-cells";
155 #address-cells = <1>;
158 macaddr_info_8: macaddr@8 {