1 1.2 msaitoh /* $NetBSD: mesong12_clkc.h,v 1.2 2024/02/07 04:20:26 msaitoh Exp $ */ 2 1.1 ryo 3 1.1 ryo /* 4 1.2 msaitoh * Copyright (c) 2021 Ryo Shimizu 5 1.1 ryo * All rights reserved. 6 1.1 ryo * 7 1.1 ryo * Redistribution and use in source and binary forms, with or without 8 1.1 ryo * modification, are permitted provided that the following conditions 9 1.1 ryo * are met: 10 1.1 ryo * 1. Redistributions of source code must retain the above copyright 11 1.1 ryo * notice, this list of conditions and the following disclaimer. 12 1.1 ryo * 2. Redistributions in binary form must reproduce the above copyright 13 1.1 ryo * notice, this list of conditions and the following disclaimer in the 14 1.1 ryo * documentation and/or other materials provided with the distribution. 15 1.1 ryo * 16 1.1 ryo * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 17 1.1 ryo * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 1.1 ryo * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 1.1 ryo * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 20 1.1 ryo * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 1.1 ryo * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 1.1 ryo * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 1.1 ryo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 24 1.1 ryo * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 25 1.1 ryo * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26 1.1 ryo * POSSIBILITY OF SUCH DAMAGE. 27 1.1 ryo */ 28 1.1 ryo 29 1.1 ryo #ifndef _MESONG12_CLKC_H 30 1.1 ryo #define _MESONG12_CLKC_H 31 1.1 ryo 32 1.1 ryo /* 33 1.1 ryo * CLOCK IDs. 34 1.1 ryo * The values are matched to those in dt-bindings/clock/g12a-clkc.h , 35 1.1 ryo * but some are only defined locally. 36 1.1 ryo */ 37 1.1 ryo #define MESONG12_CLOCK_SYS_PLL 0 38 1.1 ryo #define MESONG12_CLOCK_FIXED_PLL 1 39 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV2 2 40 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV3 3 41 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV4 4 42 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV5 5 43 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV7 6 44 1.1 ryo #define MESONG12_CLOCK_GP0_PLL 7 45 1.1 ryo 46 1.1 ryo #define MESONG12_CLOCK_CLK81 10 47 1.1 ryo #define MESONG12_CLOCK_MPLL0 11 48 1.1 ryo #define MESONG12_CLOCK_MPLL1 12 49 1.1 ryo #define MESONG12_CLOCK_MPLL2 13 50 1.1 ryo #define MESONG12_CLOCK_MPLL3 14 51 1.1 ryo #define MESONG12_CLOCK_DDR 15 52 1.1 ryo #define MESONG12_CLOCK_DOS 16 53 1.1 ryo #define MESONG12_CLOCK_AUDIO_LOCKER 17 54 1.1 ryo #define MESONG12_CLOCK_MIPI_DSI_HOST 18 55 1.1 ryo #define MESONG12_CLOCK_ETH_PHY 19 56 1.1 ryo #define MESONG12_CLOCK_ISA 20 57 1.1 ryo #define MESONG12_CLOCK_PL301 21 58 1.1 ryo #define MESONG12_CLOCK_PERIPHS 22 59 1.1 ryo #define MESONG12_CLOCK_SPICC0 23 60 1.1 ryo #define MESONG12_CLOCK_I2C 24 61 1.1 ryo #define MESONG12_CLOCK_SANA 25 62 1.1 ryo #define MESONG12_CLOCK_SD 26 63 1.1 ryo #define MESONG12_CLOCK_RNG0 27 64 1.1 ryo #define MESONG12_CLOCK_UART0 28 65 1.1 ryo #define MESONG12_CLOCK_SPICC1 29 66 1.1 ryo #define MESONG12_CLOCK_HIU_IFACE 30 67 1.1 ryo #define MESONG12_CLOCK_MIPI_DSI_PHY 31 68 1.1 ryo #define MESONG12_CLOCK_ASSIST_MISC 32 69 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_A 33 70 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_B 34 71 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_C 35 72 1.1 ryo #define MESONG12_CLOCK_AUDIO_CODEC 36 73 1.1 ryo #define MESONG12_CLOCK_AUDIO 37 74 1.1 ryo #define MESONG12_CLOCK_ETH 38 75 1.1 ryo #define MESONG12_CLOCK_DEMUX 39 76 1.1 ryo #define MESONG12_CLOCK_AUDIO_IFIFO 40 77 1.1 ryo #define MESONG12_CLOCK_ADC 41 78 1.1 ryo #define MESONG12_CLOCK_UART1 42 79 1.1 ryo #define MESONG12_CLOCK_G2D 43 80 1.1 ryo #define MESONG12_CLOCK_RESET 44 81 1.1 ryo #define MESONG12_CLOCK_PCIE_COMB 45 82 1.1 ryo #define MESONG12_CLOCK_PARSER 46 83 1.1 ryo #define MESONG12_CLOCK_USB 47 84 1.1 ryo #define MESONG12_CLOCK_PCIE_PHY 48 85 1.1 ryo #define MESONG12_CLOCK_AHB_ARB0 49 86 1.1 ryo #define MESONG12_CLOCK_AHB_DATA_BUS 50 87 1.1 ryo #define MESONG12_CLOCK_AHB_CTRL_BUS 51 88 1.1 ryo #define MESONG12_CLOCK_HTX_HDCP22 52 89 1.1 ryo #define MESONG12_CLOCK_HTX_PCLK 53 90 1.1 ryo #define MESONG12_CLOCK_BT656 54 91 1.1 ryo #define MESONG12_CLOCK_USB1_DDR_BRIDGE 55 92 1.1 ryo #define MESONG12_CLOCK_MMC_PCLK 56 93 1.1 ryo #define MESONG12_CLOCK_UART2 57 94 1.1 ryo #define MESONG12_CLOCK_VPU_INTR 58 95 1.1 ryo #define MESONG12_CLOCK_GIC 59 96 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_A_CLK0 60 97 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_B_CLK0 61 98 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_C_CLK0 62 99 1.1 ryo 100 1.1 ryo #define MESONG12_CLOCK_HIFI_PLL 74 101 1.1 ryo 102 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCI0 80 103 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCI1 81 104 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCP0 82 105 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCP1 83 106 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCT0 84 107 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCT1 85 108 1.1 ryo #define MESONG12_CLOCK_VCLK2_OTHER 86 109 1.1 ryo #define MESONG12_CLOCK_VCLK2_ENCI 87 110 1.1 ryo #define MESONG12_CLOCK_VCLK2_ENCP 88 111 1.1 ryo #define MESONG12_CLOCK_DAC_CLK 89 112 1.1 ryo #define MESONG12_CLOCK_AOCLK 90 113 1.1 ryo #define MESONG12_CLOCK_IEC958 91 114 1.1 ryo #define MESONG12_CLOCK_ENC480P 92 115 1.1 ryo #define MESONG12_CLOCK_RNG1 93 116 1.1 ryo #define MESONG12_CLOCK_VCLK2_ENCT 94 117 1.1 ryo #define MESONG12_CLOCK_VCLK2_ENCL 95 118 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCLMMC 96 119 1.1 ryo #define MESONG12_CLOCK_VCLK2_VENCL 97 120 1.1 ryo #define MESONG12_CLOCK_VCLK2_OTHER1 98 121 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV2P5 99 122 1.1 ryo 123 1.1 ryo #define MESONG12_CLOCK_DMA 105 124 1.1 ryo #define MESONG12_CLOCK_EFUSE 106 125 1.1 ryo #define MESONG12_CLOCK_ROM_BOOT 107 126 1.1 ryo #define MESONG12_CLOCK_RESET_SEC 108 127 1.1 ryo #define MESONG12_CLOCK_SEC_AHB_APB3 109 128 1.1 ryo #define MESONG12_CLOCK_VPU_0_SEL 110 129 1.1 ryo 130 1.1 ryo #define MESONG12_CLOCK_VPU_0 112 131 1.1 ryo #define MESONG12_CLOCK_VPU_1_SEL 113 132 1.1 ryo 133 1.1 ryo #define MESONG12_CLOCK_VPU_1 115 134 1.1 ryo #define MESONG12_CLOCK_VPU 116 135 1.1 ryo #define MESONG12_CLOCK_VAPB_0_SEL 117 136 1.1 ryo 137 1.1 ryo #define MESONG12_CLOCK_VAPB_0 119 138 1.1 ryo #define MESONG12_CLOCK_VAPB_1_SEL 120 139 1.1 ryo 140 1.1 ryo #define MESONG12_CLOCK_VAPB_1 122 141 1.1 ryo #define MESONG12_CLOCK_VAPB_SEL 123 142 1.1 ryo #define MESONG12_CLOCK_VAPB 124 143 1.1 ryo 144 1.1 ryo #define MESONG12_CLOCK_HDMI_PLL 128 145 1.1 ryo #define MESONG12_CLOCK_VID_PLL 129 146 1.1 ryo 147 1.1 ryo #define MESONG12_CLOCK_VCLK 138 148 1.1 ryo #define MESONG12_CLOCK_VCLK2 139 149 1.1 ryo 150 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV1 148 151 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV2 149 152 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV4 150 153 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV6 151 154 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV12 152 155 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV1 153 156 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV2 154 157 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV4 155 158 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV6 156 159 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV12 157 160 1.1 ryo 161 1.1 ryo #define MESONG12_CLOCK_CTS_ENCI 162 162 1.1 ryo #define MESONG12_CLOCK_CTS_ENCP 163 163 1.1 ryo #define MESONG12_CLOCK_CTS_VDAC 164 164 1.1 ryo #define MESONG12_CLOCK_HDMI_TX 165 165 1.1 ryo 166 1.1 ryo #define MESONG12_CLOCK_HDMI 168 167 1.1 ryo #define MESONG12_CLOCK_MALI_0_SEL 169 168 1.1 ryo 169 1.1 ryo #define MESONG12_CLOCK_MALI_0 171 170 1.1 ryo #define MESONG12_CLOCK_MALI_1_SEL 172 171 1.1 ryo 172 1.1 ryo #define MESONG12_CLOCK_MALI_1 174 173 1.1 ryo #define MESONG12_CLOCK_MALI 175 174 1.1 ryo 175 1.1 ryo #define MESONG12_CLOCK_MPLL_50M 177 176 1.1 ryo 177 1.1 ryo #define MESONG12_CLOCK_CPU_CLK 187 178 1.1 ryo 179 1.1 ryo #define MESONG12_CLOCK_PCIE_PLL 201 180 1.1 ryo 181 1.1 ryo #define MESONG12_CLOCK_VDEC_1 204 182 1.1 ryo 183 1.1 ryo #define MESONG12_CLOCK_VDEC_HEVC 207 184 1.1 ryo 185 1.1 ryo #define MESONG12_CLOCK_VDEC_HEVCF 210 186 1.1 ryo 187 1.1 ryo #define MESONG12_CLOCK_TS 212 188 1.1 ryo 189 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK 224 190 1.1 ryo 191 1.1 ryo #define MESONG12_CLOCK_GP1_PLL 243 192 1.1 ryo 193 1.1 ryo #define MESONG12_CLOCK_DSU_CLK 252 194 1.1 ryo #define MESONG12_CLOCK_CPU1_CLK 253 195 1.1 ryo #define MESONG12_CLOCK_CPU2_CLK 254 196 1.1 ryo #define MESONG12_CLOCK_CPU3_CLK 255 197 1.1 ryo 198 1.1 ryo 199 1.1 ryo /* 200 1.1 ryo * locally defined 201 1.1 ryo */ 202 1.1 ryo #define MESONG12_CLOCK_MPEG_SEL 8 203 1.1 ryo #define MESONG12_CLOCK_MPEG_DIV 9 204 1.1 ryo 205 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_A_CLK0_SEL 63 206 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_A_CLK0_DIV 64 207 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_B_CLK0_SEL 65 208 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_B_CLK0_DIV 66 209 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_C_CLK0_SEL 67 210 1.1 ryo #define MESONG12_CLOCK_SD_EMMC_C_CLK0_DIV 68 211 1.1 ryo #define MESONG12_CLOCK_MPLL0_DIV 69 212 1.1 ryo #define MESONG12_CLOCK_MPLL1_DIV 70 213 1.1 ryo #define MESONG12_CLOCK_MPLL2_DIV 71 214 1.1 ryo #define MESONG12_CLOCK_MPLL3_DIV 72 215 1.1 ryo #define MESONG12_CLOCK_MPLL_PREDIV 73 216 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV2_DIV 75 217 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV3_DIV 76 218 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV4_DIV 77 219 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV5_DIV 78 220 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV7_DIV 79 221 1.1 ryo #define MESONG12_CLOCK_FCLK_DIV2P5_DIV 100 222 1.1 ryo #define MESONG12_CLOCK_FIXED_PLL_DCO 101 223 1.1 ryo #define MESONG12_CLOCK_SYS_PLL_DCO 102 224 1.1 ryo #define MESONG12_CLOCK_GP0_PLL_DCO 103 225 1.1 ryo #define MESONG12_CLOCK_HIFI_PLL_DCO 104 226 1.1 ryo #define MESONG12_CLOCK_VPU_0_DIV 111 227 1.1 ryo #define MESONG12_CLOCK_VPU_1_DIV 114 228 1.1 ryo #define MESONG12_CLOCK_VAPB_0_DIV 118 229 1.1 ryo #define MESONG12_CLOCK_VAPB_1_DIV 121 230 1.1 ryo #define MESONG12_CLOCK_HDMI_PLL_DCO 125 231 1.1 ryo #define MESONG12_CLOCK_HDMI_PLL_OD 126 232 1.1 ryo #define MESONG12_CLOCK_HDMI_PLL_OD2 127 233 1.1 ryo #define MESONG12_CLOCK_VID_PLL_SEL 130 234 1.1 ryo #define MESONG12_CLOCK_VID_PLL_DIV 131 235 1.1 ryo #define MESONG12_CLOCK_VCLK_SEL 132 236 1.1 ryo #define MESONG12_CLOCK_VCLK2_SEL 133 237 1.1 ryo #define MESONG12_CLOCK_VCLK_INPUT 134 238 1.1 ryo #define MESONG12_CLOCK_VCLK2_INPUT 135 239 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV 136 240 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV 137 241 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV2_EN 140 242 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV4_EN 141 243 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV6_EN 142 244 1.1 ryo #define MESONG12_CLOCK_VCLK_DIV12_EN 143 245 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV2_EN 144 246 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV4_EN 145 247 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV6_EN 146 248 1.1 ryo #define MESONG12_CLOCK_VCLK2_DIV12_EN 147 249 1.1 ryo #define MESONG12_CLOCK_CTS_ENCI_SEL 158 250 1.1 ryo #define MESONG12_CLOCK_CTS_ENCP_SEL 159 251 1.1 ryo #define MESONG12_CLOCK_CTS_VDAC_SEL 160 252 1.1 ryo #define MESONG12_CLOCK_HDMI_TX_SEL 161 253 1.1 ryo #define MESONG12_CLOCK_HDMI_SEL 166 254 1.1 ryo #define MESONG12_CLOCK_HDMI_DIV 167 255 1.1 ryo #define MESONG12_CLOCK_MALI_0_DIV 170 256 1.1 ryo #define MESONG12_CLOCK_MALI_1_DIV 173 257 1.1 ryo #define MESONG12_CLOCK_MPLL_50M_DIV 176 258 1.1 ryo #define MESONG12_CLOCK_SYS_PLL_DIV16_EN 178 259 1.1 ryo #define MESONG12_CLOCK_SYS_PLL_DIV16 179 260 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DYN0_SEL 180 261 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DYN0_DIV 181 262 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DYN0 182 263 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DYN1_SEL 183 264 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DYN1_DIV 184 265 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DYN1 185 266 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DYN 186 267 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DIV16_EN 188 268 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_DIV16 189 269 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_APB_DIV 190 270 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_APB 191 271 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_ATB_DIV 192 272 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_ATB 193 273 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_AXI_DIV 194 274 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_AXI 195 275 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_TRACE_DIV 196 276 1.1 ryo #define MESONG12_CLOCK_CPU_CLK_TRACE 197 277 1.1 ryo #define MESONG12_CLOCK_PCIE_PLL_DCO 198 278 1.1 ryo #define MESONG12_CLOCK_PCIE_PLL_DCO_DIV2 199 279 1.1 ryo #define MESONG12_CLOCK_PCIE_PLL_OD 200 280 1.1 ryo #define MESONG12_CLOCK_VDEC_1_SEL 202 281 1.1 ryo #define MESONG12_CLOCK_VDEC_1_DIV 203 282 1.1 ryo #define MESONG12_CLOCK_VDEC_HEVC_SEL 205 283 1.1 ryo #define MESONG12_CLOCK_VDEC_HEVC_DIV 206 284 1.1 ryo #define MESONG12_CLOCK_VDEC_HEVCF_SEL 208 285 1.1 ryo #define MESONG12_CLOCK_VDEC_HEVCF_DIV 209 286 1.1 ryo #define MESONG12_CLOCK_TS_DIV 211 287 1.1 ryo #define MESONG12_CLOCK_SYS1_PLL_DCO 213 288 1.1 ryo #define MESONG12_CLOCK_SYS1_PLL 214 289 1.1 ryo #define MESONG12_CLOCK_SYS1_PLL_DIV16_EN 215 290 1.1 ryo #define MESONG12_CLOCK_SYS1_PLL_DIV16 216 291 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DYN0_SEL 217 292 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DYN0_DIV 218 293 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DYN0 219 294 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DYN1_SEL 220 295 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DYN1_DIV 221 296 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DYN1 222 297 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DYN 223 298 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV16_EN 225 299 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV16 226 300 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV2 227 301 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV3 228 302 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV4 229 303 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV5 230 304 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV6 231 305 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV7 232 306 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_DIV8 233 307 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_APB_SEL 234 308 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_APB 235 309 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_ATB_SEL 236 310 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_ATB 237 311 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_AXI_SEL 238 312 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_AXI 239 313 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_TRACE_SEL 240 314 1.1 ryo #define MESONG12_CLOCK_CPUB_CLK_TRACE 241 315 1.1 ryo #define MESONG12_CLOCK_GP1_PLL_DCO 242 316 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_DYN0_SEL 244 317 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_DYN0_DIV 245 318 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_DYN0 246 319 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_DYN1_SEL 247 320 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_DYN1_DIV 248 321 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_DYN1 249 322 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_DYN 250 323 1.1 ryo #define MESONG12_CLOCK_DSU_CLK_FINAL 251 324 1.1 ryo #define MESONG12_CLOCK_SPICC0_SCLK_SEL 256 325 1.1 ryo #define MESONG12_CLOCK_SPICC0_SCLK_DIV 257 326 1.1 ryo #define MESONG12_CLOCK_SPICC1_SCLK_SEL 259 327 1.1 ryo #define MESONG12_CLOCK_SPICC1_SCLK_DIV 260 328 1.1 ryo #define MESONG12_CLOCK_NNA_AXI_CLK_SEL 262 329 1.1 ryo #define MESONG12_CLOCK_NNA_AXI_CLK_DIV 263 330 1.1 ryo #define MESONG12_CLOCK_NNA_CORE_CLK_SEL 265 331 1.1 ryo #define MESONG12_CLOCK_NNA_CORE_CLK_DIV 266 332 1.1 ryo 333 1.1 ryo 334 1.1 ryo #endif /* _MESONG12_CLKC_H */ 335