platform_reg.h 814 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2023, Aspeed Technology Inc.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef PLATFORM_REG_H
  7. #define PLATFORM_REG_H
  8. /* GIC */
  9. #define GICD_BASE U(0x12200000)
  10. #define GICD_SIZE U(0x10000)
  11. #define GICR_BASE U(0x12280000)
  12. #define GICR_SIZE U(0x100000)
  13. /* UART */
  14. #define UART_BASE U(0x14c33000)
  15. #define UART12_BASE (UART_BASE + 0xb00)
  16. /* CPU-die SCU */
  17. #define SCU_CPU_BASE U(0x12c02000)
  18. #define SCU_CPU_HW_STRAP1 (SCU_CPU_BASE + 0x010)
  19. #define SCU_CPU_HPLL (SCU_CPU_BASE + 0x300)
  20. #define SCU_CPU_DPLL (SCU_CPU_BASE + 0x308)
  21. #define SCU_CPU_MPLL (SCU_CPU_BASE + 0x310)
  22. #define SCU_CPU_SMP_EP0 (SCU_CPU_BASE + 0x780)
  23. #define SCU_CPU_SMP_EP1 (SCU_CPU_BASE + 0x788)
  24. #define SCU_CPU_SMP_EP2 (SCU_CPU_BASE + 0x790)
  25. #define SCU_CPU_SMP_EP3 (SCU_CPU_BASE + 0x798)
  26. #endif /* PLATFORM_REG_H */