summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/power/imx8mp-power.h
blob: 2fe3c2abad135fde40fea3379135d3345c93f480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
/*
 *  Copyright (C) 2020 Pengutronix, Sascha Hauer <kernel@pengutronix.de>
 */

#ifndef __DT_BINDINGS_IMX8MP_POWER_DOMAIN_POWER_H__
#define __DT_BINDINGS_IMX8MP_POWER_DOMAIN_POWER_H__

#define IMX8MP_POWER_DOMAIN_MIPI_PHY1			0
#define IMX8MP_POWER_DOMAIN_PCIE_PHY			1
#define IMX8MP_POWER_DOMAIN_USB1_PHY			2
#define IMX8MP_POWER_DOMAIN_USB2_PHY			3
#define IMX8MP_POWER_DOMAIN_MLMIX			4
#define IMX8MP_POWER_DOMAIN_AUDIOMIX			5
#define IMX8MP_POWER_DOMAIN_GPU2D			6
#define IMX8MP_POWER_DOMAIN_GPUMIX			7
#define IMX8MP_POWER_DOMAIN_VPUMIX			8
#define IMX8MP_POWER_DOMAIN_GPU3D			9
#define IMX8MP_POWER_DOMAIN_MEDIAMIX			10
#define IMX8MP_POWER_DOMAIN_VPU_G1			11
#define IMX8MP_POWER_DOMAIN_VPU_G2			12
#define IMX8MP_POWER_DOMAIN_VPU_VC8000E			13
#define IMX8MP_POWER_DOMAIN_HDMIMIX			14
#define IMX8MP_POWER_DOMAIN_HDMI_PHY			15
#define IMX8MP_POWER_DOMAIN_MIPI_PHY2			16
#define IMX8MP_POWER_DOMAIN_HSIOMIX			17
#define IMX8MP_POWER_DOMAIN_MEDIAMIX_ISPDWP		18

#define IMX8MP_HSIOBLK_PD_USB				0
#define IMX8MP_HSIOBLK_PD_USB_PHY1			1
#define IMX8MP_HSIOBLK_PD_USB_PHY2			2
#define IMX8MP_HSIOBLK_PD_PCIE				3
#define IMX8MP_HSIOBLK_PD_PCIE_PHY			4

#define IMX8MP_MEDIABLK_PD_MIPI_DSI_1			0
#define IMX8MP_MEDIABLK_PD_MIPI_CSI2_1			1
#define IMX8MP_MEDIABLK_PD_LCDIF_1			2
#define IMX8MP_MEDIABLK_PD_ISI				3
#define IMX8MP_MEDIABLK_PD_MIPI_CSI2_2			4
#define IMX8MP_MEDIABLK_PD_LCDIF_2			5
#define IMX8MP_MEDIABLK_PD_ISP				6
#define IMX8MP_MEDIABLK_PD_DWE				7
#define IMX8MP_MEDIABLK_PD_MIPI_DSI_2			8

#define IMX8MP_HDMIBLK_PD_IRQSTEER			0
#define IMX8MP_HDMIBLK_PD_LCDIF				1
#define IMX8MP_HDMIBLK_PD_PAI				2
#define IMX8MP_HDMIBLK_PD_PVI				3
#define IMX8MP_HDMIBLK_PD_TRNG				4
#define IMX8MP_HDMIBLK_PD_HDMI_TX			5
#define IMX8MP_HDMIBLK_PD_HDMI_TX_PHY			6
#define IMX8MP_HDMIBLK_PD_HDCP				7
#define IMX8MP_HDMIBLK_PD_HRV				8

#define IMX8MP_VPUBLK_PD_G1				0
#define IMX8MP_VPUBLK_PD_G2				1
#define IMX8MP_VPUBLK_PD_VC8000E			2

#endif