1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright 2019 NXP 4 */ 5 6 #ifndef __DT_BINDINGS_CLOCK_IMX8MP_H 7 #define __DT_BINDINGS_CLOCK_IMX8MP_H 8 9 #define IMX8MP_CLK_DUMMY 0 10 #define IMX8MP_CLK_32K 1 11 #define IMX8MP_CLK_24M 2 12 #define IMX8MP_OSC_HDMI_CLK 3 13 #define IMX8MP_CLK_EXT1 4 14 #define IMX8MP_CLK_EXT2 5 15 #define IMX8MP_CLK_EXT3 6 16 #define IMX8MP_CLK_EXT4 7 17 #define IMX8MP_AUDIO_PLL1_REF_SEL 8 18 #define IMX8MP_AUDIO_PLL2_REF_SEL 9 19 #define IMX8MP_VIDEO_PLL1_REF_SEL 10 20 #define IMX8MP_DRAM_PLL_REF_SEL 11 21 #define IMX8MP_GPU_PLL_REF_SEL 12 22 #define IMX8MP_VPU_PLL_REF_SEL 13 23 #define IMX8MP_ARM_PLL_REF_SEL 14 24 #define IMX8MP_SYS_PLL1_REF_SEL 15 25 #define IMX8MP_SYS_PLL2_REF_SEL 16 26 #define IMX8MP_SYS_PLL3_REF_SEL 17 27 #define IMX8MP_AUDIO_PLL1 18 28 #define IMX8MP_AUDIO_PLL2 19 29 #define IMX8MP_VIDEO_PLL1 20 30 #define IMX8MP_DRAM_PLL 21 31 #define IMX8MP_GPU_PLL 22 32 #define IMX8MP_VPU_PLL 23 33 #define IMX8MP_ARM_PLL 24 34 #define IMX8MP_SYS_PLL1 25 35 #define IMX8MP_SYS_PLL2 26 36 #define IMX8MP_SYS_PLL3 27 37 #define IMX8MP_AUDIO_PLL1_BYPASS 28 38 #define IMX8MP_AUDIO_PLL2_BYPASS 29 39 #define IMX8MP_VIDEO_PLL1_BYPASS 30 40 #define IMX8MP_DRAM_PLL_BYPASS 31 41 #define IMX8MP_GPU_PLL_BYPASS 32 42 #define IMX8MP_VPU_PLL_BYPASS 33 43 #define IMX8MP_ARM_PLL_BYPASS 34 44 #define IMX8MP_SYS_PLL1_BYPASS 35 45 #define IMX8MP_SYS_PLL2_BYPASS 36 46 #define IMX8MP_SYS_PLL3_BYPASS 37 47 #define IMX8MP_AUDIO_PLL1_OUT 38 48 #define IMX8MP_AUDIO_PLL2_OUT 39 49 #define IMX8MP_VIDEO_PLL1_OUT 40 50 #define IMX8MP_DRAM_PLL_OUT 41 51 #define IMX8MP_GPU_PLL_OUT 42 52 #define IMX8MP_VPU_PLL_OUT 43 53 #define IMX8MP_ARM_PLL_OUT 44 54 #define IMX8MP_SYS_PLL1_OUT 45 55 #define IMX8MP_SYS_PLL2_OUT 46 56 #define IMX8MP_SYS_PLL3_OUT 47 57 #define IMX8MP_SYS_PLL1_40M 48 58 #define IMX8MP_SYS_PLL1_80M 49 59 #define IMX8MP_SYS_PLL1_100M 50 60 #define IMX8MP_SYS_PLL1_133M 51 61 #define IMX8MP_SYS_PLL1_160M 52 62 #define IMX8MP_SYS_PLL1_200M 53 63 #define IMX8MP_SYS_PLL1_266M 54 64 #define IMX8MP_SYS_PLL1_400M 55 65 #define IMX8MP_SYS_PLL1_800M 56 66 #define IMX8MP_SYS_PLL2_50M 57 67 #define IMX8MP_SYS_PLL2_100M 58 68 #define IMX8MP_SYS_PLL2_125M 59 69 #define IMX8MP_SYS_PLL2_166M 60 70 #define IMX8MP_SYS_PLL2_200M 61 71 #define IMX8MP_SYS_PLL2_250M 62 72 #define IMX8MP_SYS_PLL2_333M 63 73 #define IMX8MP_SYS_PLL2_500M 64 74 #define IMX8MP_SYS_PLL2_1000M 65 75 #define IMX8MP_CLK_A53_SRC 66 76 #define IMX8MP_CLK_M7_SRC 67 77 #define IMX8MP_CLK_ML_SRC 68 78 #define IMX8MP_CLK_GPU3D_CORE_SRC 69 79 #define IMX8MP_CLK_GPU3D_SHADER_SRC 70 80 #define IMX8MP_CLK_GPU2D_SRC 71 81 #define IMX8MP_CLK_AUDIO_AXI_SRC 72 82 #define IMX8MP_CLK_HSIO_AXI_SRC 73 83 #define IMX8MP_CLK_MEDIA_ISP_SRC 74 84 #define IMX8MP_CLK_A53_CG 75 85 #define IMX8MP_CLK_M4_CG 76 86 #define IMX8MP_CLK_ML_CG 77 87 #define IMX8MP_CLK_GPU3D_CORE_CG 78 88 #define IMX8MP_CLK_GPU3D_SHADER_CG 79 89 #define IMX8MP_CLK_GPU2D_CG 80 90 #define IMX8MP_CLK_AUDIO_AXI_CG 81 91 #define IMX8MP_CLK_HSIO_AXI_CG 82 92 #define IMX8MP_CLK_MEDIA_ISP_CG 83 93 #define IMX8MP_CLK_A53_DIV 84 94 #define IMX8MP_CLK_M7_DIV 85 95 #define IMX8MP_CLK_ML_DIV 86 96 #define IMX8MP_CLK_GPU3D_CORE_DIV 87 97 #define IMX8MP_CLK_GPU3D_SHADER_DIV 88 98 #define IMX8MP_CLK_GPU2D_DIV 89 99 #define IMX8MP_CLK_AUDIO_AXI_DIV 90 100 #define IMX8MP_CLK_HSIO_AXI_DIV 91 101 #define IMX8MP_CLK_MEDIA_ISP_DIV 92 102 #define IMX8MP_CLK_MAIN_AXI 93 103 #define IMX8MP_CLK_ENET_AXI 94 104 #define IMX8MP_CLK_NAND_USDHC_BUS 95 105 #define IMX8MP_CLK_VPU_BUS 96 106 #define IMX8MP_CLK_MEDIA_AXI 97 107 #define IMX8MP_CLK_MEDIA_APB 98 108 #define IMX8MP_CLK_HDMI_APB 99 109 #define IMX8MP_CLK_HDMI_AXI 100 110 #define IMX8MP_CLK_GPU_AXI 101 111 #define IMX8MP_CLK_GPU_AHB 102 112 #define IMX8MP_CLK_NOC 103 113 #define IMX8MP_CLK_NOC_IO 104 114 #define IMX8MP_CLK_ML_AXI 105 115 #define IMX8MP_CLK_ML_AHB 106 116 #define IMX8MP_CLK_AHB 107 117 #define IMX8MP_CLK_AUDIO_AHB 108 118 #define IMX8MP_CLK_MIPI_DSI_ESC_RX 109 119 #define IMX8MP_CLK_IPG_ROOT 110 120 #define IMX8MP_CLK_IPG_AUDIO_ROOT 111 121 #define IMX8MP_CLK_DRAM_ALT 112 122 #define IMX8MP_CLK_DRAM_APB 113 123 #define IMX8MP_CLK_VPU_G1 114 124 #define IMX8MP_CLK_VPU_G2 115 125 #define IMX8MP_CLK_CAN1 116 126 #define IMX8MP_CLK_CAN2 117 127 #define IMX8MP_CLK_MEMREPAIR 118 128 #define IMX8MP_CLK_PCIE_PHY 119 129 #define IMX8MP_CLK_PCIE_AUX 120 130 #define IMX8MP_CLK_I2C5 121 131 #define IMX8MP_CLK_I2C6 122 132 #define IMX8MP_CLK_SAI1 123 133 #define IMX8MP_CLK_SAI2 124 134 #define IMX8MP_CLK_SAI3 125 135 #define IMX8MP_CLK_SAI4 126 136 #define IMX8MP_CLK_SAI5 127 137 #define IMX8MP_CLK_SAI6 128 138 #define IMX8MP_CLK_ENET_QOS 129 139 #define IMX8MP_CLK_ENET_QOS_TIMER 130 140 #define IMX8MP_CLK_ENET_REF 131 141 #define IMX8MP_CLK_ENET_TIMER 132 142 #define IMX8MP_CLK_ENET_PHY_REF 133 143 #define IMX8MP_CLK_NAND 134 144 #define IMX8MP_CLK_QSPI 135 145 #define IMX8MP_CLK_USDHC1 136 146 #define IMX8MP_CLK_USDHC2 137 147 #define IMX8MP_CLK_I2C1 138 148 #define IMX8MP_CLK_I2C2 139 149 #define IMX8MP_CLK_I2C3 140 150 #define IMX8MP_CLK_I2C4 141 151 #define IMX8MP_CLK_UART1 142 152 #define IMX8MP_CLK_UART2 143 153 #define IMX8MP_CLK_UART3 144 154 #define IMX8MP_CLK_UART4 145 155 #define IMX8MP_CLK_USB_CORE_REF 146 156 #define IMX8MP_CLK_USB_PHY_REF 147 157 #define IMX8MP_CLK_GIC 148 158 #define IMX8MP_CLK_ECSPI1 149 159 #define IMX8MP_CLK_ECSPI2 150 160 #define IMX8MP_CLK_PWM1 151 161 #define IMX8MP_CLK_PWM2 152 162 #define IMX8MP_CLK_PWM3 153 163 #define IMX8MP_CLK_PWM4 154 164 #define IMX8MP_CLK_GPT1 155 165 #define IMX8MP_CLK_GPT2 156 166 #define IMX8MP_CLK_GPT3 157 167 #define IMX8MP_CLK_GPT4 158 168 #define IMX8MP_CLK_GPT5 159 169 #define IMX8MP_CLK_GPT6 160 170 #define IMX8MP_CLK_TRACE 161 171 #define IMX8MP_CLK_WDOG 162 172 #define IMX8MP_CLK_WRCLK 163 173 #define IMX8MP_CLK_IPP_DO_CLKO1 164 174 #define IMX8MP_CLK_IPP_DO_CLKO2 165 175 #define IMX8MP_CLK_HDMI_FDCC_TST 166 176 #define IMX8MP_CLK_HDMI_24M 167 177 #define IMX8MP_CLK_HDMI_REF_266M 168 178 #define IMX8MP_CLK_USDHC3 169 179 #define IMX8MP_CLK_MEDIA_CAM1_PIX 170 180 #define IMX8MP_CLK_MEDIA_MIPI_PHY1_REF 171 181 #define IMX8MP_CLK_MEDIA_DISP1_PIX 172 182 #define IMX8MP_CLK_MEDIA_CAM2_PIX 173 183 #define IMX8MP_CLK_MEDIA_MIPI_PHY2_REF 174 184 #define IMX8MP_CLK_MEDIA_MIPI_CSI2_ESC 175 185 #define IMX8MP_CLK_PCIE2_CTRL 176 186 #define IMX8MP_CLK_PCIE2_PHY 177 187 #define IMX8MP_CLK_MEDIA_MIPI_TEST_BYTE 178 188 #define IMX8MP_CLK_ECSPI3 179 189 #define IMX8MP_CLK_PDM 180 190 #define IMX8MP_CLK_VPU_VC8000E 181 191 #define IMX8MP_CLK_SAI7 182 192 #define IMX8MP_CLK_GPC_ROOT 183 193 #define IMX8MP_CLK_ANAMIX_ROOT 184 194 #define IMX8MP_CLK_CPU_ROOT 185 195 #define IMX8MP_CLK_CSU_ROOT 186 196 #define IMX8MP_CLK_DEBUG_ROOT 187 197 #define IMX8MP_CLK_DRAM1_ROOT 188 198 #define IMX8MP_CLK_ECSPI1_ROOT 189 199 #define IMX8MP_CLK_ECSPI2_ROOT 190 200 #define IMX8MP_CLK_ECSPI3_ROOT 191 201 #define IMX8MP_CLK_ENET1_ROOT 192 202 #define IMX8MP_CLK_GPIO1_ROOT 193 203 #define IMX8MP_CLK_GPIO2_ROOT 194 204 #define IMX8MP_CLK_GPIO3_ROOT 195 205 #define IMX8MP_CLK_GPIO4_ROOT 196 206 #define IMX8MP_CLK_GPIO5_ROOT 197 207 #define IMX8MP_CLK_GPT1_ROOT 198 208 #define IMX8MP_CLK_GPT2_ROOT 199 209 #define IMX8MP_CLK_GPT3_ROOT 200 210 #define IMX8MP_CLK_GPT4_ROOT 201 211 #define IMX8MP_CLK_GPT5_ROOT 202 212 #define IMX8MP_CLK_GPT6_ROOT 203 213 #define IMX8MP_CLK_HS_ROOT 204 214 #define IMX8MP_CLK_I2C1_ROOT 205 215 #define IMX8MP_CLK_I2C2_ROOT 206 216 #define IMX8MP_CLK_I2C3_ROOT 207 217 #define IMX8MP_CLK_I2C4_ROOT 208 218 #define IMX8MP_CLK_IOMUX_ROOT 209 219 #define IMX8MP_CLK_IPMUX1_ROOT 210 220 #define IMX8MP_CLK_IPMUX2_ROOT 211 221 #define IMX8MP_CLK_IPMUX3_ROOT 212 222 #define IMX8MP_CLK_MU_ROOT 213 223 #define IMX8MP_CLK_OCOTP_ROOT 214 224 #define IMX8MP_CLK_OCRAM_ROOT 215 225 #define IMX8MP_CLK_OCRAM_S_ROOT 216 226 #define IMX8MP_CLK_PCIE_ROOT 217 227 #define IMX8MP_CLK_PERFMON1_ROOT 218 228 #define IMX8MP_CLK_PERFMON2_ROOT 219 229 #define IMX8MP_CLK_PWM1_ROOT 220 230 #define IMX8MP_CLK_PWM2_ROOT 221 231 #define IMX8MP_CLK_PWM3_ROOT 222 232 #define IMX8MP_CLK_PWM4_ROOT 223 233 #define IMX8MP_CLK_QOS_ROOT 224 234 #define IMX8MP_CLK_QOS_ENET_ROOT 225 235 #define IMX8MP_CLK_QSPI_ROOT 226 236 #define IMX8MP_CLK_NAND_ROOT 227 237 #define IMX8MP_CLK_NAND_USDHC_BUS_RAWNAND_CLK 228 238 #define IMX8MP_CLK_RDC_ROOT 229 239 #define IMX8MP_CLK_ROM_ROOT 230 240 #define IMX8MP_CLK_I2C5_ROOT 231 241 #define IMX8MP_CLK_I2C6_ROOT 232 242 #define IMX8MP_CLK_CAN1_ROOT 233 243 #define IMX8MP_CLK_CAN2_ROOT 234 244 #define IMX8MP_CLK_SCTR_ROOT 235 245 #define IMX8MP_CLK_SDMA1_ROOT 236 246 #define IMX8MP_CLK_ENET_QOS_ROOT 237 247 #define IMX8MP_CLK_SEC_DEBUG_ROOT 238 248 #define IMX8MP_CLK_SEMA1_ROOT 239 249 #define IMX8MP_CLK_SEMA2_ROOT 240 250 #define IMX8MP_CLK_IRQ_STEER_ROOT 241 251 #define IMX8MP_CLK_SIM_ENET_ROOT 242 252 #define IMX8MP_CLK_SIM_M_ROOT 243 253 #define IMX8MP_CLK_SIM_MAIN_ROOT 244 254 #define IMX8MP_CLK_SIM_S_ROOT 245 255 #define IMX8MP_CLK_SIM_WAKEUP_ROOT 246 256 #define IMX8MP_CLK_GPU2D_ROOT 247 257 #define IMX8MP_CLK_GPU3D_ROOT 248 258 #define IMX8MP_CLK_SNVS_ROOT 249 259 #define IMX8MP_CLK_TRACE_ROOT 250 260 #define IMX8MP_CLK_UART1_ROOT 251 261 #define IMX8MP_CLK_UART2_ROOT 252 262 #define IMX8MP_CLK_UART3_ROOT 253 263 #define IMX8MP_CLK_UART4_ROOT 254 264 #define IMX8MP_CLK_USB_ROOT 255 265 #define IMX8MP_CLK_USB_PHY_ROOT 256 266 #define IMX8MP_CLK_USDHC1_ROOT 257 267 #define IMX8MP_CLK_USDHC2_ROOT 258 268 #define IMX8MP_CLK_WDOG1_ROOT 259 269 #define IMX8MP_CLK_WDOG2_ROOT 260 270 #define IMX8MP_CLK_WDOG3_ROOT 261 271 #define IMX8MP_CLK_VPU_G1_ROOT 262 272 #define IMX8MP_CLK_GPU_ROOT 263 273 #define IMX8MP_CLK_NOC_WRAPPER_ROOT 264 274 #define IMX8MP_CLK_VPU_VC8KE_ROOT 265 275 #define IMX8MP_CLK_VPU_G2_ROOT 266 276 #define IMX8MP_CLK_NPU_ROOT 267 277 #define IMX8MP_CLK_HSIO_ROOT 268 278 #define IMX8MP_CLK_MEDIA_APB_ROOT 269 279 #define IMX8MP_CLK_MEDIA_AXI_ROOT 270 280 #define IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT 271 281 #define IMX8MP_CLK_MEDIA_CAM2_PIX_ROOT 272 282 #define IMX8MP_CLK_MEDIA_DISP1_PIX_ROOT 273 283 #define IMX8MP_CLK_MEDIA_DISP2_PIX_ROOT 274 284 #define IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT 275 285 #define IMX8MP_CLK_MEDIA_ISP_ROOT 276 286 #define IMX8MP_CLK_USDHC3_ROOT 277 287 #define IMX8MP_CLK_HDMI_ROOT 278 288 #define IMX8MP_CLK_XTAL_ROOT 279 289 #define IMX8MP_CLK_PLL_ROOT 280 290 #define IMX8MP_CLK_TSENSOR_ROOT 281 291 #define IMX8MP_CLK_VPU_ROOT 282 292 #define IMX8MP_CLK_MRPR_ROOT 283 293 #define IMX8MP_CLK_AUDIO_ROOT 284 294 #define IMX8MP_CLK_DRAM_ALT_ROOT 285 295 #define IMX8MP_CLK_DRAM_CORE 286 296 #define IMX8MP_CLK_ARM 287 297 #define IMX8MP_CLK_A53_CORE 288 298 299 #define IMX8MP_CLK_END 289 300 301 #endif 302