3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
9 model = "Xiaomi MiWiFi Mini";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-leds";
19 label = "miwifi-mini:blue:status";
24 label = "miwifi-mini:yellow:status";
29 label = "miwifi-mini:red:status";
35 compatible = "gpio-keys-polled";
43 linux,code = <KEY_RESTART>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0xf80000>;
94 reg = <0xfd0000 0x10000>;
99 reg = <0xfe0000 0x10000>;
105 reg = <0xff0000 0x10000>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&ephy_pins>;
121 mtd-mac-address = <&factory 0x28>;
122 mediatek,portmap = "llllw";
126 ralink,mtd-eeprom = <&factory 0>;
134 reg = <0x0000 0 0 0 0>;
136 mediatek,mtd-eeprom = <&factory 0x8000>;
143 state_default: pinctrl0 {
145 ralink,group = "i2c", "rgmii1";
146 ralink,function = "gpio";
151 ralink,function = "pa";