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,eap615-wall-v1", "mediatek,mt7621-soc";
11 model = "TP-Link EAP615-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 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "white:status";
30 color = <LED_COLOR_ID_WHITE>;
31 function = LED_FUNCTION_STATUS;
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys";
41 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_LIGHTS_TOGGLE>;
47 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 compatible = "gpio-export";
56 gpio-export,name = "poe-passthrough";
57 gpio-export,output = <0>;
58 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
64 reg = <0x1e100000 0xe000>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <20000000>;
76 compatible = "fixed-partitions";
87 label = "partition-table";
88 reg = <0x80000 0x10000>;
92 info: partition@90000 {
93 label = "product-info";
94 reg = <0x90000 0x10000>;
99 compatible = "denx,fit";
101 reg = <0xa0000 0xcf0000>;
105 label = "user-config";
106 reg = <0xd90000 0x60000>;
112 reg = <0xf30000 0x80000>;
118 reg = <0xfb0000 0x40000>;
122 radio: partition@ff0000 {
124 reg = <0xff0000 0x10000>;
133 groups = "uart2", "uart3";
144 compatible = "mediatek,mt76";
145 reg = <0x0000 0 0 0 0>;
146 mediatek,mtd-eeprom = <&radio 0x0>;
147 nvmem-cells = <&macaddr_info_8>;
148 nvmem-cell-names = "mac-address";
157 nvmem-cells = <&macaddr_info_8>;
158 nvmem-cell-names = "mac-address";
162 compatible = "mediatek,mt7530";
187 compatible = "nvmem-cells";
188 #address-cells = <1>;
191 macaddr_info_8: macaddr@8 {