rk3288.c 338 B

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