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 compatible = "gpio-keys";
21 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
31 compatible = "jedec,spi-nor";
33 spi-max-frequency = <40000000>;
36 compatible = "fixed-partitions";
48 reg = <0x30000 0x10000>;
52 factory: partition@40000 {
54 reg = <0x40000 0x10000>;
59 compatible = "denx,uimage";
61 reg = <0x50000 0x7b0000>;
68 mtd-mac-address = <&factory 0x4>;
72 mediatek,portmap = <0x2f>;
81 groups = "i2c", "p0led_an", "p1led_an", "refclk", "wled_an";