162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * GXBB clock tree IDs 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef __GXBB_CLKC_H 762306a36Sopenharmony_ci#define __GXBB_CLKC_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#define CLKID_SYS_PLL 0 1062306a36Sopenharmony_ci#define CLKID_HDMI_PLL 2 1162306a36Sopenharmony_ci#define CLKID_FIXED_PLL 3 1262306a36Sopenharmony_ci#define CLKID_FCLK_DIV2 4 1362306a36Sopenharmony_ci#define CLKID_FCLK_DIV3 5 1462306a36Sopenharmony_ci#define CLKID_FCLK_DIV4 6 1562306a36Sopenharmony_ci#define CLKID_FCLK_DIV5 7 1662306a36Sopenharmony_ci#define CLKID_FCLK_DIV7 8 1762306a36Sopenharmony_ci#define CLKID_GP0_PLL 9 1862306a36Sopenharmony_ci#define CLKID_MPEG_SEL 10 1962306a36Sopenharmony_ci#define CLKID_MPEG_DIV 11 2062306a36Sopenharmony_ci#define CLKID_CLK81 12 2162306a36Sopenharmony_ci#define CLKID_MPLL0 13 2262306a36Sopenharmony_ci#define CLKID_MPLL1 14 2362306a36Sopenharmony_ci#define CLKID_MPLL2 15 2462306a36Sopenharmony_ci#define CLKID_DDR 16 2562306a36Sopenharmony_ci#define CLKID_DOS 17 2662306a36Sopenharmony_ci#define CLKID_ISA 18 2762306a36Sopenharmony_ci#define CLKID_PL301 19 2862306a36Sopenharmony_ci#define CLKID_PERIPHS 20 2962306a36Sopenharmony_ci#define CLKID_SPICC 21 3062306a36Sopenharmony_ci#define CLKID_I2C 22 3162306a36Sopenharmony_ci#define CLKID_SAR_ADC 23 3262306a36Sopenharmony_ci#define CLKID_SMART_CARD 24 3362306a36Sopenharmony_ci#define CLKID_RNG0 25 3462306a36Sopenharmony_ci#define CLKID_UART0 26 3562306a36Sopenharmony_ci#define CLKID_SDHC 27 3662306a36Sopenharmony_ci#define CLKID_STREAM 28 3762306a36Sopenharmony_ci#define CLKID_ASYNC_FIFO 29 3862306a36Sopenharmony_ci#define CLKID_SDIO 30 3962306a36Sopenharmony_ci#define CLKID_ABUF 31 4062306a36Sopenharmony_ci#define CLKID_HIU_IFACE 32 4162306a36Sopenharmony_ci#define CLKID_ASSIST_MISC 33 4262306a36Sopenharmony_ci#define CLKID_SPI 34 4362306a36Sopenharmony_ci#define CLKID_ETH 36 4462306a36Sopenharmony_ci#define CLKID_I2S_SPDIF 35 4562306a36Sopenharmony_ci#define CLKID_DEMUX 37 4662306a36Sopenharmony_ci#define CLKID_AIU_GLUE 38 4762306a36Sopenharmony_ci#define CLKID_IEC958 39 4862306a36Sopenharmony_ci#define CLKID_I2S_OUT 40 4962306a36Sopenharmony_ci#define CLKID_AMCLK 41 5062306a36Sopenharmony_ci#define CLKID_AIFIFO2 42 5162306a36Sopenharmony_ci#define CLKID_MIXER 43 5262306a36Sopenharmony_ci#define CLKID_MIXER_IFACE 44 5362306a36Sopenharmony_ci#define CLKID_ADC 45 5462306a36Sopenharmony_ci#define CLKID_BLKMV 46 5562306a36Sopenharmony_ci#define CLKID_AIU 47 5662306a36Sopenharmony_ci#define CLKID_UART1 48 5762306a36Sopenharmony_ci#define CLKID_G2D 49 5862306a36Sopenharmony_ci#define CLKID_USB0 50 5962306a36Sopenharmony_ci#define CLKID_USB1 51 6062306a36Sopenharmony_ci#define CLKID_RESET 52 6162306a36Sopenharmony_ci#define CLKID_NAND 53 6262306a36Sopenharmony_ci#define CLKID_DOS_PARSER 54 6362306a36Sopenharmony_ci#define CLKID_USB 55 6462306a36Sopenharmony_ci#define CLKID_VDIN1 56 6562306a36Sopenharmony_ci#define CLKID_AHB_ARB0 57 6662306a36Sopenharmony_ci#define CLKID_EFUSE 58 6762306a36Sopenharmony_ci#define CLKID_BOOT_ROM 59 6862306a36Sopenharmony_ci#define CLKID_AHB_DATA_BUS 60 6962306a36Sopenharmony_ci#define CLKID_AHB_CTRL_BUS 61 7062306a36Sopenharmony_ci#define CLKID_HDMI_INTR_SYNC 62 7162306a36Sopenharmony_ci#define CLKID_HDMI_PCLK 63 7262306a36Sopenharmony_ci#define CLKID_USB1_DDR_BRIDGE 64 7362306a36Sopenharmony_ci#define CLKID_USB0_DDR_BRIDGE 65 7462306a36Sopenharmony_ci#define CLKID_MMC_PCLK 66 7562306a36Sopenharmony_ci#define CLKID_DVIN 67 7662306a36Sopenharmony_ci#define CLKID_UART2 68 7762306a36Sopenharmony_ci#define CLKID_SANA 69 7862306a36Sopenharmony_ci#define CLKID_VPU_INTR 70 7962306a36Sopenharmony_ci#define CLKID_SEC_AHB_AHB3_BRIDGE 71 8062306a36Sopenharmony_ci#define CLKID_CLK81_A53 72 8162306a36Sopenharmony_ci#define CLKID_VCLK2_VENCI0 73 8262306a36Sopenharmony_ci#define CLKID_VCLK2_VENCI1 74 8362306a36Sopenharmony_ci#define CLKID_VCLK2_VENCP0 75 8462306a36Sopenharmony_ci#define CLKID_VCLK2_VENCP1 76 8562306a36Sopenharmony_ci#define CLKID_GCLK_VENCI_INT0 77 8662306a36Sopenharmony_ci#define CLKID_GCLK_VENCI_INT 78 8762306a36Sopenharmony_ci#define CLKID_DAC_CLK 79 8862306a36Sopenharmony_ci#define CLKID_AOCLK_GATE 80 8962306a36Sopenharmony_ci#define CLKID_IEC958_GATE 81 9062306a36Sopenharmony_ci#define CLKID_ENC480P 82 9162306a36Sopenharmony_ci#define CLKID_RNG1 83 9262306a36Sopenharmony_ci#define CLKID_GCLK_VENCI_INT1 84 9362306a36Sopenharmony_ci#define CLKID_VCLK2_VENCLMCC 85 9462306a36Sopenharmony_ci#define CLKID_VCLK2_VENCL 86 9562306a36Sopenharmony_ci#define CLKID_VCLK_OTHER 87 9662306a36Sopenharmony_ci#define CLKID_EDP 88 9762306a36Sopenharmony_ci#define CLKID_AO_MEDIA_CPU 89 9862306a36Sopenharmony_ci#define CLKID_AO_AHB_SRAM 90 9962306a36Sopenharmony_ci#define CLKID_AO_AHB_BUS 91 10062306a36Sopenharmony_ci#define CLKID_AO_IFACE 92 10162306a36Sopenharmony_ci#define CLKID_AO_I2C 93 10262306a36Sopenharmony_ci#define CLKID_SD_EMMC_A 94 10362306a36Sopenharmony_ci#define CLKID_SD_EMMC_B 95 10462306a36Sopenharmony_ci#define CLKID_SD_EMMC_C 96 10562306a36Sopenharmony_ci#define CLKID_SAR_ADC_CLK 97 10662306a36Sopenharmony_ci#define CLKID_SAR_ADC_SEL 98 10762306a36Sopenharmony_ci#define CLKID_SAR_ADC_DIV 99 10862306a36Sopenharmony_ci#define CLKID_MALI_0_SEL 100 10962306a36Sopenharmony_ci#define CLKID_MALI_0_DIV 101 11062306a36Sopenharmony_ci#define CLKID_MALI_0 102 11162306a36Sopenharmony_ci#define CLKID_MALI_1_SEL 103 11262306a36Sopenharmony_ci#define CLKID_MALI_1_DIV 104 11362306a36Sopenharmony_ci#define CLKID_MALI_1 105 11462306a36Sopenharmony_ci#define CLKID_MALI 106 11562306a36Sopenharmony_ci#define CLKID_CTS_AMCLK 107 11662306a36Sopenharmony_ci#define CLKID_CTS_AMCLK_SEL 108 11762306a36Sopenharmony_ci#define CLKID_CTS_AMCLK_DIV 109 11862306a36Sopenharmony_ci#define CLKID_CTS_MCLK_I958 110 11962306a36Sopenharmony_ci#define CLKID_CTS_MCLK_I958_SEL 111 12062306a36Sopenharmony_ci#define CLKID_CTS_MCLK_I958_DIV 112 12162306a36Sopenharmony_ci#define CLKID_CTS_I958 113 12262306a36Sopenharmony_ci#define CLKID_32K_CLK 114 12362306a36Sopenharmony_ci#define CLKID_32K_CLK_SEL 115 12462306a36Sopenharmony_ci#define CLKID_32K_CLK_DIV 116 12562306a36Sopenharmony_ci#define CLKID_SD_EMMC_A_CLK0_SEL 117 12662306a36Sopenharmony_ci#define CLKID_SD_EMMC_A_CLK0_DIV 118 12762306a36Sopenharmony_ci#define CLKID_SD_EMMC_A_CLK0 119 12862306a36Sopenharmony_ci#define CLKID_SD_EMMC_B_CLK0_SEL 120 12962306a36Sopenharmony_ci#define CLKID_SD_EMMC_B_CLK0_DIV 121 13062306a36Sopenharmony_ci#define CLKID_SD_EMMC_B_CLK0 122 13162306a36Sopenharmony_ci#define CLKID_SD_EMMC_C_CLK0_SEL 123 13262306a36Sopenharmony_ci#define CLKID_SD_EMMC_C_CLK0_DIV 124 13362306a36Sopenharmony_ci#define CLKID_SD_EMMC_C_CLK0 125 13462306a36Sopenharmony_ci#define CLKID_VPU_0_SEL 126 13562306a36Sopenharmony_ci#define CLKID_VPU_0_DIV 127 13662306a36Sopenharmony_ci#define CLKID_VPU_0 128 13762306a36Sopenharmony_ci#define CLKID_VPU_1_SEL 129 13862306a36Sopenharmony_ci#define CLKID_VPU_1_DIV 130 13962306a36Sopenharmony_ci#define CLKID_VPU_1 131 14062306a36Sopenharmony_ci#define CLKID_VPU 132 14162306a36Sopenharmony_ci#define CLKID_VAPB_0_SEL 133 14262306a36Sopenharmony_ci#define CLKID_VAPB_0_DIV 134 14362306a36Sopenharmony_ci#define CLKID_VAPB_0 135 14462306a36Sopenharmony_ci#define CLKID_VAPB_1_SEL 136 14562306a36Sopenharmony_ci#define CLKID_VAPB_1_DIV 137 14662306a36Sopenharmony_ci#define CLKID_VAPB_1 138 14762306a36Sopenharmony_ci#define CLKID_VAPB_SEL 139 14862306a36Sopenharmony_ci#define CLKID_VAPB 140 14962306a36Sopenharmony_ci#define CLKID_HDMI_PLL_PRE_MULT 141 15062306a36Sopenharmony_ci#define CLKID_MPLL0_DIV 142 15162306a36Sopenharmony_ci#define CLKID_MPLL1_DIV 143 15262306a36Sopenharmony_ci#define CLKID_MPLL2_DIV 144 15362306a36Sopenharmony_ci#define CLKID_MPLL_PREDIV 145 15462306a36Sopenharmony_ci#define CLKID_FCLK_DIV2_DIV 146 15562306a36Sopenharmony_ci#define CLKID_FCLK_DIV3_DIV 147 15662306a36Sopenharmony_ci#define CLKID_FCLK_DIV4_DIV 148 15762306a36Sopenharmony_ci#define CLKID_FCLK_DIV5_DIV 149 15862306a36Sopenharmony_ci#define CLKID_FCLK_DIV7_DIV 150 15962306a36Sopenharmony_ci#define CLKID_VDEC_1_SEL 151 16062306a36Sopenharmony_ci#define CLKID_VDEC_1_DIV 152 16162306a36Sopenharmony_ci#define CLKID_VDEC_1 153 16262306a36Sopenharmony_ci#define CLKID_VDEC_HEVC_SEL 154 16362306a36Sopenharmony_ci#define CLKID_VDEC_HEVC_DIV 155 16462306a36Sopenharmony_ci#define CLKID_VDEC_HEVC 156 16562306a36Sopenharmony_ci#define CLKID_GEN_CLK_SEL 157 16662306a36Sopenharmony_ci#define CLKID_GEN_CLK_DIV 158 16762306a36Sopenharmony_ci#define CLKID_GEN_CLK 159 16862306a36Sopenharmony_ci#define CLKID_FIXED_PLL_DCO 160 16962306a36Sopenharmony_ci#define CLKID_HDMI_PLL_DCO 161 17062306a36Sopenharmony_ci#define CLKID_HDMI_PLL_OD 162 17162306a36Sopenharmony_ci#define CLKID_HDMI_PLL_OD2 163 17262306a36Sopenharmony_ci#define CLKID_SYS_PLL_DCO 164 17362306a36Sopenharmony_ci#define CLKID_GP0_PLL_DCO 165 17462306a36Sopenharmony_ci#define CLKID_VID_PLL 166 17562306a36Sopenharmony_ci#define CLKID_VID_PLL_SEL 167 17662306a36Sopenharmony_ci#define CLKID_VID_PLL_DIV 168 17762306a36Sopenharmony_ci#define CLKID_VCLK_SEL 169 17862306a36Sopenharmony_ci#define CLKID_VCLK2_SEL 170 17962306a36Sopenharmony_ci#define CLKID_VCLK_INPUT 171 18062306a36Sopenharmony_ci#define CLKID_VCLK2_INPUT 172 18162306a36Sopenharmony_ci#define CLKID_VCLK_DIV 173 18262306a36Sopenharmony_ci#define CLKID_VCLK2_DIV 174 18362306a36Sopenharmony_ci#define CLKID_VCLK 175 18462306a36Sopenharmony_ci#define CLKID_VCLK2 176 18562306a36Sopenharmony_ci#define CLKID_VCLK_DIV2_EN 177 18662306a36Sopenharmony_ci#define CLKID_VCLK_DIV4_EN 178 18762306a36Sopenharmony_ci#define CLKID_VCLK_DIV6_EN 179 18862306a36Sopenharmony_ci#define CLKID_VCLK_DIV12_EN 180 18962306a36Sopenharmony_ci#define CLKID_VCLK2_DIV2_EN 181 19062306a36Sopenharmony_ci#define CLKID_VCLK2_DIV4_EN 182 19162306a36Sopenharmony_ci#define CLKID_VCLK2_DIV6_EN 183 19262306a36Sopenharmony_ci#define CLKID_VCLK2_DIV12_EN 184 19362306a36Sopenharmony_ci#define CLKID_VCLK_DIV1 185 19462306a36Sopenharmony_ci#define CLKID_VCLK_DIV2 186 19562306a36Sopenharmony_ci#define CLKID_VCLK_DIV4 187 19662306a36Sopenharmony_ci#define CLKID_VCLK_DIV6 188 19762306a36Sopenharmony_ci#define CLKID_VCLK_DIV12 189 19862306a36Sopenharmony_ci#define CLKID_VCLK2_DIV1 190 19962306a36Sopenharmony_ci#define CLKID_VCLK2_DIV2 191 20062306a36Sopenharmony_ci#define CLKID_VCLK2_DIV4 192 20162306a36Sopenharmony_ci#define CLKID_VCLK2_DIV6 193 20262306a36Sopenharmony_ci#define CLKID_VCLK2_DIV12 194 20362306a36Sopenharmony_ci#define CLKID_CTS_ENCI_SEL 195 20462306a36Sopenharmony_ci#define CLKID_CTS_ENCP_SEL 196 20562306a36Sopenharmony_ci#define CLKID_CTS_VDAC_SEL 197 20662306a36Sopenharmony_ci#define CLKID_HDMI_TX_SEL 198 20762306a36Sopenharmony_ci#define CLKID_CTS_ENCI 199 20862306a36Sopenharmony_ci#define CLKID_CTS_ENCP 200 20962306a36Sopenharmony_ci#define CLKID_CTS_VDAC 201 21062306a36Sopenharmony_ci#define CLKID_HDMI_TX 202 21162306a36Sopenharmony_ci#define CLKID_HDMI_SEL 203 21262306a36Sopenharmony_ci#define CLKID_HDMI_DIV 204 21362306a36Sopenharmony_ci#define CLKID_HDMI 205 21462306a36Sopenharmony_ci#define CLKID_ACODEC 206 21562306a36Sopenharmony_ci 21662306a36Sopenharmony_ci#endif /* __GXBB_CLKC_H */ 217