|
@@ -13,6 +13,8 @@
|
|
#include "../sc64-regs.h"
|
|
#include "../sc64-regs.h"
|
|
#include "../sg-regs.h"
|
|
#include "../sg-regs.h"
|
|
|
|
|
|
|
|
+#define SDCTRL_EMMC_HW_RESET 0x59810280
|
|
|
|
+
|
|
void uniphier_ld11_clk_init(void)
|
|
void uniphier_ld11_clk_init(void)
|
|
{
|
|
{
|
|
/* if booted from a device other than USB, without stand-by MPU */
|
|
/* if booted from a device other than USB, without stand-by MPU */
|
|
@@ -28,6 +30,9 @@ void uniphier_ld11_clk_init(void)
|
|
writel(7, SG_ETPHYCNT);
|
|
writel(7, SG_ETPHYCNT);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /* TODO: use "mmc-pwrseq-emmc" */
|
|
|
|
+ writel(1, SDCTRL_EMMC_HW_RESET);
|
|
|
|
+
|
|
#ifdef CONFIG_USB_EHCI
|
|
#ifdef CONFIG_USB_EHCI
|
|
{
|
|
{
|
|
/* FIXME: the current clk driver can not handle parents */
|
|
/* FIXME: the current clk driver can not handle parents */
|