1*8d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ 2*8d13bc63SEmmanuel Vadot /* 3*8d13bc63SEmmanuel Vadot * Copyright (C) 2023 Sophgo Ltd. 4*8d13bc63SEmmanuel Vadot */ 5*8d13bc63SEmmanuel Vadot 6*8d13bc63SEmmanuel Vadot #ifndef __DT_BINDINGS_SOPHGO_CV1800_CLK_H__ 7*8d13bc63SEmmanuel Vadot #define __DT_BINDINGS_SOPHGO_CV1800_CLK_H__ 8*8d13bc63SEmmanuel Vadot 9*8d13bc63SEmmanuel Vadot #define CLK_MPLL 0 10*8d13bc63SEmmanuel Vadot #define CLK_TPLL 1 11*8d13bc63SEmmanuel Vadot #define CLK_FPLL 2 12*8d13bc63SEmmanuel Vadot #define CLK_MIPIMPLL 3 13*8d13bc63SEmmanuel Vadot #define CLK_A0PLL 4 14*8d13bc63SEmmanuel Vadot #define CLK_DISPPLL 5 15*8d13bc63SEmmanuel Vadot #define CLK_CAM0PLL 6 16*8d13bc63SEmmanuel Vadot #define CLK_CAM1PLL 7 17*8d13bc63SEmmanuel Vadot 18*8d13bc63SEmmanuel Vadot #define CLK_MIPIMPLL_D3 8 19*8d13bc63SEmmanuel Vadot #define CLK_CAM0PLL_D2 9 20*8d13bc63SEmmanuel Vadot #define CLK_CAM0PLL_D3 10 21*8d13bc63SEmmanuel Vadot 22*8d13bc63SEmmanuel Vadot #define CLK_TPU 11 23*8d13bc63SEmmanuel Vadot #define CLK_TPU_FAB 12 24*8d13bc63SEmmanuel Vadot #define CLK_AHB_ROM 13 25*8d13bc63SEmmanuel Vadot #define CLK_DDR_AXI_REG 14 26*8d13bc63SEmmanuel Vadot #define CLK_RTC_25M 15 27*8d13bc63SEmmanuel Vadot #define CLK_SRC_RTC_SYS_0 16 28*8d13bc63SEmmanuel Vadot #define CLK_TEMPSEN 17 29*8d13bc63SEmmanuel Vadot #define CLK_SARADC 18 30*8d13bc63SEmmanuel Vadot #define CLK_EFUSE 19 31*8d13bc63SEmmanuel Vadot #define CLK_APB_EFUSE 20 32*8d13bc63SEmmanuel Vadot #define CLK_DEBUG 21 33*8d13bc63SEmmanuel Vadot #define CLK_AP_DEBUG 22 34*8d13bc63SEmmanuel Vadot #define CLK_XTAL_MISC 23 35*8d13bc63SEmmanuel Vadot #define CLK_AXI4_EMMC 24 36*8d13bc63SEmmanuel Vadot #define CLK_EMMC 25 37*8d13bc63SEmmanuel Vadot #define CLK_EMMC_100K 26 38*8d13bc63SEmmanuel Vadot #define CLK_AXI4_SD0 27 39*8d13bc63SEmmanuel Vadot #define CLK_SD0 28 40*8d13bc63SEmmanuel Vadot #define CLK_SD0_100K 29 41*8d13bc63SEmmanuel Vadot #define CLK_AXI4_SD1 30 42*8d13bc63SEmmanuel Vadot #define CLK_SD1 31 43*8d13bc63SEmmanuel Vadot #define CLK_SD1_100K 32 44*8d13bc63SEmmanuel Vadot #define CLK_SPI_NAND 33 45*8d13bc63SEmmanuel Vadot #define CLK_ETH0_500M 34 46*8d13bc63SEmmanuel Vadot #define CLK_AXI4_ETH0 35 47*8d13bc63SEmmanuel Vadot #define CLK_ETH1_500M 36 48*8d13bc63SEmmanuel Vadot #define CLK_AXI4_ETH1 37 49*8d13bc63SEmmanuel Vadot #define CLK_APB_GPIO 38 50*8d13bc63SEmmanuel Vadot #define CLK_APB_GPIO_INTR 39 51*8d13bc63SEmmanuel Vadot #define CLK_GPIO_DB 40 52*8d13bc63SEmmanuel Vadot #define CLK_AHB_SF 41 53*8d13bc63SEmmanuel Vadot #define CLK_AHB_SF1 42 54*8d13bc63SEmmanuel Vadot #define CLK_A24M 43 55*8d13bc63SEmmanuel Vadot #define CLK_AUDSRC 44 56*8d13bc63SEmmanuel Vadot #define CLK_APB_AUDSRC 45 57*8d13bc63SEmmanuel Vadot #define CLK_SDMA_AXI 46 58*8d13bc63SEmmanuel Vadot #define CLK_SDMA_AUD0 47 59*8d13bc63SEmmanuel Vadot #define CLK_SDMA_AUD1 48 60*8d13bc63SEmmanuel Vadot #define CLK_SDMA_AUD2 49 61*8d13bc63SEmmanuel Vadot #define CLK_SDMA_AUD3 50 62*8d13bc63SEmmanuel Vadot #define CLK_I2C 51 63*8d13bc63SEmmanuel Vadot #define CLK_APB_I2C 52 64*8d13bc63SEmmanuel Vadot #define CLK_APB_I2C0 53 65*8d13bc63SEmmanuel Vadot #define CLK_APB_I2C1 54 66*8d13bc63SEmmanuel Vadot #define CLK_APB_I2C2 55 67*8d13bc63SEmmanuel Vadot #define CLK_APB_I2C3 56 68*8d13bc63SEmmanuel Vadot #define CLK_APB_I2C4 57 69*8d13bc63SEmmanuel Vadot #define CLK_APB_WDT 58 70*8d13bc63SEmmanuel Vadot #define CLK_PWM_SRC 59 71*8d13bc63SEmmanuel Vadot #define CLK_PWM 60 72*8d13bc63SEmmanuel Vadot #define CLK_SPI 61 73*8d13bc63SEmmanuel Vadot #define CLK_APB_SPI0 62 74*8d13bc63SEmmanuel Vadot #define CLK_APB_SPI1 63 75*8d13bc63SEmmanuel Vadot #define CLK_APB_SPI2 64 76*8d13bc63SEmmanuel Vadot #define CLK_APB_SPI3 65 77*8d13bc63SEmmanuel Vadot #define CLK_1M 66 78*8d13bc63SEmmanuel Vadot #define CLK_CAM0_200 67 79*8d13bc63SEmmanuel Vadot #define CLK_PM 68 80*8d13bc63SEmmanuel Vadot #define CLK_TIMER0 69 81*8d13bc63SEmmanuel Vadot #define CLK_TIMER1 70 82*8d13bc63SEmmanuel Vadot #define CLK_TIMER2 71 83*8d13bc63SEmmanuel Vadot #define CLK_TIMER3 72 84*8d13bc63SEmmanuel Vadot #define CLK_TIMER4 73 85*8d13bc63SEmmanuel Vadot #define CLK_TIMER5 74 86*8d13bc63SEmmanuel Vadot #define CLK_TIMER6 75 87*8d13bc63SEmmanuel Vadot #define CLK_TIMER7 76 88*8d13bc63SEmmanuel Vadot #define CLK_UART0 77 89*8d13bc63SEmmanuel Vadot #define CLK_APB_UART0 78 90*8d13bc63SEmmanuel Vadot #define CLK_UART1 79 91*8d13bc63SEmmanuel Vadot #define CLK_APB_UART1 80 92*8d13bc63SEmmanuel Vadot #define CLK_UART2 81 93*8d13bc63SEmmanuel Vadot #define CLK_APB_UART2 82 94*8d13bc63SEmmanuel Vadot #define CLK_UART3 83 95*8d13bc63SEmmanuel Vadot #define CLK_APB_UART3 84 96*8d13bc63SEmmanuel Vadot #define CLK_UART4 85 97*8d13bc63SEmmanuel Vadot #define CLK_APB_UART4 86 98*8d13bc63SEmmanuel Vadot #define CLK_APB_I2S0 87 99*8d13bc63SEmmanuel Vadot #define CLK_APB_I2S1 88 100*8d13bc63SEmmanuel Vadot #define CLK_APB_I2S2 89 101*8d13bc63SEmmanuel Vadot #define CLK_APB_I2S3 90 102*8d13bc63SEmmanuel Vadot #define CLK_AXI4_USB 91 103*8d13bc63SEmmanuel Vadot #define CLK_APB_USB 92 104*8d13bc63SEmmanuel Vadot #define CLK_USB_125M 93 105*8d13bc63SEmmanuel Vadot #define CLK_USB_33K 94 106*8d13bc63SEmmanuel Vadot #define CLK_USB_12M 95 107*8d13bc63SEmmanuel Vadot #define CLK_AXI4 96 108*8d13bc63SEmmanuel Vadot #define CLK_AXI6 97 109*8d13bc63SEmmanuel Vadot #define CLK_DSI_ESC 98 110*8d13bc63SEmmanuel Vadot #define CLK_AXI_VIP 99 111*8d13bc63SEmmanuel Vadot #define CLK_SRC_VIP_SYS_0 100 112*8d13bc63SEmmanuel Vadot #define CLK_SRC_VIP_SYS_1 101 113*8d13bc63SEmmanuel Vadot #define CLK_SRC_VIP_SYS_2 102 114*8d13bc63SEmmanuel Vadot #define CLK_SRC_VIP_SYS_3 103 115*8d13bc63SEmmanuel Vadot #define CLK_SRC_VIP_SYS_4 104 116*8d13bc63SEmmanuel Vadot #define CLK_CSI_BE_VIP 105 117*8d13bc63SEmmanuel Vadot #define CLK_CSI_MAC0_VIP 106 118*8d13bc63SEmmanuel Vadot #define CLK_CSI_MAC1_VIP 107 119*8d13bc63SEmmanuel Vadot #define CLK_CSI_MAC2_VIP 108 120*8d13bc63SEmmanuel Vadot #define CLK_CSI0_RX_VIP 109 121*8d13bc63SEmmanuel Vadot #define CLK_CSI1_RX_VIP 110 122*8d13bc63SEmmanuel Vadot #define CLK_ISP_TOP_VIP 111 123*8d13bc63SEmmanuel Vadot #define CLK_IMG_D_VIP 112 124*8d13bc63SEmmanuel Vadot #define CLK_IMG_V_VIP 113 125*8d13bc63SEmmanuel Vadot #define CLK_SC_TOP_VIP 114 126*8d13bc63SEmmanuel Vadot #define CLK_SC_D_VIP 115 127*8d13bc63SEmmanuel Vadot #define CLK_SC_V1_VIP 116 128*8d13bc63SEmmanuel Vadot #define CLK_SC_V2_VIP 117 129*8d13bc63SEmmanuel Vadot #define CLK_SC_V3_VIP 118 130*8d13bc63SEmmanuel Vadot #define CLK_DWA_VIP 119 131*8d13bc63SEmmanuel Vadot #define CLK_BT_VIP 120 132*8d13bc63SEmmanuel Vadot #define CLK_DISP_VIP 121 133*8d13bc63SEmmanuel Vadot #define CLK_DSI_MAC_VIP 122 134*8d13bc63SEmmanuel Vadot #define CLK_LVDS0_VIP 123 135*8d13bc63SEmmanuel Vadot #define CLK_LVDS1_VIP 124 136*8d13bc63SEmmanuel Vadot #define CLK_PAD_VI_VIP 125 137*8d13bc63SEmmanuel Vadot #define CLK_PAD_VI1_VIP 126 138*8d13bc63SEmmanuel Vadot #define CLK_PAD_VI2_VIP 127 139*8d13bc63SEmmanuel Vadot #define CLK_CFG_REG_VIP 128 140*8d13bc63SEmmanuel Vadot #define CLK_VIP_IP0 129 141*8d13bc63SEmmanuel Vadot #define CLK_VIP_IP1 130 142*8d13bc63SEmmanuel Vadot #define CLK_VIP_IP2 131 143*8d13bc63SEmmanuel Vadot #define CLK_VIP_IP3 132 144*8d13bc63SEmmanuel Vadot #define CLK_IVE_VIP 133 145*8d13bc63SEmmanuel Vadot #define CLK_RAW_VIP 134 146*8d13bc63SEmmanuel Vadot #define CLK_OSDC_VIP 135 147*8d13bc63SEmmanuel Vadot #define CLK_CAM0_VIP 136 148*8d13bc63SEmmanuel Vadot #define CLK_AXI_VIDEO_CODEC 137 149*8d13bc63SEmmanuel Vadot #define CLK_VC_SRC0 138 150*8d13bc63SEmmanuel Vadot #define CLK_VC_SRC1 139 151*8d13bc63SEmmanuel Vadot #define CLK_VC_SRC2 140 152*8d13bc63SEmmanuel Vadot #define CLK_H264C 141 153*8d13bc63SEmmanuel Vadot #define CLK_APB_H264C 142 154*8d13bc63SEmmanuel Vadot #define CLK_H265C 143 155*8d13bc63SEmmanuel Vadot #define CLK_APB_H265C 144 156*8d13bc63SEmmanuel Vadot #define CLK_JPEG 145 157*8d13bc63SEmmanuel Vadot #define CLK_APB_JPEG 146 158*8d13bc63SEmmanuel Vadot #define CLK_CAM0 147 159*8d13bc63SEmmanuel Vadot #define CLK_CAM1 148 160*8d13bc63SEmmanuel Vadot #define CLK_WGN 149 161*8d13bc63SEmmanuel Vadot #define CLK_WGN0 150 162*8d13bc63SEmmanuel Vadot #define CLK_WGN1 151 163*8d13bc63SEmmanuel Vadot #define CLK_WGN2 152 164*8d13bc63SEmmanuel Vadot #define CLK_KEYSCAN 153 165*8d13bc63SEmmanuel Vadot #define CLK_CFG_REG_VC 154 166*8d13bc63SEmmanuel Vadot #define CLK_C906_0 155 167*8d13bc63SEmmanuel Vadot #define CLK_C906_1 156 168*8d13bc63SEmmanuel Vadot #define CLK_A53 157 169*8d13bc63SEmmanuel Vadot #define CLK_CPU_AXI0 158 170*8d13bc63SEmmanuel Vadot #define CLK_CPU_GIC 159 171*8d13bc63SEmmanuel Vadot #define CLK_XTAL_AP 160 172*8d13bc63SEmmanuel Vadot 173*8d13bc63SEmmanuel Vadot // Only for CV181x 174*8d13bc63SEmmanuel Vadot #define CLK_DISP_SRC_VIP 161 175*8d13bc63SEmmanuel Vadot 176*8d13bc63SEmmanuel Vadot #endif /* __DT_BINDINGS_SOPHGO_CV1800_CLK_H__ */ 177