1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_power_yellow;
11 led-failsafe = &led_power_yellow;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_yellow;
14 label-mac-device = ðernet;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
24 led_power_blue: power_blue {
26 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
29 led_power_yellow: power_yellow {
30 label = "yellow:power";
31 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
36 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <10000000>;
59 partitions: partitions {
60 compatible = "fixed-partitions";
72 reg = <0x20000 0x10000>;
76 factory: partition@30000 {
78 reg = <0x30000 0x10000>;
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0x10000>;
94 /* additional partitions in DTS */
101 groups = "gpio", "refclk", "wdt", "wled_an";
109 mediatek,mtd-eeprom = <&factory 0x0>;