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