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