&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "refclk", "wled_an", "gpio";
+ ralink,group = "gpio", "refclk", "wdt", "wled_an";
ralink,function = "gpio";
};
};
};
+&ehci {
+ status = "disabled";
+};
+
+&ohci {
+ status = "disabled";
+};
+
&wmac {
status = "okay";
ralink,mtd-eeprom = <&factory 0x4>;
m25p80@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <10000000>;
+ spi-max-frequency = <40000000>;
partitions {
compatible = "fixed-partitions";
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
- read-only;
};
factory: partition@40000 {
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Xiaomi
DEVICE_MODEL := MiWiFi Nano
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := uboot-envtools
SUPPORTED_DEVICES += miwifi-nano
endef
TARGET_DEVICES += xiaomi_miwifi-nano