1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/input.h>
8 model = "TP-Link EAP225 v5";
9 compatible = "tplink,eap225-v5", "mediatek,mt7629";
12 led-boot = &led_status_green;
13 led-failsafe = &led_status_amber;
14 led-running = &led_status_green;
15 led-upgrade = &led_status_amber;
20 stdout-path = "serial0:115200n8";
21 bootargs-override = "console=ttyS0,115200n8";
25 compatible = "gpio-keys";
29 gpios = <&pio 21 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
37 led_status_green: status_green {
38 label = "green:status";
39 gpios = <&pio 55 GPIO_ACTIVE_HIGH>;
43 led_status_amber: status_amber {
44 label = "amber:status";
45 gpios = <&pio 56 GPIO_ACTIVE_HIGH>;
51 pinctrl-names = "default";
52 pinctrl-0 = <ð_pins>;
53 pinctrl-1 = <&ephy_leds_pins>;
57 compatible = "mediatek,eth-mac";
61 nvmem-cells = <&macaddr_factory_8>;
62 nvmem-cell-names = "mac-address";
69 phy0: ethernet-phy@0 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&qspi_pins>;
82 compatible = "jedec,spi-nor";
86 compatible = "fixed-partitions";
92 reg = <0x0 0x00080000>;
98 reg = <0x00080000 0x00010000>;
104 reg = <0x00090000 0x00010000>;
105 compatible = "nvmem-cells";
108 macaddr_factory_8: macaddr@8 {
115 reg = <0x000A0000 0x00010000>;
121 reg = <0x000B0000 0x00010000>;
125 /* Vendor layout: kernel (0x000C0000 0x001A0000) - rootfs (0x00260000 0x00BE0000) */
126 /* OpenWrt flash layout: combine kernel and rootfs from OEM layout */
129 reg = <0x000C0000 0x00D80000>;
134 reg = <0x00E40000 0x0001B0000>;
149 ephy_leds_pins: ephy-leds-pins {
152 groups = "ephy_leds";
156 qspi_pins: qspi-pins {
163 uart0_pins: uart0-pins {
166 groups = "uart0_txd_rxd" ;
170 watchdog_pins: watchdog-pins {
172 function = "watchdog";
179 pinctrl-names = "default";
180 pinctrl-0 = <&uart0_pins>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&watchdog_pins>;