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>
9 compatible = "hiwifi,hc5x61a", "mediatek,mt7628an-soc";
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-keys";
27 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
37 compatible = "jedec,spi-nor";
39 spi-max-frequency = <80000000>;
43 compatible = "fixed-partitions";
55 reg = <0x30000 0x10000>;
59 factory: partition@40000 {
61 reg = <0x40000 0x10000>;
66 compatible = "denx,uimage";
68 reg = <0x50000 0xf70000>;
73 reg = <0xfc0000 0x20000>;
77 bdinfo: partition@fe0000 {
79 reg = <0xfe0000 0x10000>;
85 reg = <0xff0000 0x10000>;
93 mtd-mac-address = <&factory 0x4>;