Tom Rini | 614edd8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ |
| 2 | /* |
| 3 | * Copyright (C) 2020 Pengutronix, Sascha Hauer <kernel@pengutronix.de> |
| 4 | */ |
| 5 | |
| 6 | #ifndef __DT_BINDINGS_IMX8MP_POWER_DOMAIN_POWER_H__ |
| 7 | #define __DT_BINDINGS_IMX8MP_POWER_DOMAIN_POWER_H__ |
| 8 | |
| 9 | #define IMX8MP_POWER_DOMAIN_MIPI_PHY1 0 |
| 10 | #define IMX8MP_POWER_DOMAIN_PCIE_PHY 1 |
| 11 | #define IMX8MP_POWER_DOMAIN_USB1_PHY 2 |
| 12 | #define IMX8MP_POWER_DOMAIN_USB2_PHY 3 |
| 13 | #define IMX8MP_POWER_DOMAIN_MLMIX 4 |
| 14 | #define IMX8MP_POWER_DOMAIN_AUDIOMIX 5 |
| 15 | #define IMX8MP_POWER_DOMAIN_GPU2D 6 |
| 16 | #define IMX8MP_POWER_DOMAIN_GPUMIX 7 |
| 17 | #define IMX8MP_POWER_DOMAIN_VPUMIX 8 |
| 18 | #define IMX8MP_POWER_DOMAIN_GPU3D 9 |
| 19 | #define IMX8MP_POWER_DOMAIN_MEDIAMIX 10 |
| 20 | #define IMX8MP_POWER_DOMAIN_VPU_G1 11 |
| 21 | #define IMX8MP_POWER_DOMAIN_VPU_G2 12 |
| 22 | #define IMX8MP_POWER_DOMAIN_VPU_VC8000E 13 |
| 23 | #define IMX8MP_POWER_DOMAIN_HDMIMIX 14 |
| 24 | #define IMX8MP_POWER_DOMAIN_HDMI_PHY 15 |
| 25 | #define IMX8MP_POWER_DOMAIN_MIPI_PHY2 16 |
| 26 | #define IMX8MP_POWER_DOMAIN_HSIOMIX 17 |
| 27 | #define IMX8MP_POWER_DOMAIN_MEDIAMIX_ISPDWP 18 |
| 28 | |
| 29 | #define IMX8MP_HSIOBLK_PD_USB 0 |
| 30 | #define IMX8MP_HSIOBLK_PD_USB_PHY1 1 |
| 31 | #define IMX8MP_HSIOBLK_PD_USB_PHY2 2 |
| 32 | #define IMX8MP_HSIOBLK_PD_PCIE 3 |
| 33 | #define IMX8MP_HSIOBLK_PD_PCIE_PHY 4 |
| 34 | |
| 35 | #define IMX8MP_MEDIABLK_PD_MIPI_DSI_1 0 |
| 36 | #define IMX8MP_MEDIABLK_PD_MIPI_CSI2_1 1 |
| 37 | #define IMX8MP_MEDIABLK_PD_LCDIF_1 2 |
| 38 | #define IMX8MP_MEDIABLK_PD_ISI 3 |
| 39 | #define IMX8MP_MEDIABLK_PD_MIPI_CSI2_2 4 |
| 40 | #define IMX8MP_MEDIABLK_PD_LCDIF_2 5 |
| 41 | #define IMX8MP_MEDIABLK_PD_ISP 6 |
| 42 | #define IMX8MP_MEDIABLK_PD_DWE 7 |
| 43 | #define IMX8MP_MEDIABLK_PD_MIPI_DSI_2 8 |
| 44 | |
| 45 | #define IMX8MP_HDMIBLK_PD_IRQSTEER 0 |
| 46 | #define IMX8MP_HDMIBLK_PD_LCDIF 1 |
| 47 | #define IMX8MP_HDMIBLK_PD_PAI 2 |
| 48 | #define IMX8MP_HDMIBLK_PD_PVI 3 |
| 49 | #define IMX8MP_HDMIBLK_PD_TRNG 4 |
| 50 | #define IMX8MP_HDMIBLK_PD_HDMI_TX 5 |
| 51 | #define IMX8MP_HDMIBLK_PD_HDMI_TX_PHY 6 |
| 52 | #define IMX8MP_HDMIBLK_PD_HDCP 7 |
| 53 | #define IMX8MP_HDMIBLK_PD_HRV 8 |
| 54 | |
| 55 | #define IMX8MP_VPUBLK_PD_G1 0 |
| 56 | #define IMX8MP_VPUBLK_PD_G2 1 |
| 57 | #define IMX8MP_VPUBLK_PD_VC8000E 2 |
| 58 | |
| 59 | #endif |