sysmap-apq8016.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Qualcomm APQ8916 sysmap
  4. *
  5. * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
  6. */
  7. #ifndef _MACH_SYSMAP_APQ8016_H
  8. #define _MACH_SYSMAP_APQ8016_H
  9. #define GICD_BASE (0x0b000000)
  10. #define GICC_BASE (0x0a20c000)
  11. /* Clocks: (from CLK_CTL_BASE) */
  12. #define GPLL0_STATUS (0x2101C)
  13. #define APCS_GPLL_ENA_VOTE (0x45000)
  14. #define APCS_CLOCK_BRANCH_ENA_VOTE (0x45004)
  15. #define SDCC_BCR(n) ((n * 0x1000) + 0x41000)
  16. #define SDCC_CMD_RCGR(n) ((n * 0x1000) + 0x41004)
  17. #define SDCC_CFG_RCGR(n) ((n * 0x1000) + 0x41008)
  18. #define SDCC_M(n) ((n * 0x1000) + 0x4100C)
  19. #define SDCC_N(n) ((n * 0x1000) + 0x41010)
  20. #define SDCC_D(n) ((n * 0x1000) + 0x41014)
  21. #define SDCC_APPS_CBCR(n) ((n * 0x1000) + 0x41018)
  22. #define SDCC_AHB_CBCR(n) ((n * 0x1000) + 0x4101C)
  23. /* BLSP1 AHB clock (root clock for BLSP) */
  24. #define BLSP1_AHB_CBCR 0x1008
  25. /* Uart clock control registers */
  26. #define BLSP1_UART2_BCR (0x3028)
  27. #define BLSP1_UART2_APPS_CBCR (0x302C)
  28. #define BLSP1_UART2_APPS_CMD_RCGR (0x3034)
  29. #define BLSP1_UART2_APPS_CFG_RCGR (0x3038)
  30. #define BLSP1_UART2_APPS_M (0x303C)
  31. #define BLSP1_UART2_APPS_N (0x3040)
  32. #define BLSP1_UART2_APPS_D (0x3044)
  33. #endif