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