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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "skylab,skw92a", "mediatek,mt7628an-soc";
11 model = "SKYLAB SKW92A";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_WPS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_WLAN;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys";
39 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
47 groups = "wdt", "refclk", "wled_an";
53 nvmem-cells = <&macaddr_factory_28>;
54 nvmem-cell-names = "mac-address";
60 nvmem-cells = <&eeprom_factory_0>;
61 nvmem-cell-names = "eeprom";
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
91 reg = <0x40000 0x10000>;
95 compatible = "fixed-layout";
99 eeprom_factory_0: eeprom@0 {
103 macaddr_factory_28: macaddr@28 {
111 reg = <0x50000 0xfb0000>;
112 compatible = "denx,uimage";