1 // SPDX-License-Identifier: GPL-2.0+
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 bootargs = "console=ttyS0,57600";
21 compatible = "gpio-keys";
25 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
35 compatible = "jedec,spi-nor";
37 spi-max-frequency = <40000000>;
40 compatible = "fixed-partitions";
52 reg = <0x30000 0x10000>;
56 factory: partition@40000 {
58 reg = <0x40000 0x10000>;
63 compatible = "denx,uimage";
65 reg = <0x50000 0x7b0000>;
72 mtd-mac-address = <&factory 0x4>;
76 mediatek,portmap = <0x2f>;
85 groups = "i2c", "p0led_an", "p1led_an", "refclk", "wled_an";