3 #include "mt7620a.dtsi"
6 compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
7 model = "Xiaomi MiWiFi Mini";
10 bootargs = "console=ttyS0,115200";
14 compatible = "gpio-leds";
17 label = "miwifi-mini:blue:status";
22 label = "miwifi-mini:yellow:status";
27 label = "miwifi-mini:red:status";
33 compatible = "gpio-keys-polled";
64 compatible = "jedec,spi-nor";
66 linux,modalias = "m25p80", "w25q128";
67 spi-max-frequency = <10000000>;
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
88 reg = <0x50000 0xf80000>;
93 reg = <0xfd0000 0x10000>;
98 reg = <0xfe0000 0x10000>;
104 reg = <0xff0000 0x10000>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&ephy_pins>;
120 mtd-mac-address = <&factory 0x4>;
121 mediatek,portmap = "llllw";
125 ralink,mtd-eeprom = <&factory 0>;
133 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x8000>;
142 state_default: pinctrl0 {
144 ralink,group = "i2c", "rgmii1";
145 ralink,function = "gpio";
150 ralink,function = "pa";