
Like Allwinner H3 even H5 as integrates with 4 USB PHYs which are connected as: PHY#0: shared between USB-OTG_DEVICE and USB_OTG_EHCI0/OHCI0 PHY#1: USB-HCI1(EHCI1/OHCI1) PHY#2: USB-HCI2(EHCI2/OHCI2) PHY#3: USB-HCI3(EHCI3/OHCI3)
Signed-off-by: Jagan Teki jagan@amarulasolutions.com --- include/configs/sun50i.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/configs/sun50i.h b/include/configs/sun50i.h index 870cab8..c9dd5f7 100644 --- a/include/configs/sun50i.h +++ b/include/configs/sun50i.h @@ -15,7 +15,11 @@ #define CONFIG_USB_EHCI_SUNXI #endif
-#define CONFIG_SUNXI_USB_PHYS 1 +#ifdef CONFIG_MACH_SUNXI_H3_H5 +# define CONFIG_SUNXI_USB_PHYS 4 +#else +# define CONFIG_SUNXI_USB_PHYS 1 +#endif
#define GICD_BASE 0x1c81000 #define GICC_BASE 0x1c82000