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 = "hilink,hlk-7628n", "mediatek,mt7628an-soc";
10 model = "HILINK HLK-7628N";
13 compatible = "gpio-keys";
17 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
18 linux,code = <KEY_RESTART>;
23 compatible = "gpio-leds";
27 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
47 compatible = "jedec,spi-nor";
49 spi-max-frequency = <10000000>;
53 compatible = "fixed-partitions";
65 reg = <0x30000 0x10000>;
69 factory: partition@40000 {
71 reg = <0x40000 0x10000>;
75 compatible = "fixed-layout";
79 eeprom_factory_0: eeprom@0 {
83 macaddr_factory_28: macaddr@28 {
90 compatible = "denx,uimage";
92 reg = <0x50000 0x1fb0000>;
99 nvmem-cells = <&macaddr_factory_28>;
100 nvmem-cell-names = "mac-address";
106 nvmem-cells = <&eeprom_factory_0>;
107 nvmem-cell-names = "eeprom";