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 nvmem-cells = <&macaddr_factory_28>;
107 nvmem-cell-names = "mac-address";
111 mediatek,portmap = <0x3e>;
117 mediatek,mtd-eeprom = <&factory 0x0>;
121 compatible = "nvmem-cells";
122 #address-cells = <1>;
125 macaddr_factory_28: macaddr@28 {