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