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>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0xf80000>;
95 reg = <0xfd0000 0x10000>;
100 reg = <0xfe0000 0x10000>;
106 reg = <0xff0000 0x10000>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&ephy_pins>;
124 mtd-mac-address = <&factory 0x28>;
126 mediatek,portmap = "llllw";
130 ralink,mtd-eeprom = <&factory 0x0>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pa_pins>;
141 reg = <0x0000 0 0 0 0>;
142 mediatek,mtd-eeprom = <&factory 0x8000>;
143 ieee80211-freq-limit = <5000000 6000000>;
149 groups = "i2c", "rgmii1";