3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "xiaomi,miwifi-nano", "mediatek,mt7628an-soc";
10 model = "Xiaomi MiWiFi Nano";
13 led-boot = &led_status_amber;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_blue;
16 led-upgrade = &led_status_amber;
17 label-mac-device = ðernet;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
27 led_status_blue: status_blue {
28 label = "miwifi-nano:blue:status";
29 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
32 led_status_red: status_red {
33 label = "miwifi-nano:red:status";
34 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
37 led_status_amber: status_amber {
38 label = "miwifi-nano:amber:status";
39 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys";
48 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
56 ralink,group = "gpio", "refclk", "wdt", "wled_an";
57 ralink,function = "gpio";
74 mtd-mac-address = <&factory 0x28>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <40000000>;
86 compatible = "fixed-partitions";
98 reg = <0x30000 0x10000>;
101 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
108 compatible = "denx,uimage";
110 reg = <0x50000 0xfb0000>;