From: Jagan Teki Date: Sun, 28 Jan 2018 21:49:34 +0530 Subject: [U-Boot] [PATCH v3 13/30] configs: sun50i: Set proper USB PHY count for H5 In-Reply-To: <1517156391-11353-1-git-send-email-jagan@amarulasolutions.com> References: <1517156391-11353-1-git-send-email-jagan@amarulasolutions.com> Message-ID: <1517156391-11353-14-git-send-email-jagan@amarulasolutions.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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 -- 2.7.4