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";
22 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 compatible = "gpio-leds";
31 label = "hlk-7628n:green:wlan";
32 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
38 state_default: pinctrl0 {
41 ralink,function = "gpio";
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0x1fb0000>;