summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk3288/rk3288.c
blob: 92f34bbbcb73a9936c3cc38d7928410909fe4307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2016 Rockchip Electronics Co., Ltd
 *
 * SPDX-License-Identifier:     GPL-2.0+
 */
#include <asm/io.h>
#include <asm/arch/hardware.h>

#define GRF_SOC_CON2 0x24c

int arch_cpu_init(void)
{
	/* We do some SoC one time setting here. */

	/* Use rkpwm by default */
	rk_setreg(GRF_SOC_CON2, 1 << 0);

	return 0;
}