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 compatible = "gpio-keys";
40 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <10000000>;
54 partitions: partitions {
55 compatible = "fixed-partitions";
67 reg = <0x20000 0x10000>;
71 factory: partition@30000 {
73 reg = <0x30000 0x10000>;
79 reg = <0x40000 0x10000>;
85 reg = <0x50000 0x10000>;
89 /* additional partitions in DTS */
96 groups = "gpio", "wdt", "wled_an";
104 mediatek,mtd-eeprom = <&factory 0x0>;