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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "hilink,hlk-7628n", "mediatek,mt7628an-soc";
11 model = "HILINK HLK-7628N";
14 compatible = "gpio-keys";
18 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
24 compatible = "gpio-leds";
27 function = LED_FUNCTION_WLAN;
28 color = <LED_COLOR_ID_GREEN>;
29 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <10000000>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
73 reg = <0x40000 0x10000>;
77 compatible = "fixed-layout";
81 eeprom_factory_0: eeprom@0 {
85 macaddr_factory_28: macaddr@28 {
92 compatible = "denx,uimage";
94 reg = <0x50000 0x1fb0000>;
101 nvmem-cells = <&macaddr_factory_28>;
102 nvmem-cell-names = "mac-address";
108 nvmem-cells = <&eeprom_factory_0>;
109 nvmem-cell-names = "eeprom";