1*1b965432SPeng Fan /* SPDX-License-Identifier: GPL-2.0+ */
2*1b965432SPeng Fan /*
3*1b965432SPeng Fan  * Copyright 2018 NXP
4*1b965432SPeng Fan  */
5*1b965432SPeng Fan 
6*1b965432SPeng Fan #ifndef __DT_BINDINGS_IMX8_PD_H
7*1b965432SPeng Fan #define __DT_BINDINGS_IMX8_PD_H
8*1b965432SPeng Fan 
9*1b965432SPeng Fan /*!
10*1b965432SPeng Fan  * These defines are used to indicate a resource. Resources include peripherals
11*1b965432SPeng Fan  * and bus masters (but not memory regions). Note items from list should
12*1b965432SPeng Fan  * never be changed or removed (only added to at the end of the list).
13*1b965432SPeng Fan  */
14*1b965432SPeng Fan #define PD_DC_0                     dc0_power_domain
15*1b965432SPeng Fan #define PD_DC_0_PLL_0               dc0_pll0
16*1b965432SPeng Fan #define PD_DC_0_PLL_1               dc0_pll1
17*1b965432SPeng Fan #define PD_LVDS0                    lvds0_power_domain
18*1b965432SPeng Fan #define PD_LVDS0_I2C0               lvds0_i2c0
19*1b965432SPeng Fan #define PD_LVDS0_I2C1               lvds0_i2c1
20*1b965432SPeng Fan #define PD_LVDS0_PWM                lvds0_pwm
21*1b965432SPeng Fan #define PD_LVDS0_PWM                lvds0_pwm
22*1b965432SPeng Fan #define PD_LVDS0_GPIO               lvds0_gpio
23*1b965432SPeng Fan #define PD_DC_1                     dc1_power_domain
24*1b965432SPeng Fan #define PD_DC_1_PLL_0               dc1_pll0
25*1b965432SPeng Fan #define PD_DC_1_PLL_1               dc1_pll1
26*1b965432SPeng Fan #define PD_LVDS1                    lvds1_power_domain
27*1b965432SPeng Fan #define PD_LVDS1_I2C0               lvds1_i2c0
28*1b965432SPeng Fan #define PD_LVDS1_I2C1               lvds1_i2c1
29*1b965432SPeng Fan #define PD_LVDS1_PWM                lvds1_pwm
30*1b965432SPeng Fan #define PD_LVDS1_GPIO               lvds1_gpio
31*1b965432SPeng Fan 
32*1b965432SPeng Fan #define PD_DMA                      dma_power_domain
33*1b965432SPeng Fan #define PD_DMA_SPI_0                dma_spi0
34*1b965432SPeng Fan #define PD_DMA_SPI_1                dma_spi1
35*1b965432SPeng Fan #define PD_DMA_SPI_2                dma_spi2
36*1b965432SPeng Fan #define PD_DMA_SPI_3                dma_spi3
37*1b965432SPeng Fan #define PD_DMA_UART0                dma_lpuart0
38*1b965432SPeng Fan #define PD_DMA_UART1                dma_lpuart1
39*1b965432SPeng Fan #define PD_DMA_UART2                dma_lpuart2
40*1b965432SPeng Fan #define PD_DMA_UART3                dma_lpuart3
41*1b965432SPeng Fan #define PD_DMA_UART4                dma_lpuart4
42*1b965432SPeng Fan #define PD_DMA_EMVSIM_0             dma_emvsim0
43*1b965432SPeng Fan #define PD_DMA_EMVSIM_1             dma_emvsim1
44*1b965432SPeng Fan #define PD_DMA_I2C_0                dma_lpi2c0
45*1b965432SPeng Fan #define PD_DMA_I2C_1                dma_lpi2c1
46*1b965432SPeng Fan #define PD_DMA_I2C_2                dma_lpi2c2
47*1b965432SPeng Fan #define PD_DMA_I2C_3                dma_lpi2c3
48*1b965432SPeng Fan #define PD_DMA_I2C_4                dma_lpi2c4
49*1b965432SPeng Fan #define PD_DMA_ADC_0                dma_adc0
50*1b965432SPeng Fan #define PD_DMA_ADC_1                dma_adc1
51*1b965432SPeng Fan #define PD_DMA_FTM_0                dma_ftm0
52*1b965432SPeng Fan #define PD_DMA_FTM_1                dma_ftm1
53*1b965432SPeng Fan #define PD_DMA_CAN_0                dma_flexcan0
54*1b965432SPeng Fan #define PD_DMA_CAN_1                dma_flexcan1
55*1b965432SPeng Fan #define PD_DMA_CAN_2                dma_flexcan2
56*1b965432SPeng Fan #define PD_DMA_PWM_0                dma_pwm0
57*1b965432SPeng Fan #define PD_DMA_LCD_0                dma_lcd0
58*1b965432SPeng Fan 
59*1b965432SPeng Fan #define PD_HSIO                     hsio_power_domain
60*1b965432SPeng Fan #define PD_HSIO_PCIE_A              hsio_pcie0
61*1b965432SPeng Fan #define PD_HSIO_PCIE_B              hsio_pcie1
62*1b965432SPeng Fan #define PD_HSIO_SATA_0              hsio_sata0
63*1b965432SPeng Fan #define PD_HSIO_GPIO                hsio_gpio
64*1b965432SPeng Fan 
65*1b965432SPeng Fan #define PD_LCD_0                    lcd0_power_domain
66*1b965432SPeng Fan #define PD_LCD_0_I2C_0              lcd0_i2c0
67*1b965432SPeng Fan #define PD_LCD_0_I2C_1              lcd0_i2c1
68*1b965432SPeng Fan #define PD_LCD_PWM_0                lcd0_pwm0
69*1b965432SPeng Fan 
70*1b965432SPeng Fan #define PD_LSIO                     lsio_power_domain
71*1b965432SPeng Fan #define PD_LSIO_GPIO_0              lsio_gpio0
72*1b965432SPeng Fan #define PD_LSIO_GPIO_1              lsio_gpio1
73*1b965432SPeng Fan #define PD_LSIO_GPIO_2              lsio_gpio2
74*1b965432SPeng Fan #define PD_LSIO_GPIO_3              lsio_gpio3
75*1b965432SPeng Fan #define PD_LSIO_GPIO_4              lsio_gpio4
76*1b965432SPeng Fan #define PD_LSIO_GPIO_5              lsio_gpio5
77*1b965432SPeng Fan #define PD_LSIO_GPIO_6              lsio_gpio6
78*1b965432SPeng Fan #define PD_LSIO_GPIO_7              lsio_gpio7
79*1b965432SPeng Fan #define PD_LSIO_GPT_0               lsio_gpt0
80*1b965432SPeng Fan #define PD_LSIO_GPT_1               lsio_gpt1
81*1b965432SPeng Fan #define PD_LSIO_GPT_2               lsio_gpt2
82*1b965432SPeng Fan #define PD_LSIO_GPT_3               lsio_gpt3
83*1b965432SPeng Fan #define PD_LSIO_GPT_4               lsio_gpt4
84*1b965432SPeng Fan #define PD_LSIO_KPP                 lsio_kpp
85*1b965432SPeng Fan #define PD_LSIO_FSPI_0              lsio_fspi0
86*1b965432SPeng Fan #define PD_LSIO_FSPI_1              lsio_fspi1
87*1b965432SPeng Fan #define PD_LSIO_PWM_0               lsio_pwm0
88*1b965432SPeng Fan #define PD_LSIO_PWM_1               lsio_pwm1
89*1b965432SPeng Fan #define PD_LSIO_PWM_2               lsio_pwm2
90*1b965432SPeng Fan #define PD_LSIO_PWM_3               lsio_pwm3
91*1b965432SPeng Fan #define PD_LSIO_PWM_4               lsio_pwm4
92*1b965432SPeng Fan #define PD_LSIO_PWM_5               lsio_pwm5
93*1b965432SPeng Fan #define PD_LSIO_PWM_6               lsio_pwm6
94*1b965432SPeng Fan #define PD_LSIO_PWM_7               lsio_pwm7
95*1b965432SPeng Fan 
96*1b965432SPeng Fan #define PD_CONN                     connectivity_power_domain
97*1b965432SPeng Fan #define PD_CONN_SDHC_0              conn_sdhc0
98*1b965432SPeng Fan #define PD_CONN_SDHC_1              conn_sdhc1
99*1b965432SPeng Fan #define PD_CONN_SDHC_2              conn_sdhc2
100*1b965432SPeng Fan #define PD_CONN_ENET_0              conn_enet0
101*1b965432SPeng Fan #define PD_CONN_ENET_1              conn_enet1
102*1b965432SPeng Fan #define PD_CONN_MLB_0               conn_mlb0
103*1b965432SPeng Fan #define PD_CONN_DMA_4_CH0           conn_dma4_ch0
104*1b965432SPeng Fan #define PD_CONN_DMA_4_CH1           conn_dma4_ch1
105*1b965432SPeng Fan #define PD_CONN_DMA_4_CH2           conn_dma4_ch2
106*1b965432SPeng Fan #define PD_CONN_DMA_4_CH3           conn_dma4_ch3
107*1b965432SPeng Fan #define PD_CONN_DMA_4_CH4           conn_dma4_ch4
108*1b965432SPeng Fan #define PD_CONN_USB_0               conn_usb0
109*1b965432SPeng Fan #define PD_CONN_USB_1               conn_usb1
110*1b965432SPeng Fan #define PD_CONN_USB_0_PHY           conn_usb0_phy
111*1b965432SPeng Fan #define PD_CONN_USB_2               conn_usb2
112*1b965432SPeng Fan #define PD_CONN_USB_2_PHY           conn_usb2_phy
113*1b965432SPeng Fan #define PD_CONN_NAND                conn_nand
114*1b965432SPeng Fan 
115*1b965432SPeng Fan #define PD_AUDIO                    audio_power_domain
116*1b965432SPeng Fan #define PD_AUD_SAI_0                audio_sai0
117*1b965432SPeng Fan #define PD_AUD_SAI_1                audio_sai1
118*1b965432SPeng Fan #define PD_AUD_SAI_2                audio_sai2
119*1b965432SPeng Fan #define PD_AUD_ASRC_0               audio_asrc0
120*1b965432SPeng Fan #define PD_AUD_ASRC_1               audio_asrc1
121*1b965432SPeng Fan #define PD_AUD_ESAI_0               audio_esai0
122*1b965432SPeng Fan #define PD_AUD_ESAI_1               audio_esai1
123*1b965432SPeng Fan #define PD_AUD_SPDIF_0              audio_spdif0
124*1b965432SPeng Fan #define PD_AUD_SPDIF_1              audio_spdif1
125*1b965432SPeng Fan #define PD_AUD_SAI_3                audio_sai3
126*1b965432SPeng Fan #define PD_AUD_SAI_4                audio_sai4
127*1b965432SPeng Fan #define PD_AUD_SAI_5                audio_sai5
128*1b965432SPeng Fan #define PD_AUD_SAI_6                audio_sai6
129*1b965432SPeng Fan #define PD_AUD_SAI_7                audio_sai7
130*1b965432SPeng Fan #define PD_AUD_GPT_5                audio_gpt5
131*1b965432SPeng Fan #define PD_AUD_GPT_6                audio_gpt6
132*1b965432SPeng Fan #define PD_AUD_GPT_7                audio_gpt7
133*1b965432SPeng Fan #define PD_AUD_GPT_8                audio_gpt8
134*1b965432SPeng Fan #define PD_AUD_GPT_9                audio_gpt9
135*1b965432SPeng Fan #define PD_AUD_GPT_10               audio_gpt10
136*1b965432SPeng Fan #define PD_AUD_AMIX                 audio_amix
137*1b965432SPeng Fan #define PD_AUD_MQS_0                audio_mqs0
138*1b965432SPeng Fan #define PD_AUD_HIFI                 audio_hifi
139*1b965432SPeng Fan #define PD_AUD_OCRAM                audio_ocram
140*1b965432SPeng Fan #define PD_AUD_MCLK_OUT_0           audio_mclkout0
141*1b965432SPeng Fan #define PD_AUD_MCLK_OUT_1           audio_mclkout1
142*1b965432SPeng Fan #define PD_AUD_AUDIO_PLL_0          audio_audiopll0
143*1b965432SPeng Fan #define PD_AUD_AUDIO_PLL_1          audio_audiopll1
144*1b965432SPeng Fan #define PD_AUD_AUDIO_CLK_0          audio_audioclk0
145*1b965432SPeng Fan #define PD_AUD_AUDIO_CLK_1          audio_audioclk1
146*1b965432SPeng Fan 
147*1b965432SPeng Fan #define PD_IMAGING                  imaging_power_domain
148*1b965432SPeng Fan #define PD_IMAGING_JPEG_DEC         imaging_jpeg_dec
149*1b965432SPeng Fan #define PD_IMAGING_JPEG_ENC         imaging_jpeg_enc
150*1b965432SPeng Fan #define PD_IMAGING_PDMA0            PD_IMAGING
151*1b965432SPeng Fan #define PD_IMAGING_PDMA1            imaging_pdma1
152*1b965432SPeng Fan #define PD_IMAGING_PDMA2            imaging_pdma2
153*1b965432SPeng Fan #define PD_IMAGING_PDMA3            imaging_pdma3
154*1b965432SPeng Fan #define PD_IMAGING_PDMA4            imaging_pdma4
155*1b965432SPeng Fan #define PD_IMAGING_PDMA5            imaging_pdma5
156*1b965432SPeng Fan #define PD_IMAGING_PDMA6            imaging_pdma6
157*1b965432SPeng Fan #define PD_IMAGING_PDMA7            imaging_pdma7
158*1b965432SPeng Fan 
159*1b965432SPeng Fan #define PD_MIPI_0_DSI               mipi0_dsi_power_domain
160*1b965432SPeng Fan #define PD_MIPI_0_DSI_I2C0          mipi0_dsi_i2c0
161*1b965432SPeng Fan #define PD_MIPI_0_DSI_I2C1          mipi0_dsi_i2c1
162*1b965432SPeng Fan #define PD_MIPI_0_DSI_PWM0          mipi0_dsi_pwm0
163*1b965432SPeng Fan #define PD_MIPI_1_DSI               mipi1_dsi_power_domain
164*1b965432SPeng Fan #define PD_MIPI_1_DSI_I2C0          mipi1_dsi_i2c0
165*1b965432SPeng Fan #define PD_MIPI_1_DSI_I2C1          mipi1_dsi_i2c1
166*1b965432SPeng Fan #define PD_MIPI_1_DSI_PWM0          mipi1_dsi_pwm0
167*1b965432SPeng Fan 
168*1b965432SPeng Fan #define PD_MIPI_CSI0                mipi_csi0_power_domain
169*1b965432SPeng Fan #define PD_MIPI_CSI0_PWM            mipi_csi0_pwm
170*1b965432SPeng Fan #define PD_MIPI_CSI0_I2C            mipi_csi0_i2c
171*1b965432SPeng Fan #define PD_MIPI_CSI1                mipi_csi1_power_domain
172*1b965432SPeng Fan #define PD_MIPI_CSI1_PWM_0          mipi_csi1_pwm
173*1b965432SPeng Fan #define PD_MIPI_CSI1_I2C_0          mipi_csi1_i2c
174*1b965432SPeng Fan 
175*1b965432SPeng Fan #define PD_HDMI                     hdmi_power_domain
176*1b965432SPeng Fan #define PD_HDMI_I2C_0               hdmi_i2c
177*1b965432SPeng Fan #define PD_HDMI_PWM_0               hdmi_pwm
178*1b965432SPeng Fan #define PD_HDMI_GPIO_0              hdmi_gpio
179*1b965432SPeng Fan 
180*1b965432SPeng Fan #define PD_HDMI_RX                  hdmi_rx_power_domain
181*1b965432SPeng Fan #define PD_HDMI_RX_I2C              hdmi_rx_i2c
182*1b965432SPeng Fan #define PD_HDMI_RX_PWM              hdmi_rx_pwm
183*1b965432SPeng Fan 
184*1b965432SPeng Fan #define PD_CM40                     cm40_power_domain
185*1b965432SPeng Fan #define PD_CM40_I2C                 cm40_i2c
186*1b965432SPeng Fan #define PD_CM40_INTMUX              cm40_intmux
187*1b965432SPeng Fan 
188*1b965432SPeng Fan #endif /* __DT_BINDINGS_IMX8_PD_H */
189