xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/power/raspberrypi-power.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  Copyright © 2015 Broadcom
4  */
5 
6 #ifndef _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
7 #define _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
8 
9 /* These power domain indices are the firmware interface's indices
10  * minus one.
11  */
12 #define RPI_POWER_DOMAIN_I2C0		0
13 #define RPI_POWER_DOMAIN_I2C1		1
14 #define RPI_POWER_DOMAIN_I2C2		2
15 #define RPI_POWER_DOMAIN_VIDEO_SCALER	3
16 #define RPI_POWER_DOMAIN_VPU1		4
17 #define RPI_POWER_DOMAIN_HDMI		5
18 #define RPI_POWER_DOMAIN_USB		6
19 #define RPI_POWER_DOMAIN_VEC		7
20 #define RPI_POWER_DOMAIN_JPEG		8
21 #define RPI_POWER_DOMAIN_H264		9
22 #define RPI_POWER_DOMAIN_V3D		10
23 #define RPI_POWER_DOMAIN_ISP		11
24 #define RPI_POWER_DOMAIN_UNICAM0	12
25 #define RPI_POWER_DOMAIN_UNICAM1	13
26 #define RPI_POWER_DOMAIN_CCP2RX		14
27 #define RPI_POWER_DOMAIN_CSI2		15
28 #define RPI_POWER_DOMAIN_CPI		16
29 #define RPI_POWER_DOMAIN_DSI0		17
30 #define RPI_POWER_DOMAIN_DSI1		18
31 #define RPI_POWER_DOMAIN_TRANSPOSER	19
32 #define RPI_POWER_DOMAIN_CCP2TX		20
33 #define RPI_POWER_DOMAIN_CDP		21
34 #define RPI_POWER_DOMAIN_ARM		22
35 
36 #define RPI_POWER_DOMAIN_COUNT		23
37 
38 #endif /* _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H */
39