1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
11 led-boot = &led_status_amber;
12 led-failsafe = &led_status_green;
13 led-running = &led_status_green;
14 led-upgrade = &led_status_amber;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-keys";
26 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>;
38 compatible = "gpio-leds";
40 led_status_amber: led-0 {
41 label = "amber:status";
42 color = <LED_COLOR_ID_AMBER>;
43 function = LED_FUNCTION_STATUS;
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 led_status_green: led-1 {
48 label = "green:status";
49 color = <LED_COLOR_ID_GREEN>;
50 function = LED_FUNCTION_STATUS;
51 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 phy-handle = <ðphy4>;
63 ethphy4: ethernet-phy@4 {
72 mediatek,bmt-max-ratio = <1>;
73 mediatek,bmt-max-reserved-blocks = <64>;
74 mediatek,bmt-remap-range = <0x0000000 0x0a00000>;
77 compatible = "fixed-partitions";
83 reg = <0x0000000 0x0080000>;
89 reg = <0x0080000 0x0080000>;
94 reg = <0x0100000 0x0080000>;
98 factory: partition@180000 {
100 reg = <0x0180000 0x0080000>;
106 reg = <0x0200000 0x7600000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
114 reg = <0x0000000 0x0800000>;
119 reg = <0x0800000 0x6e00000>;
123 /* last 8 MiB is reserved for NMBM bad block table */
133 compatible = "mediatek,mt76";
134 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x0>;
136 mediatek,disable-radar-background;