18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright 2016 Freescale Semiconductor, Inc. 48c2ecf20Sopenharmony_ci * Copyright 2017 NXP 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_IMX8MQ_H 88c2ecf20Sopenharmony_ci#define __DT_BINDINGS_CLOCK_IMX8MQ_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DUMMY 0 118c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_32K 1 128c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_25M 2 138c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_27M 3 148c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_EXT1 4 158c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_EXT2 5 168c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_EXT3 6 178c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_EXT4 7 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci/* ANAMIX PLL clocks */ 208c2ecf20Sopenharmony_ci/* FRAC PLLs */ 218c2ecf20Sopenharmony_ci/* ARM PLL */ 228c2ecf20Sopenharmony_ci#define IMX8MQ_ARM_PLL_REF_SEL 8 238c2ecf20Sopenharmony_ci#define IMX8MQ_ARM_PLL_REF_DIV 9 248c2ecf20Sopenharmony_ci#define IMX8MQ_ARM_PLL 10 258c2ecf20Sopenharmony_ci#define IMX8MQ_ARM_PLL_BYPASS 11 268c2ecf20Sopenharmony_ci#define IMX8MQ_ARM_PLL_OUT 12 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci/* GPU PLL */ 298c2ecf20Sopenharmony_ci#define IMX8MQ_GPU_PLL_REF_SEL 13 308c2ecf20Sopenharmony_ci#define IMX8MQ_GPU_PLL_REF_DIV 14 318c2ecf20Sopenharmony_ci#define IMX8MQ_GPU_PLL 15 328c2ecf20Sopenharmony_ci#define IMX8MQ_GPU_PLL_BYPASS 16 338c2ecf20Sopenharmony_ci#define IMX8MQ_GPU_PLL_OUT 17 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci/* VPU PLL */ 368c2ecf20Sopenharmony_ci#define IMX8MQ_VPU_PLL_REF_SEL 18 378c2ecf20Sopenharmony_ci#define IMX8MQ_VPU_PLL_REF_DIV 19 388c2ecf20Sopenharmony_ci#define IMX8MQ_VPU_PLL 20 398c2ecf20Sopenharmony_ci#define IMX8MQ_VPU_PLL_BYPASS 21 408c2ecf20Sopenharmony_ci#define IMX8MQ_VPU_PLL_OUT 22 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci/* AUDIO PLL1 */ 438c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL1_REF_SEL 23 448c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL1_REF_DIV 24 458c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL1 25 468c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL1_BYPASS 26 478c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL1_OUT 27 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci/* AUDIO PLL2 */ 508c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL2_REF_SEL 28 518c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL2_REF_DIV 29 528c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL2 30 538c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL2_BYPASS 31 548c2ecf20Sopenharmony_ci#define IMX8MQ_AUDIO_PLL2_OUT 32 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci/* VIDEO PLL1 */ 578c2ecf20Sopenharmony_ci#define IMX8MQ_VIDEO_PLL1_REF_SEL 33 588c2ecf20Sopenharmony_ci#define IMX8MQ_VIDEO_PLL1_REF_DIV 34 598c2ecf20Sopenharmony_ci#define IMX8MQ_VIDEO_PLL1 35 608c2ecf20Sopenharmony_ci#define IMX8MQ_VIDEO_PLL1_BYPASS 36 618c2ecf20Sopenharmony_ci#define IMX8MQ_VIDEO_PLL1_OUT 37 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci/* SYS1 PLL */ 648c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL1_REF_SEL 38 658c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL1_REF_DIV 39 668c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL1 40 678c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL1_OUT 41 688c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL1_OUT_DIV 42 698c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL2 43 708c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL2_DIV 44 718c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL2_OUT 45 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci/* SYS2 PLL */ 748c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL1_REF_SEL 46 758c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL1_REF_DIV 47 768c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL1 48 778c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL1_OUT 49 788c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL1_OUT_DIV 50 798c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL2 51 808c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL2_DIV 52 818c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL2_OUT 53 828c2ecf20Sopenharmony_ci 838c2ecf20Sopenharmony_ci/* SYS3 PLL */ 848c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL1_REF_SEL 54 858c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL1_REF_DIV 55 868c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL1 56 878c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL1_OUT 57 888c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL1_OUT_DIV 58 898c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL2 59 908c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL2_DIV 60 918c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL2_OUT 61 928c2ecf20Sopenharmony_ci 938c2ecf20Sopenharmony_ci/* DRAM PLL */ 948c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL1_REF_SEL 62 958c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL1_REF_DIV 63 968c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL1 64 978c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL1_OUT 65 988c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL1_OUT_DIV 66 998c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL2 67 1008c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL2_DIV 68 1018c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL2_OUT 69 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci/* SYS PLL DIV */ 1048c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_40M 70 1058c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_80M 71 1068c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_100M 72 1078c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_133M 73 1088c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_160M 74 1098c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_200M 75 1108c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_266M 76 1118c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_400M 77 1128c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_800M 78 1138c2ecf20Sopenharmony_ci 1148c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_50M 79 1158c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_100M 80 1168c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_125M 81 1178c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_166M 82 1188c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_200M 83 1198c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_250M 84 1208c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_333M 85 1218c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_500M 86 1228c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_1000M 87 1238c2ecf20Sopenharmony_ci 1248c2ecf20Sopenharmony_ci/* CCM ROOT clocks */ 1258c2ecf20Sopenharmony_ci/* A53 */ 1268c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_A53_SRC 88 1278c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_A53_CG 89 1288c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_A53_DIV 90 1298c2ecf20Sopenharmony_ci/* M4 */ 1308c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_M4_SRC 91 1318c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_M4_CG 92 1328c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_M4_DIV 93 1338c2ecf20Sopenharmony_ci/* VPU */ 1348c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_SRC 94 1358c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_CG 95 1368c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_DIV 96 1378c2ecf20Sopenharmony_ci/* GPU CORE */ 1388c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_CORE_SRC 97 1398c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_CORE_CG 98 1408c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_CORE_DIV 99 1418c2ecf20Sopenharmony_ci/* GPU SHADER */ 1428c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_SHADER_SRC 100 1438c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_SHADER_CG 101 1448c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_SHADER_DIV 102 1458c2ecf20Sopenharmony_ci 1468c2ecf20Sopenharmony_ci/* BUS TYPE */ 1478c2ecf20Sopenharmony_ci/* MAIN AXI */ 1488c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_MAIN_AXI 103 1498c2ecf20Sopenharmony_ci/* ENET AXI */ 1508c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ENET_AXI 104 1518c2ecf20Sopenharmony_ci/* NAND_USDHC_BUS */ 1528c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_NAND_USDHC_BUS 105 1538c2ecf20Sopenharmony_ci/* VPU BUS */ 1548c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_BUS 106 1558c2ecf20Sopenharmony_ci/* DISP_AXI */ 1568c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_AXI 107 1578c2ecf20Sopenharmony_ci/* DISP APB */ 1588c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_APB 108 1598c2ecf20Sopenharmony_ci/* DISP RTRM */ 1608c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_RTRM 109 1618c2ecf20Sopenharmony_ci/* USB_BUS */ 1628c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USB_BUS 110 1638c2ecf20Sopenharmony_ci/* GPU_AXI */ 1648c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_AXI 111 1658c2ecf20Sopenharmony_ci/* GPU_AHB */ 1668c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_AHB 112 1678c2ecf20Sopenharmony_ci/* NOC */ 1688c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_NOC 113 1698c2ecf20Sopenharmony_ci/* NOC_APB */ 1708c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_NOC_APB 115 1718c2ecf20Sopenharmony_ci 1728c2ecf20Sopenharmony_ci/* AHB */ 1738c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_AHB 116 1748c2ecf20Sopenharmony_ci/* AUDIO AHB */ 1758c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_AUDIO_AHB 117 1768c2ecf20Sopenharmony_ci 1778c2ecf20Sopenharmony_ci/* DRAM_ALT */ 1788c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DRAM_ALT 118 1798c2ecf20Sopenharmony_ci/* DRAM APB */ 1808c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DRAM_APB 119 1818c2ecf20Sopenharmony_ci/* VPU_G1 */ 1828c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_G1 120 1838c2ecf20Sopenharmony_ci/* VPU_G2 */ 1848c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_G2 121 1858c2ecf20Sopenharmony_ci/* DISP_DTRC */ 1868c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_DTRC 122 1878c2ecf20Sopenharmony_ci/* DISP_DC8000 */ 1888c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_DC8000 123 1898c2ecf20Sopenharmony_ci/* PCIE_CTRL */ 1908c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE1_CTRL 124 1918c2ecf20Sopenharmony_ci/* PCIE_PHY */ 1928c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE1_PHY 125 1938c2ecf20Sopenharmony_ci/* PCIE_AUX */ 1948c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE1_AUX 126 1958c2ecf20Sopenharmony_ci/* DC_PIXEL */ 1968c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DC_PIXEL 127 1978c2ecf20Sopenharmony_ci/* LCDIF_PIXEL */ 1988c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_LCDIF_PIXEL 128 1998c2ecf20Sopenharmony_ci/* SAI1~6 */ 2008c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI1 129 2018c2ecf20Sopenharmony_ci 2028c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI2 130 2038c2ecf20Sopenharmony_ci 2048c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI3 131 2058c2ecf20Sopenharmony_ci 2068c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI4 132 2078c2ecf20Sopenharmony_ci 2088c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI5 133 2098c2ecf20Sopenharmony_ci 2108c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI6 134 2118c2ecf20Sopenharmony_ci/* SPDIF1 */ 2128c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SPDIF1 135 2138c2ecf20Sopenharmony_ci/* SPDIF2 */ 2148c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SPDIF2 136 2158c2ecf20Sopenharmony_ci/* ENET_REF */ 2168c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ENET_REF 137 2178c2ecf20Sopenharmony_ci/* ENET_TIMER */ 2188c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ENET_TIMER 138 2198c2ecf20Sopenharmony_ci/* ENET_PHY */ 2208c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ENET_PHY_REF 139 2218c2ecf20Sopenharmony_ci/* NAND */ 2228c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_NAND 140 2238c2ecf20Sopenharmony_ci/* QSPI */ 2248c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_QSPI 141 2258c2ecf20Sopenharmony_ci/* USDHC1 */ 2268c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USDHC1 142 2278c2ecf20Sopenharmony_ci/* USDHC2 */ 2288c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USDHC2 143 2298c2ecf20Sopenharmony_ci/* I2C1 */ 2308c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C1 144 2318c2ecf20Sopenharmony_ci/* I2C2 */ 2328c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C2 145 2338c2ecf20Sopenharmony_ci/* I2C3 */ 2348c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C3 146 2358c2ecf20Sopenharmony_ci/* I2C4 */ 2368c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C4 147 2378c2ecf20Sopenharmony_ci/* UART1 */ 2388c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART1 148 2398c2ecf20Sopenharmony_ci/* UART2 */ 2408c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART2 149 2418c2ecf20Sopenharmony_ci/* UART3 */ 2428c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART3 150 2438c2ecf20Sopenharmony_ci/* UART4 */ 2448c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART4 151 2458c2ecf20Sopenharmony_ci/* USB_CORE_REF */ 2468c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USB_CORE_REF 152 2478c2ecf20Sopenharmony_ci/* USB_PHY_REF */ 2488c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USB_PHY_REF 153 2498c2ecf20Sopenharmony_ci/* ECSPI1 */ 2508c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ECSPI1 154 2518c2ecf20Sopenharmony_ci/* ECSPI2 */ 2528c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ECSPI2 155 2538c2ecf20Sopenharmony_ci/* PWM1 */ 2548c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM1 156 2558c2ecf20Sopenharmony_ci/* PWM2 */ 2568c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM2 157 2578c2ecf20Sopenharmony_ci/* PWM3 */ 2588c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM3 158 2598c2ecf20Sopenharmony_ci/* PWM4 */ 2608c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM4 159 2618c2ecf20Sopenharmony_ci/* GPT1 */ 2628c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPT1 160 2638c2ecf20Sopenharmony_ci/* WDOG */ 2648c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_WDOG 161 2658c2ecf20Sopenharmony_ci/* WRCLK */ 2668c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_WRCLK 162 2678c2ecf20Sopenharmony_ci/* DSI_CORE */ 2688c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DSI_CORE 163 2698c2ecf20Sopenharmony_ci/* DSI_PHY */ 2708c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DSI_PHY_REF 164 2718c2ecf20Sopenharmony_ci/* DSI_DBI */ 2728c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DSI_DBI 165 2738c2ecf20Sopenharmony_ci/*DSI_ESC */ 2748c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DSI_ESC 166 2758c2ecf20Sopenharmony_ci/* CSI1_CORE */ 2768c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI1_CORE 167 2778c2ecf20Sopenharmony_ci/* CSI1_PHY */ 2788c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI1_PHY_REF 168 2798c2ecf20Sopenharmony_ci/* CSI_ESC */ 2808c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI1_ESC 169 2818c2ecf20Sopenharmony_ci/* CSI2_CORE */ 2828c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI2_CORE 170 2838c2ecf20Sopenharmony_ci/* CSI2_PHY */ 2848c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI2_PHY_REF 171 2858c2ecf20Sopenharmony_ci/* CSI2_ESC */ 2868c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI2_ESC 172 2878c2ecf20Sopenharmony_ci/* PCIE2_CTRL */ 2888c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE2_CTRL 173 2898c2ecf20Sopenharmony_ci/* PCIE2_PHY */ 2908c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE2_PHY 174 2918c2ecf20Sopenharmony_ci/* PCIE2_AUX */ 2928c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE2_AUX 175 2938c2ecf20Sopenharmony_ci/* ECSPI3 */ 2948c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ECSPI3 176 2958c2ecf20Sopenharmony_ci 2968c2ecf20Sopenharmony_ci/* CCGR clocks */ 2978c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_A53_ROOT 177 2988c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DRAM_ROOT 178 2998c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ECSPI1_ROOT 179 3008c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ECSPI2_ROOT 180 3018c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ECSPI3_ROOT 181 3028c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ENET1_ROOT 182 3038c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPT1_ROOT 183 3048c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C1_ROOT 184 3058c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C2_ROOT 185 3068c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C3_ROOT 186 3078c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_I2C4_ROOT 187 3088c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_M4_ROOT 188 3098c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE1_ROOT 189 3108c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PCIE2_ROOT 190 3118c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM1_ROOT 191 3128c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM2_ROOT 192 3138c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM3_ROOT 193 3148c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_PWM4_ROOT 194 3158c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_QSPI_ROOT 195 3168c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI1_ROOT 196 3178c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI2_ROOT 197 3188c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI3_ROOT 198 3198c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI4_ROOT 199 3208c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI5_ROOT 200 3218c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI6_ROOT 201 3228c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART1_ROOT 202 3238c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART2_ROOT 203 3248c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART3_ROOT 204 3258c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_UART4_ROOT 205 3268c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USB1_CTRL_ROOT 206 3278c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USB2_CTRL_ROOT 207 3288c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USB1_PHY_ROOT 208 3298c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USB2_PHY_ROOT 209 3308c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USDHC1_ROOT 210 3318c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_USDHC2_ROOT 211 3328c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_WDOG1_ROOT 212 3338c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_WDOG2_ROOT 213 3348c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_WDOG3_ROOT 214 3358c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_ROOT 215 3368c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_HEVC_ROOT 216 3378c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_AVC_ROOT 217 3388c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VP9_ROOT 218 3398c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_HEVC_INTER_ROOT 219 3408c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_ROOT 220 3418c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_HDMI_ROOT 221 3428c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_HDMI_PHY_ROOT 222 3438c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_DEC_ROOT 223 3448c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI1_ROOT 224 3458c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CSI2_ROOT 225 3468c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_RAWNAND_ROOT 226 3478c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SDMA1_ROOT 227 3488c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SDMA2_ROOT 228 3498c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_G1_ROOT 229 3508c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_G2_ROOT 230 3518c2ecf20Sopenharmony_ci 3528c2ecf20Sopenharmony_ci/* SCCG PLL GATE */ 3538c2ecf20Sopenharmony_ci#define IMX8MQ_SYS1_PLL_OUT 231 3548c2ecf20Sopenharmony_ci#define IMX8MQ_SYS2_PLL_OUT 232 3558c2ecf20Sopenharmony_ci#define IMX8MQ_SYS3_PLL_OUT 233 3568c2ecf20Sopenharmony_ci#define IMX8MQ_DRAM_PLL_OUT 234 3578c2ecf20Sopenharmony_ci 3588c2ecf20Sopenharmony_ci#define IMX8MQ_GPT_3M_CLK 235 3598c2ecf20Sopenharmony_ci 3608c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_IPG_ROOT 236 3618c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_IPG_AUDIO_ROOT 237 3628c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI1_IPG 238 3638c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI2_IPG 239 3648c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI3_IPG 240 3658c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI4_IPG 241 3668c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI5_IPG 242 3678c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SAI6_IPG 243 3688c2ecf20Sopenharmony_ci 3698c2ecf20Sopenharmony_ci/* DSI AHB/IPG clocks */ 3708c2ecf20Sopenharmony_ci/* rxesc clock */ 3718c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DSI_AHB 244 3728c2ecf20Sopenharmony_ci/* txesc clock */ 3738c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DSI_IPG_DIV 245 3748c2ecf20Sopenharmony_ci 3758c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_TMU_ROOT 246 3768c2ecf20Sopenharmony_ci 3778c2ecf20Sopenharmony_ci/* Display root clocks */ 3788c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_AXI_ROOT 247 3798c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_APB_ROOT 248 3808c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DISP_RTRM_ROOT 249 3818c2ecf20Sopenharmony_ci 3828c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_OCOTP_ROOT 250 3838c2ecf20Sopenharmony_ci 3848c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DRAM_ALT_ROOT 251 3858c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_DRAM_CORE 252 3868c2ecf20Sopenharmony_ci 3878c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_MU_ROOT 253 3888c2ecf20Sopenharmony_ci#define IMX8MQ_VIDEO2_PLL_OUT 254 3898c2ecf20Sopenharmony_ci 3908c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CLKO2 255 3918c2ecf20Sopenharmony_ci 3928c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_NAND_USDHC_BUS_RAWNAND_CLK 256 3938c2ecf20Sopenharmony_ci 3948c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_CLKO1 257 3958c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_ARM 258 3968c2ecf20Sopenharmony_ci 3978c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPIO1_ROOT 259 3988c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPIO2_ROOT 260 3998c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPIO3_ROOT 261 4008c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPIO4_ROOT 262 4018c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPIO5_ROOT 263 4028c2ecf20Sopenharmony_ci 4038c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_SNVS_ROOT 264 4048c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GIC 265 4058c2ecf20Sopenharmony_ci 4068c2ecf20Sopenharmony_ci#define IMX8MQ_VIDEO2_PLL1_REF_SEL 266 4078c2ecf20Sopenharmony_ci 4088c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_CORE 285 4098c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_GPU_SHADER 286 4108c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_M4_CORE 287 4118c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_VPU_CORE 288 4128c2ecf20Sopenharmony_ci 4138c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_A53_CORE 289 4148c2ecf20Sopenharmony_ci 4158c2ecf20Sopenharmony_ci#define IMX8MQ_CLK_END 290 4168c2ecf20Sopenharmony_ci 4178c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_CLOCK_IMX8MQ_H */ 418