diff options
author | Inderpal Singh <inderpal.singh@linaro.org> | 2012-11-12 09:25:08 +0530 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-12-06 13:51:47 -0700 |
commit | 63cbf0c63b2cd06417503d30c353545d2ba19082 (patch) | |
tree | 404610fa86307996c2947fc7a6e35e40937366e1 /arch | |
parent | 26c1532583a31650c83a7b502fc06504076157c8 (diff) |
DRIVERS: USB: Initialize HSIC PHYs and enable network support
Arndale board has AX88760, which is USB 2.0 Hub & USB 2.0 Ethernet Combo
controller, connected to HSIC Phy of USB host controller via USB3503 hub.
This patch initializes the HSIC PHYs, performs reset sequence for USB3503
hub and enables the relevant config options for network to work.
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-exynos/ehci.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/ehci.h b/arch/arm/include/asm/arch-exynos/ehci.h index 8aeff8ab2..663d3191b 100644 --- a/arch/arm/include/asm/arch-exynos/ehci.h +++ b/arch/arm/include/asm/arch-exynos/ehci.h @@ -37,6 +37,25 @@ #define HOST_CTRL0_FSEL_MASK (7 << 16) +#define HSIC_CTRL_REFCLKSEL (0x2) +#define HSIC_CTRL_REFCLKSEL_MASK (0x3) +#define HSIC_CTRL_REFCLKSEL_SHIFT (23) + +#define HSIC_CTRL_REFCLKDIV_12 (0x24) +#define HSIC_CTRL_REFCLKDIV_15 (0x1C) +#define HSIC_CTRL_REFCLKDIV_16 (0x1A) +#define HSIC_CTRL_REFCLKDIV_19_2 (0x15) +#define HSIC_CTRL_REFCLKDIV_20 (0x14) +#define HSIC_CTRL_REFCLKDIV_MASK (0x7f) +#define HSIC_CTRL_REFCLKDIV_SHIFT (16) + +#define HSIC_CTRL_SIDDQ (0x1 << 6) +#define HSIC_CTRL_FORCESLEEP (0x1 << 5) +#define HSIC_CTRL_FORCESUSPEND (0x1 << 4) +#define HSIC_CTRL_WORDINTERFACE (0x1 << 3) +#define HSIC_CTRL_UTMISWRST (0x1 << 2) +#define HSIC_CTRL_PHYSWRST (0x1 << 0) + #define EHCICTRL_ENAINCRXALIGN (1 << 29) #define EHCICTRL_ENAINCR4 (1 << 28) #define EHCICTRL_ENAINCR8 (1 << 27) |