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 = "glinet,vixmini", "mediatek,mt7628an-soc";
11 model = "GL.iNet VIXMINI";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
28 label = "vixmini:blue:power";
30 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
34 label = "vixmini:white:wlan";
35 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy0tpt";
41 compatible = "gpio-keys-polled";
46 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
53 state_default: pinctrl0 {
55 ralink,group = "wdt", "wled_an", "p1led_an";
56 ralink,function = "gpio";
62 mtd-mac-address = <&factory 0x4>;
68 ralink,mtd-eeprom = <&factory 0x0>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
98 reg = <0x40000 0x10000>;
103 compatible = "denx,uimage";
105 reg = <0x50000 0x7b0000>;