ar71xx: Detect USB port on Mikrotik RB750UP
authorJoão Chaínho <joaochainho@gmail.com>
Fri, 13 Jan 2017 16:23:09 +0000 (16:23 +0000)
committerJohn Crispin <john@phrozen.org>
Sun, 15 Jan 2017 16:43:14 +0000 (17:43 +0100)
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@gmail.com>
target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c

index 5656d3c1f17dad24d5033b6a926d03f27479fda9..c308f9521de4646e167788a393022b21191b8487 100644 (file)
@@ -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",