1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "tplink,eap235-wall-v1", "mediatek,mt7621-soc";
11 model = "TP-Link EAP235-Wall v1";
14 label-mac-device = &gmac0;
15 led-boot = &led_status;
16 led-failsafe = &led_status;
17 led-running = &led_status;
18 led-upgrade = &led_status;
22 compatible = "gpio-leds";
25 color = <LED_COLOR_ID_WHITE>;
26 function = LED_FUNCTION_STATUS;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys";
36 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_LIGHTS_TOGGLE>;
42 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 compatible = "gpio-export";
51 gpio-export,name = "poe-passthrough";
52 gpio-export,output = <0>;
53 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <20000000>;
67 compatible = "fixed-partitions";
73 reg = <0x00000 0x80000>;
78 label = "partition-table";
79 reg = <0x80000 0x10000>;
84 label = "product-info";
85 reg = <0x90000 0x10000>;
89 compatible = "fixed-layout";
93 macaddr_info_8: macaddr@8 {
94 compatible = "mac-base";
96 #nvmem-cell-cells = <1>;
102 compatible = "tplink,firmware";
104 reg = <0x0a0000 0xd20000>;
108 label = "user-config";
109 reg = <0xdc0000 0x030000>;
113 /* 0xdf0000 - 0xf30000 unused */
117 reg = <0xf30000 0x080000>;
123 reg = <0xfb0000 0x040000>;
129 reg = <0xff0000 0x010000>;
133 compatible = "fixed-layout";
134 #address-cells = <1>;
137 eeprom_radio_0: eeprom@0 {
141 eeprom_radio_8000: eeprom@8000 {
142 reg = <0x8000 0x4da8>;
152 groups = "uart2", "uart3";
163 reg = <0x0000 0 0 0 0>;
164 nvmem-cells = <&eeprom_radio_0>, <&macaddr_info_8 0>;
165 nvmem-cell-names = "eeprom", "mac-address";
171 reg = <0x0000 0 0 0 0>;
172 ieee80211-freq-limit = <5000000 6000000>;
173 nvmem-cells = <&eeprom_radio_8000>, <&macaddr_info_8 1>;
174 nvmem-cell-names = "eeprom", "mac-address";
179 nvmem-cells = <&macaddr_info_8 0>;
180 nvmem-cell-names = "mac-address";
186 phy-handle = <ðphy0>;
188 nvmem-cells = <&macaddr_info_8 0>;
189 nvmem-cell-names = "mac-address";
193 ethphy0: ethernet-phy@0 {