st,stm32mp25-regulator.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
  2. /*
  3. * Copyright (C) 2024, STMicroelectronics - All Rights Reserved
  4. */
  5. #ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H
  6. #define __DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H
  7. /* SCMI voltage domains identifiers */
  8. /* SOC Internal regulators */
  9. #define VOLTD_SCMI_VDDIO1 0
  10. #define VOLTD_SCMI_VDDIO2 1
  11. #define VOLTD_SCMI_VDDIO3 2
  12. #define VOLTD_SCMI_VDDIO4 3
  13. #define VOLTD_SCMI_VDDIO 4
  14. #define VOLTD_SCMI_UCPD 5
  15. #define VOLTD_SCMI_USB33 6
  16. #define VOLTD_SCMI_ADC 7
  17. #define VOLTD_SCMI_GPU 8
  18. #define VOLTD_SCMI_VREFBUF 9
  19. /* STPMIC2 regulators */
  20. #define VOLTD_SCMI_STPMIC2_BUCK1 10
  21. #define VOLTD_SCMI_STPMIC2_BUCK2 11
  22. #define VOLTD_SCMI_STPMIC2_BUCK3 12
  23. #define VOLTD_SCMI_STPMIC2_BUCK4 13
  24. #define VOLTD_SCMI_STPMIC2_BUCK5 14
  25. #define VOLTD_SCMI_STPMIC2_BUCK6 15
  26. #define VOLTD_SCMI_STPMIC2_BUCK7 16
  27. #define VOLTD_SCMI_STPMIC2_LDO1 17
  28. #define VOLTD_SCMI_STPMIC2_LDO2 18
  29. #define VOLTD_SCMI_STPMIC2_LDO3 19
  30. #define VOLTD_SCMI_STPMIC2_LDO4 20
  31. #define VOLTD_SCMI_STPMIC2_LDO5 21
  32. #define VOLTD_SCMI_STPMIC2_LDO6 22
  33. #define VOLTD_SCMI_STPMIC2_LDO7 23
  34. #define VOLTD_SCMI_STPMIC2_LDO8 24
  35. #define VOLTD_SCMI_STPMIC2_REFDDR 25
  36. /* External regulators */
  37. #define VOLTD_SCMI_REGU0 26
  38. #define VOLTD_SCMI_REGU1 27
  39. #define VOLTD_SCMI_REGU2 28
  40. #define VOLTD_SCMI_REGU3 29
  41. #define VOLTD_SCMI_REGU4 30
  42. #endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H */