RB750UP is similar to RB750 except it has USB and PoE.
I have no idea how to add PoE support, but USB support was easy
and it works perfectly on multiple devices we have.

I also have no idea how to distinguish between RB750 and RB750UP
as both has same symbol passed by bootloader - "750i".

I hope this change doesn't break bare RB750, but I don't have
this router to test it.


--- 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 port on 750UP */
+       ath79_register_usb();
 }
 
 MIPS_MACHINE(ATH79_MACH_RB_750, "750i", "MikroTik RouterBOARD 750",
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to