1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
8 model = "Xiaomi MiWiFi Mini";
12 led-failsafe = &led_blue;
13 led-running = &led_blue;
14 led-upgrade = &led_blue;
15 label-mac-device = ðernet;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 label = "blue:status";
27 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
32 label = "yellow:status";
33 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
38 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
48 linux,code = <KEY_RESTART>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
70 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
92 compatible = "denx,uimage";
94 reg = <0x50000 0xf80000>;
99 reg = <0xfd0000 0x10000>;
104 reg = <0xfe0000 0x10000>;
110 reg = <0xff0000 0x10000>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&ephy_pins>;
128 mtd-mac-address = <&factory 0x28>;
130 mediatek,portmap = "llllw";
134 ralink,mtd-eeprom = <&factory 0x0>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&pa_pins>;
145 reg = <0x0000 0 0 0 0>;
146 mediatek,mtd-eeprom = <&factory 0x8000>;
147 ieee80211-freq-limit = <5000000 6000000>;
153 groups = "i2c", "rgmii1";