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 {
60 compatible = "nvmem-cells";
62 reg = <0x40000 0x10000>;
67 eeprom_factory_0: eeprom@0 {
71 eeprom_factory_8000: eeprom@8000 {
75 macaddr_factory_4: macaddr@4 {
79 macaddr_factory_2e: macaddr@2e {
85 compatible = "denx,uimage";
87 reg = <0x50000 0xf70000>;
92 reg = <0xfc0000 0x20000>;
96 bdinfo: partition@fe0000 {
98 reg = <0xfe0000 0x10000>;
104 reg = <0xff0000 0x10000>;
112 nvmem-cells = <&macaddr_factory_4>;
113 nvmem-cell-names = "mac-address";
119 nvmem-cells = <&eeprom_factory_0>;
120 nvmem-cell-names = "eeprom";