[LEDE-DEV] ar71xx: Detect USB port on Mikrotik RB750UP

João Chaínho joaochainho at gmail.com
Fri Jan 13 08:23:09 PST 2017


The USB port on Mikrotik RB750UP isn’t detected. This patch provides a fix. Tested and working.

Signed-off-by: João Chaínho <joaochainho at gmail.com>
---
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
index 5656d3c..c308f95 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
@@ -169,6 +169,9 @@ static void __init rb750_setup(void)
 	rb750_nand_data.disable_pins = rb750_nand_disable_pins;
 	rb750_nand_data.latch_change = rb750_latch_change;
 	platform_device_register(&rb750_nand_device);
+
+	/* USB */
+	ath79_register_usb();
 }
 
 MIPS_MACHINE(ATH79_MACH_RB_750, "750i", "MikroTik RouterBOARD 750",



More information about the Lede-dev mailing list