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";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 bootargs = "console=ttyS0,57600";
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-leds";
33 label = "skw92:green:wps";
34 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
44 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
52 state_default: pinctrl0 {
54 ralink,group = "wdt", "refclk", "gpio";
55 ralink,function = "gpio";
61 mtd-mac-address = <&factory 0x28>;
66 ralink,mtd-eeprom = <&factory 0x0>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
76 m25p,chunked-io = <32>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0xfb0000>;
104 compatible = "denx,uimage";