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 = "skylab,skw92a", "mediatek,mt7628an-soc";
11 model = "SKYLAB SKW92A";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
19 bootargs = "console=ttyS0,57600";
23 device_type = "memory";
24 reg = <0x0 0x4000000>;
28 compatible = "gpio-leds";
31 label = "skw92a:green:wps";
32 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
36 label = "skw92a:green:wlan";
37 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
47 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
54 state_default: pinctrl0 {
56 ralink,group = "wdt", "refclk", "wled_an";
57 ralink,function = "gpio";
63 mtd-mac-address = <&factory 0x28>;
68 ralink,mtd-eeprom = <&factory 0x0>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
78 m25p,chunked-io = <32>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
105 reg = <0x50000 0xfb0000>;
106 compatible = "denx,uimage";