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 = "MiWiFi Nano";
13 bootargs = "console=ttyS0,115200";
17 device_type = "memory";
18 reg = <0x0 0x4000000>;
22 compatible = "gpio-leds";
25 label = "miwifi-nano:blue:status";
26 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
29 label = "miwifi-nano:red:status";
30 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
33 label = "miwifi-nano:amber:status";
34 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
46 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
53 state_default: pinctrl0 {
55 ralink,group = "refclk", "wled_an", "gpio";
56 ralink,function = "gpio";
63 ralink,mtd-eeprom = <&factory 0x4>;
67 mtd-mac-address = <&factory 0x28>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <10000000>;
79 m25p,chunked-io = <32>;
89 reg = <0x30000 0x10000>;
93 factory: partition@40000 {
95 reg = <0x40000 0x10000>;
101 reg = <0x50000 0xfb0000>;