3 /include/ "mt7620a.dtsi"
6 compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
7 model = "Xiaomi MiWiFi Mini";
10 bootargs = "console=ttyS0,115200";
32 compatible = "jedec,spi-nor";
34 linux,modalias = "m25p80", "w25q128";
35 spi-max-frequency = <10000000>;
44 reg = <0x30000 0x10000>;
48 factory: partition@40000 {
50 reg = <0x40000 0x10000>;
56 reg = <0x50000 0xf80000>;
61 reg = <0xfd0000 0x10000>;
66 reg = <0xfe0000 0x10000>;
72 reg = <0xff0000 0x10000>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&ephy_pins>;
89 mtd-mac-address = <&factory 0x4>;
90 mediatek,portmap = "llllw";
94 ralink,mtd-eeprom = <&factory 0>;
102 reg = <0x0000 0 0 0 0>;
104 mediatek,mtd-eeprom = <&factory 0x8000>;
111 state_default: pinctrl0 {
113 ralink,group = "i2c", "rgmii1";
114 ralink,function = "gpio";
119 ralink,function = "pa";
125 compatible = "gpio-leds";
128 label = "miwifi-mini:blue:status";
129 gpios = <&gpio1 0 1>;
133 label = "miwifi-mini:yellow:status";
134 gpios = <&gpio1 2 1>;
138 label = "miwifi-mini:red:status";
139 gpios = <&gpio1 5 1>;
144 compatible = "gpio-keys-polled";
145 #address-cells = <1>;
147 poll-interval = <20>;
151 gpios = <&gpio1 6 0>;
152 linux,code = <0x198>;