summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/clk/clk-ld20.c
blob: 5bb560cafe1d2bf4101b706ea09a6ccd7966dfe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (C) 2017 Socionext Inc.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <linux/io.h>

#include "../init.h"

#define SDCTRL_EMMC_HW_RESET	0x59810280

void uniphier_ld20_clk_init(void)
{
	/* TODO: use "mmc-pwrseq-emmc" */
	writel(1, SDCTRL_EMMC_HW_RESET);
}