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,eap225-wall-v2", "qca,qca9561";
10 model = "TP-Link EAP225-Wall v2";
13 label-mac-device = ð1;
14 led-boot = &led_status;
15 led-failsafe = &led_status;
16 led-running = &led_status;
17 led-upgrade = &led_status;
21 compatible = "gpio-keys";
24 label = "Reset button";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 linux,code = <KEY_LIGHTS_TOGGLE>;
33 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 compatible = "gpio-leds";
42 label = "white:status";
43 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-export";
52 gpio-export,name = "tp-link:poe-passthrough:enable";
53 gpio-export,output = <0>;
54 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
63 compatible = "qcom,ath10k";
66 mac-address-increment = <1>;
68 nvmem-cells = <&macaddr_info_8>, <&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 {
115 compatible = "openwrt,elf";
117 reg = <0x040000 0xd80000>;
122 reg = <0xdc0000 0x030000>;
126 /* df0000-f30000 undefined in vendor firmware */
130 reg = <0xf30000 0x080000>;
136 reg = <0xfb0000 0x040000>;
140 art: partition@ff0000 {
142 reg = <0xff0000 0x010000>;
146 compatible = "fixed-layout";
147 #address-cells = <1>;
150 calibration_ath9k: calibration@1000 {
151 reg = <0x1000 0x440>;
154 precalibration_ath10k: pre-calibration@5000 {
155 reg = <0x5000 0x2f20>;
166 nvmem-cells = <&macaddr_info_8>;
167 nvmem-cell-names = "mac-address";
173 nvmem-cells = <&macaddr_info_8>, <&calibration_ath9k>;
174 nvmem-cell-names = "mac-address", "calibration";