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