1 /*
2  * Copyright (c) 2016 Rockchip Electronics Co., Ltd
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 #include <asm/io.h>
7 #include <asm/arch/hardware.h>
8 
9 #define GRF_SOC_CON2 0xff77024c
10 
11 int arch_cpu_init(void)
12 {
13 	/* We do some SoC one time setting here. */
14 
15 	/* Use rkpwm by default */
16 	rk_setreg(GRF_SOC_CON2, 1 << 0);
17 
18 	return 0;
19 }
20