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;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
23 led_power_blue: power_blue {
25 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
28 led_power_yellow: power_yellow {
29 label = "yellow:power";
30 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys";
39 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <10000000>;
53 partitions: partitions {
54 compatible = "fixed-partitions";
66 reg = <0x20000 0x10000>;
70 factory: partition@30000 {
72 reg = <0x30000 0x10000>;
78 reg = <0x40000 0x10000>;
84 reg = <0x50000 0x10000>;
88 /* additional partitions in DTS */
95 groups = "gpio", "wdt", "wled_an";