1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
9 model = "TP-Link EAP225 v5";
10 compatible = "tplink,eap225-v5", "mediatek,mt7629";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_amber;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_amber;
21 stdout-path = "serial0:115200n8";
22 bootargs-override = "console=ttyS0,115200n8";
26 compatible = "gpio-keys";
30 gpios = <&pio 21 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
38 led_status_green: status_green {
39 function = LED_FUNCTION_STATUS;
40 color = <LED_COLOR_ID_GREEN>;
41 gpios = <&pio 55 GPIO_ACTIVE_HIGH>;
45 led_status_amber: status_amber {
46 function = LED_FUNCTION_STATUS;
47 color = <LED_COLOR_ID_AMBER>;
48 gpios = <&pio 56 GPIO_ACTIVE_HIGH>;
54 pinctrl-names = "default";
55 pinctrl-0 = <ð_pins>;
56 pinctrl-1 = <&ephy_leds_pins>;
60 compatible = "mediatek,eth-mac";
64 nvmem-cells = <&macaddr_factory_8>;
65 nvmem-cell-names = "mac-address";
72 phy0: ethernet-phy@0 {
81 pinctrl-names = "default";
82 pinctrl-0 = <&qspi_pins>;
85 compatible = "jedec,spi-nor";
89 compatible = "fixed-partitions";
95 reg = <0x0 0x00080000>;
101 reg = <0x00080000 0x00010000>;
107 reg = <0x00090000 0x00010000>;
111 compatible = "fixed-layout";
112 #address-cells = <1>;
115 macaddr_factory_8: macaddr@8 {
123 reg = <0x000A0000 0x00010000>;
129 reg = <0x000B0000 0x00010000>;
133 /* Vendor layout: kernel (0x000C0000 0x001A0000) - rootfs (0x00260000 0x00BE0000) */
134 /* OpenWrt flash layout: combine kernel and rootfs from OEM layout */
137 reg = <0x000C0000 0x00D80000>;
142 reg = <0x00E40000 0x0001B0000>;
157 ephy_leds_pins: ephy-leds-pins {
160 groups = "ephy_leds";
164 qspi_pins: qspi-pins {
171 uart0_pins: uart0-pins {
174 groups = "uart0_txd_rxd" ;
178 watchdog_pins: watchdog-pins {
180 function = "watchdog";
187 pinctrl-names = "default";
188 pinctrl-0 = <&uart0_pins>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&watchdog_pins>;