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>;
65 compatible = "fixed-layout";
69 eeprom_factory_0: eeprom@0 {
73 eeprom_factory_8000: eeprom@8000 {
77 macaddr_factory_4: macaddr@4 {
81 macaddr_factory_2e: macaddr@2e {
88 compatible = "denx,uimage";
90 reg = <0x50000 0xf70000>;
95 reg = <0xfc0000 0x20000>;
99 bdinfo: partition@fe0000 {
101 reg = <0xfe0000 0x10000>;
107 reg = <0xff0000 0x10000>;
115 nvmem-cells = <&macaddr_factory_4>;
116 nvmem-cell-names = "mac-address";
122 nvmem-cells = <&eeprom_factory_0>;
123 nvmem-cell-names = "eeprom";