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,eap613-v1", "mediatek,mt7621-soc";
11 model = "TP-Link EAP613 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 color = <LED_COLOR_ID_BLUE>;
30 function = LED_FUNCTION_STATUS;
31 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys";
40 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <20000000>;
55 compatible = "fixed-partitions";
66 label = "partition-table";
67 reg = <0x80000 0x10000>;
72 label = "product-info";
73 reg = <0x90000 0x10000>;
77 compatible = "fixed-layout";
88 compatible = "denx,fit";
90 reg = <0xa0000 0xcf0000>;
94 label = "user-config";
95 reg = <0xd90000 0x60000>;
101 reg = <0xf30000 0x80000>;
107 reg = <0xfb0000 0x40000>;
113 reg = <0xff0000 0x10000>;
117 compatible = "fixed-layout";
118 #address-cells = <1>;
121 eeprom_radio_0: eeprom@0 {
143 compatible = "mediatek,mt76";
144 reg = <0x0000 0 0 0 0>;
145 nvmem-cells = <&eeprom_radio_0>;
146 nvmem-cell-names = "eeprom";
147 mediatek,disable-radar-background;
152 nvmem-cells = <&macaddr>;
153 nvmem-cell-names = "mac-address";