1*715dad6dSFabian Vogt /*
2*715dad6dSFabian Vogt  *  Copyright © 2015 Broadcom
3*715dad6dSFabian Vogt  *
4*715dad6dSFabian Vogt  * This program is free software; you can redistribute it and/or modify
5*715dad6dSFabian Vogt  * it under the terms of the GNU General Public License version 2 as
6*715dad6dSFabian Vogt  * published by the Free Software Foundation.
7*715dad6dSFabian Vogt  */
8*715dad6dSFabian Vogt 
9*715dad6dSFabian Vogt #ifndef _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
10*715dad6dSFabian Vogt #define _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
11*715dad6dSFabian Vogt 
12*715dad6dSFabian Vogt /* These power domain indices are the firmware interface's indices
13*715dad6dSFabian Vogt  * minus one.
14*715dad6dSFabian Vogt  */
15*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_I2C0		0
16*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_I2C1		1
17*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_I2C2		2
18*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_VIDEO_SCALER	3
19*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_VPU1		4
20*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_HDMI		5
21*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_USB		6
22*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_VEC		7
23*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_JPEG		8
24*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_H264		9
25*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_V3D		10
26*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_ISP		11
27*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_UNICAM0	12
28*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_UNICAM1	13
29*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_CCP2RX		14
30*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_CSI2		15
31*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_CPI		16
32*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_DSI0		17
33*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_DSI1		18
34*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_TRANSPOSER	19
35*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_CCP2TX		20
36*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_CDP		21
37*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_ARM		22
38*715dad6dSFabian Vogt 
39*715dad6dSFabian Vogt #define RPI_POWER_DOMAIN_COUNT		23
40*715dad6dSFabian Vogt 
41*715dad6dSFabian Vogt #endif /* _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H */
42