r8a77980-sysc.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* SPDX-License-Identifier: GPL-2.0
  2. *
  3. * Copyright (C) 2018 Renesas Electronics Corp.
  4. * Copyright (C) 2018 Cogent Embedded, Inc.
  5. */
  6. #ifndef __DT_BINDINGS_POWER_R8A77980_SYSC_H__
  7. #define __DT_BINDINGS_POWER_R8A77980_SYSC_H__
  8. /*
  9. * These power domain indices match the numbers of the interrupt bits
  10. * representing the power areas in the various Interrupt Registers
  11. * (e.g. SYSCISR, Interrupt Status Register)
  12. */
  13. #define R8A77980_PD_A2SC2 0
  14. #define R8A77980_PD_A2SC3 1
  15. #define R8A77980_PD_A2SC4 2
  16. #define R8A77980_PD_A2DP0 3
  17. #define R8A77980_PD_A2DP1 4
  18. #define R8A77980_PD_CA53_CPU0 5
  19. #define R8A77980_PD_CA53_CPU1 6
  20. #define R8A77980_PD_CA53_CPU2 7
  21. #define R8A77980_PD_CA53_CPU3 8
  22. #define R8A77980_PD_A2CN 10
  23. #define R8A77980_PD_A3VIP0 11
  24. #define R8A77980_PD_A2IR5 12
  25. #define R8A77980_PD_CR7 13
  26. #define R8A77980_PD_A2IR4 15
  27. #define R8A77980_PD_CA53_SCU 21
  28. #define R8A77980_PD_A2IR0 23
  29. #define R8A77980_PD_A3IR 24
  30. #define R8A77980_PD_A3VIP1 25
  31. #define R8A77980_PD_A3VIP2 26
  32. #define R8A77980_PD_A2IR1 27
  33. #define R8A77980_PD_A2IR2 28
  34. #define R8A77980_PD_A2IR3 29
  35. #define R8A77980_PD_A2SC0 30
  36. #define R8A77980_PD_A2SC1 31
  37. /* Always-on power area */
  38. #define R8A77980_PD_ALWAYS_ON 32
  39. #endif /* __DT_BINDINGS_POWER_R8A77980_SYSC_H__ */