rk3288.c 331 B

12345678910111213141516171819
  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. #define GRF_SOC_CON2 0x24c
  9. int arch_cpu_init(void)
  10. {
  11. /* We do some SoC one time setting here. */
  12. /* Use rkpwm by default */
  13. rk_setreg(GRF_SOC_CON2, 1 << 0);
  14. return 0;
  15. }