1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Unisoc SC9863A platform clocks 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright (C) 2019, Unisoc Communications Inc. 6*c66ec88fSEmmanuel Vadot */ 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_SC9863A_H_ 9*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLK_SC9863A_H_ 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot #define CLK_MPLL0_GATE 0 12*c66ec88fSEmmanuel Vadot #define CLK_DPLL0_GATE 1 13*c66ec88fSEmmanuel Vadot #define CLK_LPLL_GATE 2 14*c66ec88fSEmmanuel Vadot #define CLK_GPLL_GATE 3 15*c66ec88fSEmmanuel Vadot #define CLK_DPLL1_GATE 4 16*c66ec88fSEmmanuel Vadot #define CLK_MPLL1_GATE 5 17*c66ec88fSEmmanuel Vadot #define CLK_MPLL2_GATE 6 18*c66ec88fSEmmanuel Vadot #define CLK_ISPPLL_GATE 7 19*c66ec88fSEmmanuel Vadot #define CLK_PMU_APB_NUM (CLK_ISPPLL_GATE + 1) 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot #define CLK_AUDIO_GATE 0 22*c66ec88fSEmmanuel Vadot #define CLK_RPLL 1 23*c66ec88fSEmmanuel Vadot #define CLK_RPLL_390M 2 24*c66ec88fSEmmanuel Vadot #define CLK_RPLL_260M 3 25*c66ec88fSEmmanuel Vadot #define CLK_RPLL_195M 4 26*c66ec88fSEmmanuel Vadot #define CLK_RPLL_26M 5 27*c66ec88fSEmmanuel Vadot #define CLK_ANLG_PHY_G5_NUM (CLK_RPLL_26M + 1) 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot #define CLK_TWPLL 0 30*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_768M 1 31*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_384M 2 32*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_192M 3 33*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_96M 4 34*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_48M 5 35*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_24M 6 36*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_12M 7 37*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_512M 8 38*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_256M 9 39*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_128M 10 40*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_64M 11 41*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_307M2 12 42*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_219M4 13 43*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_170M6 14 44*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_153M6 15 45*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_76M8 16 46*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_51M2 17 47*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_38M4 18 48*c66ec88fSEmmanuel Vadot #define CLK_TWPLL_19M2 19 49*c66ec88fSEmmanuel Vadot #define CLK_LPLL 20 50*c66ec88fSEmmanuel Vadot #define CLK_LPLL_409M6 21 51*c66ec88fSEmmanuel Vadot #define CLK_LPLL_245M76 22 52*c66ec88fSEmmanuel Vadot #define CLK_GPLL 23 53*c66ec88fSEmmanuel Vadot #define CLK_ISPPLL 24 54*c66ec88fSEmmanuel Vadot #define CLK_ISPPLL_468M 25 55*c66ec88fSEmmanuel Vadot #define CLK_ANLG_PHY_G1_NUM (CLK_ISPPLL_468M + 1) 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadot #define CLK_DPLL0 0 58*c66ec88fSEmmanuel Vadot #define CLK_DPLL1 1 59*c66ec88fSEmmanuel Vadot #define CLK_DPLL0_933M 2 60*c66ec88fSEmmanuel Vadot #define CLK_DPLL0_622M3 3 61*c66ec88fSEmmanuel Vadot #define CLK_DPLL0_400M 4 62*c66ec88fSEmmanuel Vadot #define CLK_DPLL0_266M7 5 63*c66ec88fSEmmanuel Vadot #define CLK_DPLL0_123M1 6 64*c66ec88fSEmmanuel Vadot #define CLK_DPLL0_50M 7 65*c66ec88fSEmmanuel Vadot #define CLK_ANLG_PHY_G7_NUM (CLK_DPLL0_50M + 1) 66*c66ec88fSEmmanuel Vadot 67*c66ec88fSEmmanuel Vadot #define CLK_MPLL0 0 68*c66ec88fSEmmanuel Vadot #define CLK_MPLL1 1 69*c66ec88fSEmmanuel Vadot #define CLK_MPLL2 2 70*c66ec88fSEmmanuel Vadot #define CLK_MPLL2_675M 3 71*c66ec88fSEmmanuel Vadot #define CLK_ANLG_PHY_G4_NUM (CLK_MPLL2_675M + 1) 72*c66ec88fSEmmanuel Vadot 73*c66ec88fSEmmanuel Vadot #define CLK_AP_APB 0 74*c66ec88fSEmmanuel Vadot #define CLK_AP_CE 1 75*c66ec88fSEmmanuel Vadot #define CLK_NANDC_ECC 2 76*c66ec88fSEmmanuel Vadot #define CLK_NANDC_26M 3 77*c66ec88fSEmmanuel Vadot #define CLK_EMMC_32K 4 78*c66ec88fSEmmanuel Vadot #define CLK_SDIO0_32K 5 79*c66ec88fSEmmanuel Vadot #define CLK_SDIO1_32K 6 80*c66ec88fSEmmanuel Vadot #define CLK_SDIO2_32K 7 81*c66ec88fSEmmanuel Vadot #define CLK_OTG_UTMI 8 82*c66ec88fSEmmanuel Vadot #define CLK_AP_UART0 9 83*c66ec88fSEmmanuel Vadot #define CLK_AP_UART1 10 84*c66ec88fSEmmanuel Vadot #define CLK_AP_UART2 11 85*c66ec88fSEmmanuel Vadot #define CLK_AP_UART3 12 86*c66ec88fSEmmanuel Vadot #define CLK_AP_UART4 13 87*c66ec88fSEmmanuel Vadot #define CLK_AP_I2C0 14 88*c66ec88fSEmmanuel Vadot #define CLK_AP_I2C1 15 89*c66ec88fSEmmanuel Vadot #define CLK_AP_I2C2 16 90*c66ec88fSEmmanuel Vadot #define CLK_AP_I2C3 17 91*c66ec88fSEmmanuel Vadot #define CLK_AP_I2C4 18 92*c66ec88fSEmmanuel Vadot #define CLK_AP_I2C5 19 93*c66ec88fSEmmanuel Vadot #define CLK_AP_I2C6 20 94*c66ec88fSEmmanuel Vadot #define CLK_AP_SPI0 21 95*c66ec88fSEmmanuel Vadot #define CLK_AP_SPI1 22 96*c66ec88fSEmmanuel Vadot #define CLK_AP_SPI2 23 97*c66ec88fSEmmanuel Vadot #define CLK_AP_SPI3 24 98*c66ec88fSEmmanuel Vadot #define CLK_AP_IIS0 25 99*c66ec88fSEmmanuel Vadot #define CLK_AP_IIS1 26 100*c66ec88fSEmmanuel Vadot #define CLK_AP_IIS2 27 101*c66ec88fSEmmanuel Vadot #define CLK_SIM0 28 102*c66ec88fSEmmanuel Vadot #define CLK_SIM0_32K 29 103*c66ec88fSEmmanuel Vadot #define CLK_AP_CLK_NUM (CLK_SIM0_32K + 1) 104*c66ec88fSEmmanuel Vadot 105*c66ec88fSEmmanuel Vadot #define CLK_13M 0 106*c66ec88fSEmmanuel Vadot #define CLK_6M5 1 107*c66ec88fSEmmanuel Vadot #define CLK_4M3 2 108*c66ec88fSEmmanuel Vadot #define CLK_2M 3 109*c66ec88fSEmmanuel Vadot #define CLK_250K 4 110*c66ec88fSEmmanuel Vadot #define CLK_RCO_25M 5 111*c66ec88fSEmmanuel Vadot #define CLK_RCO_4M 6 112*c66ec88fSEmmanuel Vadot #define CLK_RCO_2M 7 113*c66ec88fSEmmanuel Vadot #define CLK_EMC 8 114*c66ec88fSEmmanuel Vadot #define CLK_AON_APB 9 115*c66ec88fSEmmanuel Vadot #define CLK_ADI 10 116*c66ec88fSEmmanuel Vadot #define CLK_AUX0 11 117*c66ec88fSEmmanuel Vadot #define CLK_AUX1 12 118*c66ec88fSEmmanuel Vadot #define CLK_AUX2 13 119*c66ec88fSEmmanuel Vadot #define CLK_PROBE 14 120*c66ec88fSEmmanuel Vadot #define CLK_PWM0 15 121*c66ec88fSEmmanuel Vadot #define CLK_PWM1 16 122*c66ec88fSEmmanuel Vadot #define CLK_PWM2 17 123*c66ec88fSEmmanuel Vadot #define CLK_AON_THM 18 124*c66ec88fSEmmanuel Vadot #define CLK_AUDIF 19 125*c66ec88fSEmmanuel Vadot #define CLK_CPU_DAP 20 126*c66ec88fSEmmanuel Vadot #define CLK_CPU_TS 21 127*c66ec88fSEmmanuel Vadot #define CLK_DJTAG_TCK 22 128*c66ec88fSEmmanuel Vadot #define CLK_EMC_REF 23 129*c66ec88fSEmmanuel Vadot #define CLK_CSSYS 24 130*c66ec88fSEmmanuel Vadot #define CLK_AON_PMU 25 131*c66ec88fSEmmanuel Vadot #define CLK_PMU_26M 26 132*c66ec88fSEmmanuel Vadot #define CLK_AON_TMR 27 133*c66ec88fSEmmanuel Vadot #define CLK_POWER_CPU 28 134*c66ec88fSEmmanuel Vadot #define CLK_AP_AXI 29 135*c66ec88fSEmmanuel Vadot #define CLK_SDIO0_2X 30 136*c66ec88fSEmmanuel Vadot #define CLK_SDIO1_2X 31 137*c66ec88fSEmmanuel Vadot #define CLK_SDIO2_2X 32 138*c66ec88fSEmmanuel Vadot #define CLK_EMMC_2X 33 139*c66ec88fSEmmanuel Vadot #define CLK_DPU 34 140*c66ec88fSEmmanuel Vadot #define CLK_DPU_DPI 35 141*c66ec88fSEmmanuel Vadot #define CLK_OTG_REF 36 142*c66ec88fSEmmanuel Vadot #define CLK_SDPHY_APB 37 143*c66ec88fSEmmanuel Vadot #define CLK_ALG_IO_APB 38 144*c66ec88fSEmmanuel Vadot #define CLK_GPU_CORE 39 145*c66ec88fSEmmanuel Vadot #define CLK_GPU_SOC 40 146*c66ec88fSEmmanuel Vadot #define CLK_MM_EMC 41 147*c66ec88fSEmmanuel Vadot #define CLK_MM_AHB 42 148*c66ec88fSEmmanuel Vadot #define CLK_BPC 43 149*c66ec88fSEmmanuel Vadot #define CLK_DCAM_IF 44 150*c66ec88fSEmmanuel Vadot #define CLK_ISP 45 151*c66ec88fSEmmanuel Vadot #define CLK_JPG 46 152*c66ec88fSEmmanuel Vadot #define CLK_CPP 47 153*c66ec88fSEmmanuel Vadot #define CLK_SENSOR0 48 154*c66ec88fSEmmanuel Vadot #define CLK_SENSOR1 49 155*c66ec88fSEmmanuel Vadot #define CLK_SENSOR2 50 156*c66ec88fSEmmanuel Vadot #define CLK_MM_VEMC 51 157*c66ec88fSEmmanuel Vadot #define CLK_MM_VAHB 52 158*c66ec88fSEmmanuel Vadot #define CLK_VSP 53 159*c66ec88fSEmmanuel Vadot #define CLK_CORE0 54 160*c66ec88fSEmmanuel Vadot #define CLK_CORE1 55 161*c66ec88fSEmmanuel Vadot #define CLK_CORE2 56 162*c66ec88fSEmmanuel Vadot #define CLK_CORE3 57 163*c66ec88fSEmmanuel Vadot #define CLK_CORE4 58 164*c66ec88fSEmmanuel Vadot #define CLK_CORE5 59 165*c66ec88fSEmmanuel Vadot #define CLK_CORE6 60 166*c66ec88fSEmmanuel Vadot #define CLK_CORE7 61 167*c66ec88fSEmmanuel Vadot #define CLK_SCU 62 168*c66ec88fSEmmanuel Vadot #define CLK_ACE 63 169*c66ec88fSEmmanuel Vadot #define CLK_AXI_PERIPH 64 170*c66ec88fSEmmanuel Vadot #define CLK_AXI_ACP 65 171*c66ec88fSEmmanuel Vadot #define CLK_ATB 66 172*c66ec88fSEmmanuel Vadot #define CLK_DEBUG_APB 67 173*c66ec88fSEmmanuel Vadot #define CLK_GIC 68 174*c66ec88fSEmmanuel Vadot #define CLK_PERIPH 69 175*c66ec88fSEmmanuel Vadot #define CLK_AON_CLK_NUM (CLK_VSP + 1) 176*c66ec88fSEmmanuel Vadot 177*c66ec88fSEmmanuel Vadot #define CLK_OTG_EB 0 178*c66ec88fSEmmanuel Vadot #define CLK_DMA_EB 1 179*c66ec88fSEmmanuel Vadot #define CLK_CE_EB 2 180*c66ec88fSEmmanuel Vadot #define CLK_NANDC_EB 3 181*c66ec88fSEmmanuel Vadot #define CLK_SDIO0_EB 4 182*c66ec88fSEmmanuel Vadot #define CLK_SDIO1_EB 5 183*c66ec88fSEmmanuel Vadot #define CLK_SDIO2_EB 6 184*c66ec88fSEmmanuel Vadot #define CLK_EMMC_EB 7 185*c66ec88fSEmmanuel Vadot #define CLK_EMMC_32K_EB 8 186*c66ec88fSEmmanuel Vadot #define CLK_SDIO0_32K_EB 9 187*c66ec88fSEmmanuel Vadot #define CLK_SDIO1_32K_EB 10 188*c66ec88fSEmmanuel Vadot #define CLK_SDIO2_32K_EB 11 189*c66ec88fSEmmanuel Vadot #define CLK_NANDC_26M_EB 12 190*c66ec88fSEmmanuel Vadot #define CLK_DMA_EB2 13 191*c66ec88fSEmmanuel Vadot #define CLK_CE_EB2 14 192*c66ec88fSEmmanuel Vadot #define CLK_AP_AHB_GATE_NUM (CLK_CE_EB2 + 1) 193*c66ec88fSEmmanuel Vadot 194*c66ec88fSEmmanuel Vadot #define CLK_GPIO_EB 0 195*c66ec88fSEmmanuel Vadot #define CLK_PWM0_EB 1 196*c66ec88fSEmmanuel Vadot #define CLK_PWM1_EB 2 197*c66ec88fSEmmanuel Vadot #define CLK_PWM2_EB 3 198*c66ec88fSEmmanuel Vadot #define CLK_PWM3_EB 4 199*c66ec88fSEmmanuel Vadot #define CLK_KPD_EB 5 200*c66ec88fSEmmanuel Vadot #define CLK_AON_SYST_EB 6 201*c66ec88fSEmmanuel Vadot #define CLK_AP_SYST_EB 7 202*c66ec88fSEmmanuel Vadot #define CLK_AON_TMR_EB 8 203*c66ec88fSEmmanuel Vadot #define CLK_EFUSE_EB 9 204*c66ec88fSEmmanuel Vadot #define CLK_EIC_EB 10 205*c66ec88fSEmmanuel Vadot #define CLK_INTC_EB 11 206*c66ec88fSEmmanuel Vadot #define CLK_ADI_EB 12 207*c66ec88fSEmmanuel Vadot #define CLK_AUDIF_EB 13 208*c66ec88fSEmmanuel Vadot #define CLK_AUD_EB 14 209*c66ec88fSEmmanuel Vadot #define CLK_VBC_EB 15 210*c66ec88fSEmmanuel Vadot #define CLK_PIN_EB 16 211*c66ec88fSEmmanuel Vadot #define CLK_AP_WDG_EB 17 212*c66ec88fSEmmanuel Vadot #define CLK_MM_EB 18 213*c66ec88fSEmmanuel Vadot #define CLK_AON_APB_CKG_EB 19 214*c66ec88fSEmmanuel Vadot #define CLK_CA53_TS0_EB 20 215*c66ec88fSEmmanuel Vadot #define CLK_CA53_TS1_EB 21 216*c66ec88fSEmmanuel Vadot #define CLK_CS53_DAP_EB 22 217*c66ec88fSEmmanuel Vadot #define CLK_PMU_EB 23 218*c66ec88fSEmmanuel Vadot #define CLK_THM_EB 24 219*c66ec88fSEmmanuel Vadot #define CLK_AUX0_EB 25 220*c66ec88fSEmmanuel Vadot #define CLK_AUX1_EB 26 221*c66ec88fSEmmanuel Vadot #define CLK_AUX2_EB 27 222*c66ec88fSEmmanuel Vadot #define CLK_PROBE_EB 28 223*c66ec88fSEmmanuel Vadot #define CLK_EMC_REF_EB 29 224*c66ec88fSEmmanuel Vadot #define CLK_CA53_WDG_EB 30 225*c66ec88fSEmmanuel Vadot #define CLK_AP_TMR1_EB 31 226*c66ec88fSEmmanuel Vadot #define CLK_AP_TMR2_EB 32 227*c66ec88fSEmmanuel Vadot #define CLK_DISP_EMC_EB 33 228*c66ec88fSEmmanuel Vadot #define CLK_ZIP_EMC_EB 34 229*c66ec88fSEmmanuel Vadot #define CLK_GSP_EMC_EB 35 230*c66ec88fSEmmanuel Vadot #define CLK_MM_VSP_EB 36 231*c66ec88fSEmmanuel Vadot #define CLK_MDAR_EB 37 232*c66ec88fSEmmanuel Vadot #define CLK_RTC4M0_CAL_EB 38 233*c66ec88fSEmmanuel Vadot #define CLK_RTC4M1_CAL_EB 39 234*c66ec88fSEmmanuel Vadot #define CLK_DJTAG_EB 40 235*c66ec88fSEmmanuel Vadot #define CLK_MBOX_EB 41 236*c66ec88fSEmmanuel Vadot #define CLK_AON_DMA_EB 42 237*c66ec88fSEmmanuel Vadot #define CLK_AON_APB_DEF_EB 43 238*c66ec88fSEmmanuel Vadot #define CLK_CA5_TS0_EB 44 239*c66ec88fSEmmanuel Vadot #define CLK_DBG_EB 45 240*c66ec88fSEmmanuel Vadot #define CLK_DBG_EMC_EB 46 241*c66ec88fSEmmanuel Vadot #define CLK_CROSS_TRIG_EB 47 242*c66ec88fSEmmanuel Vadot #define CLK_SERDES_DPHY_EB 48 243*c66ec88fSEmmanuel Vadot #define CLK_ARCH_RTC_EB 49 244*c66ec88fSEmmanuel Vadot #define CLK_KPD_RTC_EB 50 245*c66ec88fSEmmanuel Vadot #define CLK_AON_SYST_RTC_EB 51 246*c66ec88fSEmmanuel Vadot #define CLK_AP_SYST_RTC_EB 52 247*c66ec88fSEmmanuel Vadot #define CLK_AON_TMR_RTC_EB 53 248*c66ec88fSEmmanuel Vadot #define CLK_AP_TMR0_RTC_EB 54 249*c66ec88fSEmmanuel Vadot #define CLK_EIC_RTC_EB 55 250*c66ec88fSEmmanuel Vadot #define CLK_EIC_RTCDV5_EB 56 251*c66ec88fSEmmanuel Vadot #define CLK_AP_WDG_RTC_EB 57 252*c66ec88fSEmmanuel Vadot #define CLK_CA53_WDG_RTC_EB 58 253*c66ec88fSEmmanuel Vadot #define CLK_THM_RTC_EB 59 254*c66ec88fSEmmanuel Vadot #define CLK_ATHMA_RTC_EB 60 255*c66ec88fSEmmanuel Vadot #define CLK_GTHMA_RTC_EB 61 256*c66ec88fSEmmanuel Vadot #define CLK_ATHMA_RTC_A_EB 62 257*c66ec88fSEmmanuel Vadot #define CLK_GTHMA_RTC_A_EB 63 258*c66ec88fSEmmanuel Vadot #define CLK_AP_TMR1_RTC_EB 64 259*c66ec88fSEmmanuel Vadot #define CLK_AP_TMR2_RTC_EB 65 260*c66ec88fSEmmanuel Vadot #define CLK_DXCO_LC_RTC_EB 66 261*c66ec88fSEmmanuel Vadot #define CLK_BB_CAL_RTC_EB 67 262*c66ec88fSEmmanuel Vadot #define CLK_GNU_EB 68 263*c66ec88fSEmmanuel Vadot #define CLK_DISP_EB 69 264*c66ec88fSEmmanuel Vadot #define CLK_MM_EMC_EB 70 265*c66ec88fSEmmanuel Vadot #define CLK_POWER_CPU_EB 71 266*c66ec88fSEmmanuel Vadot #define CLK_HW_I2C_EB 72 267*c66ec88fSEmmanuel Vadot #define CLK_MM_VSP_EMC_EB 73 268*c66ec88fSEmmanuel Vadot #define CLK_VSP_EB 74 269*c66ec88fSEmmanuel Vadot #define CLK_CSSYS_EB 75 270*c66ec88fSEmmanuel Vadot #define CLK_DMC_EB 76 271*c66ec88fSEmmanuel Vadot #define CLK_ROSC_EB 77 272*c66ec88fSEmmanuel Vadot #define CLK_S_D_CFG_EB 78 273*c66ec88fSEmmanuel Vadot #define CLK_S_D_REF_EB 79 274*c66ec88fSEmmanuel Vadot #define CLK_B_DMA_EB 80 275*c66ec88fSEmmanuel Vadot #define CLK_ANLG_EB 81 276*c66ec88fSEmmanuel Vadot #define CLK_ANLG_APB_EB 82 277*c66ec88fSEmmanuel Vadot #define CLK_BSMTMR_EB 83 278*c66ec88fSEmmanuel Vadot #define CLK_AP_AXI_EB 84 279*c66ec88fSEmmanuel Vadot #define CLK_AP_INTC0_EB 85 280*c66ec88fSEmmanuel Vadot #define CLK_AP_INTC1_EB 86 281*c66ec88fSEmmanuel Vadot #define CLK_AP_INTC2_EB 87 282*c66ec88fSEmmanuel Vadot #define CLK_AP_INTC3_EB 88 283*c66ec88fSEmmanuel Vadot #define CLK_AP_INTC4_EB 89 284*c66ec88fSEmmanuel Vadot #define CLK_AP_INTC5_EB 90 285*c66ec88fSEmmanuel Vadot #define CLK_SCC_EB 91 286*c66ec88fSEmmanuel Vadot #define CLK_DPHY_CFG_EB 92 287*c66ec88fSEmmanuel Vadot #define CLK_DPHY_REF_EB 93 288*c66ec88fSEmmanuel Vadot #define CLK_CPHY_CFG_EB 94 289*c66ec88fSEmmanuel Vadot #define CLK_OTG_REF_EB 95 290*c66ec88fSEmmanuel Vadot #define CLK_SERDES_EB 96 291*c66ec88fSEmmanuel Vadot #define CLK_AON_AP_EMC_EB 97 292*c66ec88fSEmmanuel Vadot #define CLK_AON_APB_GATE_NUM (CLK_AON_AP_EMC_EB + 1) 293*c66ec88fSEmmanuel Vadot 294*c66ec88fSEmmanuel Vadot #define CLK_MAHB_CKG_EB 0 295*c66ec88fSEmmanuel Vadot #define CLK_MDCAM_EB 1 296*c66ec88fSEmmanuel Vadot #define CLK_MISP_EB 2 297*c66ec88fSEmmanuel Vadot #define CLK_MAHBCSI_EB 3 298*c66ec88fSEmmanuel Vadot #define CLK_MCSI_S_EB 4 299*c66ec88fSEmmanuel Vadot #define CLK_MCSI_T_EB 5 300*c66ec88fSEmmanuel Vadot #define CLK_DCAM_AXI_EB 6 301*c66ec88fSEmmanuel Vadot #define CLK_ISP_AXI_EB 7 302*c66ec88fSEmmanuel Vadot #define CLK_MCSI_EB 8 303*c66ec88fSEmmanuel Vadot #define CLK_MCSI_S_CKG_EB 9 304*c66ec88fSEmmanuel Vadot #define CLK_MCSI_T_CKG_EB 10 305*c66ec88fSEmmanuel Vadot #define CLK_SENSOR0_EB 11 306*c66ec88fSEmmanuel Vadot #define CLK_SENSOR1_EB 12 307*c66ec88fSEmmanuel Vadot #define CLK_SENSOR2_EB 13 308*c66ec88fSEmmanuel Vadot #define CLK_MCPHY_CFG_EB 14 309*c66ec88fSEmmanuel Vadot #define CLK_MM_GATE_NUM (CLK_MCPHY_CFG_EB + 1) 310*c66ec88fSEmmanuel Vadot 311*c66ec88fSEmmanuel Vadot #define CLK_MIPI_CSI 0 312*c66ec88fSEmmanuel Vadot #define CLK_MIPI_CSI_S 1 313*c66ec88fSEmmanuel Vadot #define CLK_MIPI_CSI_M 2 314*c66ec88fSEmmanuel Vadot #define CLK_MM_CLK_NUM (CLK_MIPI_CSI_M + 1) 315*c66ec88fSEmmanuel Vadot 316*c66ec88fSEmmanuel Vadot #define CLK_SIM0_EB 0 317*c66ec88fSEmmanuel Vadot #define CLK_IIS0_EB 1 318*c66ec88fSEmmanuel Vadot #define CLK_IIS1_EB 2 319*c66ec88fSEmmanuel Vadot #define CLK_IIS2_EB 3 320*c66ec88fSEmmanuel Vadot #define CLK_SPI0_EB 4 321*c66ec88fSEmmanuel Vadot #define CLK_SPI1_EB 5 322*c66ec88fSEmmanuel Vadot #define CLK_SPI2_EB 6 323*c66ec88fSEmmanuel Vadot #define CLK_I2C0_EB 7 324*c66ec88fSEmmanuel Vadot #define CLK_I2C1_EB 8 325*c66ec88fSEmmanuel Vadot #define CLK_I2C2_EB 9 326*c66ec88fSEmmanuel Vadot #define CLK_I2C3_EB 10 327*c66ec88fSEmmanuel Vadot #define CLK_I2C4_EB 11 328*c66ec88fSEmmanuel Vadot #define CLK_UART0_EB 12 329*c66ec88fSEmmanuel Vadot #define CLK_UART1_EB 13 330*c66ec88fSEmmanuel Vadot #define CLK_UART2_EB 14 331*c66ec88fSEmmanuel Vadot #define CLK_UART3_EB 15 332*c66ec88fSEmmanuel Vadot #define CLK_UART4_EB 16 333*c66ec88fSEmmanuel Vadot #define CLK_SIM0_32K_EB 17 334*c66ec88fSEmmanuel Vadot #define CLK_SPI3_EB 18 335*c66ec88fSEmmanuel Vadot #define CLK_I2C5_EB 19 336*c66ec88fSEmmanuel Vadot #define CLK_I2C6_EB 20 337*c66ec88fSEmmanuel Vadot #define CLK_AP_APB_GATE_NUM (CLK_I2C6_EB + 1) 338*c66ec88fSEmmanuel Vadot 339*c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_CLK_SC9863A_H_ */ 340