sspm_reg.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef __SSPM_REG_H__
  7. #define __SSPM_REG_H__
  8. #include "platform_def.h"
  9. #define SSPM_CFGREG_RSV_RW_REG0 (SSPM_CFGREG_BASE + 0x0100)
  10. #define SSPM_CFGREG_ACAO_INT_SET (SSPM_CFGREG_BASE + 0x00D8)
  11. #define SSPM_CFGREG_ACAO_INT_CLR (SSPM_CFGREG_BASE + 0x00DC)
  12. #define SSPM_CFGREG_ACAO_WAKEUP_EN (SSPM_CFGREG_BASE + 0x0204)
  13. #define STANDBYWFI_EN(n) (1 << (n + 8))
  14. #define GIC_IRQOUT_EN(n) (1 << (n + 0))
  15. #define NF_MCDI_MBOX 19
  16. #define MCDI_MBOX_CLUSTER_0_CAN_POWER_OFF 0
  17. #define MCDI_MBOX_CLUSTER_1_CAN_POWER_OFF 1
  18. #define MCDI_MBOX_BUCK_POWER_OFF_MASK 2
  19. #define MCDI_MBOX_CLUSTER_0_ATF_ACTION_DONE 3
  20. #define MCDI_MBOX_CLUSTER_1_ATF_ACTION_DONE 4
  21. #define MCDI_MBOX_BOOTADDR 5
  22. #define MCDI_MBOX_PAUSE_ACTION 6
  23. #define MCDI_MBOX_AVAIL_CPU_MASK 7
  24. #define MCDI_MBOX_CPU_CLUSTER_PWR_STAT 8
  25. #define MCDI_MBOX_ACTION_STAT 9
  26. #define MCDI_MBOX_CLUSTER_0_CNT 10
  27. #define MCDI_MBOX_CLUSTER_1_CNT 11
  28. #define MCDI_MBOX_CPU_ISOLATION_MASK 12
  29. #define MCDI_MBOX_PAUSE_ACK 13
  30. #define MCDI_MBOX_PENDING_ON_EVENT 14
  31. #define MCDI_MBOX_PROF_CMD 15
  32. #define MCDI_MBOX_DRCC_CALI_DONE 16
  33. #define MCDI_MBOX_HP_CMD 17
  34. #define MCDI_MBOX_HP_ACK 18
  35. #endif /* __SSPM_REG_H__ */