1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "hiwifi,hc5x61a", "mediatek,mt7628an-soc";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
38 compatible = "jedec,spi-nor";
40 spi-max-frequency = <80000000>;
44 compatible = "fixed-partitions";
56 reg = <0x30000 0x10000>;
60 factory: partition@40000 {
62 reg = <0x40000 0x10000>;
67 compatible = "denx,uimage";
69 reg = <0x50000 0xf70000>;
74 reg = <0xfc0000 0x20000>;
78 bdinfo: partition@fe0000 {
80 reg = <0xfe0000 0x10000>;
86 reg = <0xff0000 0x10000>;
94 mtd-mac-address = <&factory 0x4>;