summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/ph1-ld4
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-27 02:26:53 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-03-01 00:02:45 +0900
commit42ca6982ff932b2f972bdaeb076ea4ce519a1117 (patch)
treec324ae9314806bf82e4a96ebf1ad1f906d6af6fc /arch/arm/mach-uniphier/ph1-ld4
parentd3384bf77eb9a202d8218e1fe1da2f21af034aa7 (diff)
downloadu-boot-imx-42ca6982ff932b2f972bdaeb076ea4ce519a1117.zip
u-boot-imx-42ca6982ff932b2f972bdaeb076ea4ce519a1117.tar.gz
u-boot-imx-42ca6982ff932b2f972bdaeb076ea4ce519a1117.tar.bz2
ARM: UniPhier: enable STDMAC for EHCI
Deassert the reset signal and provide the clock for STDMAC core. This is necessary for the USB 2.0 host controllers. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/mach-uniphier/ph1-ld4')
-rw-r--r--arch/arm/mach-uniphier/ph1-ld4/clkrst_init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/ph1-ld4/clkrst_init.c b/arch/arm/mach-uniphier/ph1-ld4/clkrst_init.c
index f5fc418..4ac5411 100644
--- a/arch/arm/mach-uniphier/ph1-ld4/clkrst_init.c
+++ b/arch/arm/mach-uniphier/ph1-ld4/clkrst_init.c
@@ -17,6 +17,9 @@ void clkrst_init(void)
#ifdef CONFIG_UNIPHIER_ETH
tmp |= SC_RSTCTRL_NRST_ETHER;
#endif
+#ifdef CONFIG_USB_EHCI_UNIPHIER
+ tmp |= SC_RSTCTRL_NRST_STDMAC;
+#endif
#ifdef CONFIG_NAND_DENALI
tmp |= SC_RSTCTRL_NRST_NAND;
#endif
@@ -29,7 +32,7 @@ void clkrst_init(void)
tmp |= SC_CLKCTRL_CEN_ETHER;
#endif
#ifdef CONFIG_USB_EHCI_UNIPHIER
- tmp |= SC_CLKCTRL_CEN_MIO;
+ tmp |= SC_CLKCTRL_CEN_MIO | SC_CLKCTRL_CEN_STDMAC;
#endif
#ifdef CONFIG_NAND_DENALI
tmp |= SC_CLKCTRL_CEN_NAND;