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>
10 led-boot = &led_internet_blue;
11 led-failsafe = &led_internet_red;
12 led-running = &led_internet_blue;
13 led-upgrade = &led_internet_red;
14 label-mac-device = &gmac0;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-keys";
26 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>;
38 compatible = "gpio-leds";
40 led_internet_blue: internet_blue {
41 label = "blue:internet";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 led_internet_red: internet_red {
46 label = "red:internet";
47 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <50000000>;
61 partitions: partitions {
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
84 /* additional partitions in DTS */
95 compatible = "mediatek,mt76";
96 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x0000>;
98 mediatek,disable-radar-background;
105 phy-handle = <ðphy4>;
109 ethphy4: ethernet-phy@4 {
140 groups = "uart3", "jtag";