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 linux,modalias = "m25p80", "w25q128";
69 spi-max-frequency = <10000000>;
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0xf80000>;
95 reg = <0xfd0000 0x10000>;
100 reg = <0xfe0000 0x10000>;
106 reg = <0xff0000 0x10000>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&ephy_pins>;
122 mtd-mac-address = <&factory 0x4>;
123 mediatek,portmap = "llllw";
127 ralink,mtd-eeprom = <&factory 0>;
135 reg = <0x0000 0 0 0 0>;
137 mediatek,mtd-eeprom = <&factory 0x8000>;
144 state_default: pinctrl0 {
146 ralink,group = "i2c", "rgmii1";
147 ralink,function = "gpio";
152 ralink,function = "pa";