st,stm32mp13-regulator.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
  2. /*
  3. * Copyright (C) 2022, STMicroelectronics - All Rights Reserved
  4. */
  5. #ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H
  6. #define __DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H
  7. /* SCMI voltage domains identifiers */
  8. /* SOC Internal regulators */
  9. #define VOLTD_SCMI_REG11 0
  10. #define VOLTD_SCMI_REG18 1
  11. #define VOLTD_SCMI_USB33 2
  12. #define VOLTD_SCMI_SDMMC1_IO 3
  13. #define VOLTD_SCMI_SDMMC2_IO 4
  14. #define VOLTD_SCMI_VREFBUF 5
  15. /* STPMIC1 regulators */
  16. #define VOLTD_SCMI_STPMIC1_BUCK1 6
  17. #define VOLTD_SCMI_STPMIC1_BUCK2 7
  18. #define VOLTD_SCMI_STPMIC1_BUCK3 8
  19. #define VOLTD_SCMI_STPMIC1_BUCK4 9
  20. #define VOLTD_SCMI_STPMIC1_LDO1 10
  21. #define VOLTD_SCMI_STPMIC1_LDO2 11
  22. #define VOLTD_SCMI_STPMIC1_LDO3 12
  23. #define VOLTD_SCMI_STPMIC1_LDO4 13
  24. #define VOLTD_SCMI_STPMIC1_LDO5 14
  25. #define VOLTD_SCMI_STPMIC1_LDO6 15
  26. #define VOLTD_SCMI_STPMIC1_VREFDDR 16
  27. #define VOLTD_SCMI_STPMIC1_BOOST 17
  28. #define VOLTD_SCMI_STPMIC1_PWR_SW1 18
  29. #define VOLTD_SCMI_STPMIC1_PWR_SW2 19
  30. /* External regulators */
  31. #define VOLTD_SCMI_REGU0 20
  32. #define VOLTD_SCMI_REGU1 21
  33. #define VOLTD_SCMI_REGU2 22
  34. #define VOLTD_SCMI_REGU3 23
  35. #define VOLTD_SCMI_REGU4 24
  36. #endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H */