1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca956x.dtsi"
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 label = "tp-link:white:status";
44 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-export";
53 gpio-export,name = "tp-link:poe-passthrough:enable";
54 gpio-export,output = <0>;
55 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <25000000>;
78 compatible = "fixed-partitions";
84 reg = <0x000000 0x020000>;
89 label = "partition-table";
90 reg = <0x020000 0x010000>;
94 info: partition@30000 {
96 reg = <0x030000 0x010000>;
101 compatible = "openwrt,elf";
103 reg = <0x040000 0xd80000>;
108 reg = <0xdc0000 0x030000>;
112 /* df0000-f30000 undefined in vendor firmware */
116 reg = <0xf30000 0x080000>;
122 reg = <0xfb0000 0x040000>;
126 art: partition@ff0000 {
128 reg = <0xff0000 0x010000>;
138 mtd-mac-address = <&info 0x8>;
144 mtd-cal-data = <&art 0x1000>;
145 mtd-mac-address = <&info 0x8>;