1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "hilink,hlk-7628n", "mediatek,mt7628an-soc";
11 model = "HILINK HLK-7628N";
14 bootargs = "console=ttyS0,57600";
18 compatible = "gpio-keys-polled";
23 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
32 label = "hlk-7628n:green:wlan";
33 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
39 state_default: pinctrl0 {
42 ralink,function = "gpio";
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <10000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
83 compatible = "denx,uimage";
85 reg = <0x50000 0x1fb0000>;