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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "tplink,eap225-wall-v2", "qca,qca9561";
11 model = "TP-Link EAP225-Wall v2";
14 label-mac-device = ð1;
15 led-boot = &led_status;
16 led-failsafe = &led_status;
17 led-running = &led_status;
18 led-upgrade = &led_status;
22 compatible = "gpio-keys";
25 label = "Reset button";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 linux,code = <KEY_LIGHTS_TOGGLE>;
34 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
35 debounce-interval = <60>;
40 compatible = "gpio-leds";
43 function = LED_FUNCTION_STATUS;
44 color = <LED_COLOR_ID_WHITE>;
45 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-export";
54 gpio-export,name = "tp-link:poe-passthrough:enable";
55 gpio-export,output = <0>;
56 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
65 compatible = "qcom,ath10k";
68 nvmem-cells = <&macaddr_info_8 1>, <&precalibration_ath10k>;
69 nvmem-cell-names = "mac-address", "pre-calibration";
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <25000000>;
82 compatible = "fixed-partitions";
88 reg = <0x000000 0x020000>;
93 label = "partition-table";
94 reg = <0x020000 0x010000>;
98 info: partition@30000 {
100 reg = <0x030000 0x010000>;
104 compatible = "fixed-layout";
105 #address-cells = <1>;
108 macaddr_info_8: macaddr@8 {
109 compatible = "mac-base";
111 #nvmem-cell-cells = <1>;
117 compatible = "openwrt,elf";
119 reg = <0x040000 0xd80000>;
124 reg = <0xdc0000 0x030000>;
128 /* df0000-f30000 undefined in vendor firmware */
132 reg = <0xf30000 0x080000>;
138 reg = <0xfb0000 0x040000>;
142 art: partition@ff0000 {
144 reg = <0xff0000 0x010000>;
148 compatible = "fixed-layout";
149 #address-cells = <1>;
152 calibration_ath9k: calibration@1000 {
153 reg = <0x1000 0x440>;
156 precalibration_ath10k: pre-calibration@5000 {
157 reg = <0x5000 0x2f20>;
168 nvmem-cells = <&macaddr_info_8 0>;
169 nvmem-cell-names = "mac-address";
175 nvmem-cells = <&macaddr_info_8 0>, <&calibration_ath9k>;
176 nvmem-cell-names = "mac-address", "calibration";