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