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-7688a", "mediatek,mt7628an-soc";
10 model = "Hi-Link HLK-7688A";
14 led-failsafe = &led_wlan;
15 led-upgrade = &led_wlan;
19 compatible = "gpio-keys";
23 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
33 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0tpt";
41 groups = "wdt", "wled_an";
57 pinctrl-names = "default";
58 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <40000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x50000 0x1fb0000>;
99 compatible = "linux,spidev";
101 spi-max-frequency = <40000000>;
106 mtd-mac-address = <&factory 0x28>;
110 mediatek,portmap = <0x3e>;