1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Copyright (c) 2014 Samsung Electronics Co., 3 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 4 * Author: Tomasz Figa <t.figa@samsung.co 4 * Author: Tomasz Figa <t.figa@samsung.com> 5 * 5 * 6 * Device Tree binding constants for Samsung E 6 * Device Tree binding constants for Samsung Exynos3250 clock controllers. 7 */ 7 */ 8 8 9 #ifndef _DT_BINDINGS_CLOCK_SAMSUNG_EXYNOS3250_ 9 #ifndef _DT_BINDINGS_CLOCK_SAMSUNG_EXYNOS3250_CLOCK_H 10 #define _DT_BINDINGS_CLOCK_SAMSUNG_EXYNOS3250_ 10 #define _DT_BINDINGS_CLOCK_SAMSUNG_EXYNOS3250_CLOCK_H 11 11 12 /* 12 /* 13 * Let each exported clock get a unique index, 13 * Let each exported clock get a unique index, which is used on DT-enabled 14 * platforms to lookup the clock from a clock 14 * platforms to lookup the clock from a clock specifier. These indices are 15 * therefore considered an ABI and so must not 15 * therefore considered an ABI and so must not be changed. This implies 16 * that new clocks should be added either in f 16 * that new clocks should be added either in free spaces between clock groups 17 * or at the end. 17 * or at the end. 18 */ 18 */ 19 19 20 20 21 /* 21 /* 22 * Main CMU 22 * Main CMU 23 */ 23 */ 24 24 25 #define CLK_OSCSEL 1 25 #define CLK_OSCSEL 1 26 #define CLK_FIN_PLL 2 26 #define CLK_FIN_PLL 2 27 #define CLK_FOUT_APLL 3 27 #define CLK_FOUT_APLL 3 28 #define CLK_FOUT_VPLL 4 28 #define CLK_FOUT_VPLL 4 29 #define CLK_FOUT_UPLL 5 29 #define CLK_FOUT_UPLL 5 30 #define CLK_FOUT_MPLL 6 30 #define CLK_FOUT_MPLL 6 31 #define CLK_ARM_CLK 7 31 #define CLK_ARM_CLK 7 32 32 33 /* Muxes */ 33 /* Muxes */ 34 #define CLK_MOUT_MPLL_USER_L 16 34 #define CLK_MOUT_MPLL_USER_L 16 35 #define CLK_MOUT_GDL 17 35 #define CLK_MOUT_GDL 17 36 #define CLK_MOUT_MPLL_USER_R 18 36 #define CLK_MOUT_MPLL_USER_R 18 37 #define CLK_MOUT_GDR 19 37 #define CLK_MOUT_GDR 19 38 #define CLK_MOUT_EBI 20 38 #define CLK_MOUT_EBI 20 39 #define CLK_MOUT_ACLK_200 21 39 #define CLK_MOUT_ACLK_200 21 40 #define CLK_MOUT_ACLK_160 22 40 #define CLK_MOUT_ACLK_160 22 41 #define CLK_MOUT_ACLK_100 23 41 #define CLK_MOUT_ACLK_100 23 42 #define CLK_MOUT_ACLK_266_1 24 42 #define CLK_MOUT_ACLK_266_1 24 43 #define CLK_MOUT_ACLK_266_0 25 43 #define CLK_MOUT_ACLK_266_0 25 44 #define CLK_MOUT_ACLK_266 26 44 #define CLK_MOUT_ACLK_266 26 45 #define CLK_MOUT_VPLL 27 45 #define CLK_MOUT_VPLL 27 46 #define CLK_MOUT_EPLL_USER 28 46 #define CLK_MOUT_EPLL_USER 28 47 #define CLK_MOUT_EBI_1 29 47 #define CLK_MOUT_EBI_1 29 48 #define CLK_MOUT_UPLL 30 48 #define CLK_MOUT_UPLL 30 49 #define CLK_MOUT_ACLK_400_MCUISP_SUB 31 49 #define CLK_MOUT_ACLK_400_MCUISP_SUB 31 50 #define CLK_MOUT_MPLL 32 50 #define CLK_MOUT_MPLL 32 51 #define CLK_MOUT_ACLK_400_MCUISP 33 51 #define CLK_MOUT_ACLK_400_MCUISP 33 52 #define CLK_MOUT_VPLLSRC 34 52 #define CLK_MOUT_VPLLSRC 34 53 #define CLK_MOUT_CAM1 35 53 #define CLK_MOUT_CAM1 35 54 #define CLK_MOUT_CAM_BLK 36 54 #define CLK_MOUT_CAM_BLK 36 55 #define CLK_MOUT_MFC 37 55 #define CLK_MOUT_MFC 37 56 #define CLK_MOUT_MFC_1 38 56 #define CLK_MOUT_MFC_1 38 57 #define CLK_MOUT_MFC_0 39 57 #define CLK_MOUT_MFC_0 39 58 #define CLK_MOUT_G3D 40 58 #define CLK_MOUT_G3D 40 59 #define CLK_MOUT_G3D_1 41 59 #define CLK_MOUT_G3D_1 41 60 #define CLK_MOUT_G3D_0 42 60 #define CLK_MOUT_G3D_0 42 61 #define CLK_MOUT_MIPI0 43 61 #define CLK_MOUT_MIPI0 43 62 #define CLK_MOUT_FIMD0 44 62 #define CLK_MOUT_FIMD0 44 63 #define CLK_MOUT_UART_ISP 45 63 #define CLK_MOUT_UART_ISP 45 64 #define CLK_MOUT_SPI1_ISP 46 64 #define CLK_MOUT_SPI1_ISP 46 65 #define CLK_MOUT_SPI0_ISP 47 65 #define CLK_MOUT_SPI0_ISP 47 66 #define CLK_MOUT_TSADC 48 66 #define CLK_MOUT_TSADC 48 67 #define CLK_MOUT_MMC1 49 67 #define CLK_MOUT_MMC1 49 68 #define CLK_MOUT_MMC0 50 68 #define CLK_MOUT_MMC0 50 69 #define CLK_MOUT_UART1 51 69 #define CLK_MOUT_UART1 51 70 #define CLK_MOUT_UART0 52 70 #define CLK_MOUT_UART0 52 71 #define CLK_MOUT_SPI1 53 71 #define CLK_MOUT_SPI1 53 72 #define CLK_MOUT_SPI0 54 72 #define CLK_MOUT_SPI0 54 73 #define CLK_MOUT_AUDIO 55 73 #define CLK_MOUT_AUDIO 55 74 #define CLK_MOUT_MPLL_USER_C 56 74 #define CLK_MOUT_MPLL_USER_C 56 75 #define CLK_MOUT_HPM 57 75 #define CLK_MOUT_HPM 57 76 #define CLK_MOUT_CORE 58 76 #define CLK_MOUT_CORE 58 77 #define CLK_MOUT_APLL 59 77 #define CLK_MOUT_APLL 59 78 #define CLK_MOUT_ACLK_266_SUB 60 78 #define CLK_MOUT_ACLK_266_SUB 60 79 #define CLK_MOUT_UART2 61 79 #define CLK_MOUT_UART2 61 80 #define CLK_MOUT_MMC2 62 80 #define CLK_MOUT_MMC2 62 81 81 82 /* Dividers */ 82 /* Dividers */ 83 #define CLK_DIV_GPL 64 83 #define CLK_DIV_GPL 64 84 #define CLK_DIV_GDL 65 84 #define CLK_DIV_GDL 65 85 #define CLK_DIV_GPR 66 85 #define CLK_DIV_GPR 66 86 #define CLK_DIV_GDR 67 86 #define CLK_DIV_GDR 67 87 #define CLK_DIV_MPLL_PRE 68 87 #define CLK_DIV_MPLL_PRE 68 88 #define CLK_DIV_ACLK_400_MCUISP 69 88 #define CLK_DIV_ACLK_400_MCUISP 69 89 #define CLK_DIV_EBI 70 89 #define CLK_DIV_EBI 70 90 #define CLK_DIV_ACLK_200 71 90 #define CLK_DIV_ACLK_200 71 91 #define CLK_DIV_ACLK_160 72 91 #define CLK_DIV_ACLK_160 72 92 #define CLK_DIV_ACLK_100 73 92 #define CLK_DIV_ACLK_100 73 93 #define CLK_DIV_ACLK_266 74 93 #define CLK_DIV_ACLK_266 74 94 #define CLK_DIV_CAM1 75 94 #define CLK_DIV_CAM1 75 95 #define CLK_DIV_CAM_BLK 76 95 #define CLK_DIV_CAM_BLK 76 96 #define CLK_DIV_MFC 77 96 #define CLK_DIV_MFC 77 97 #define CLK_DIV_G3D 78 97 #define CLK_DIV_G3D 78 98 #define CLK_DIV_MIPI0_PRE 79 98 #define CLK_DIV_MIPI0_PRE 79 99 #define CLK_DIV_MIPI0 80 99 #define CLK_DIV_MIPI0 80 100 #define CLK_DIV_FIMD0 81 100 #define CLK_DIV_FIMD0 81 101 #define CLK_DIV_UART_ISP 82 101 #define CLK_DIV_UART_ISP 82 102 #define CLK_DIV_SPI1_ISP_PRE 83 102 #define CLK_DIV_SPI1_ISP_PRE 83 103 #define CLK_DIV_SPI1_ISP 84 103 #define CLK_DIV_SPI1_ISP 84 104 #define CLK_DIV_SPI0_ISP_PRE 85 104 #define CLK_DIV_SPI0_ISP_PRE 85 105 #define CLK_DIV_SPI0_ISP 86 105 #define CLK_DIV_SPI0_ISP 86 106 #define CLK_DIV_TSADC_PRE 87 106 #define CLK_DIV_TSADC_PRE 87 107 #define CLK_DIV_TSADC 88 107 #define CLK_DIV_TSADC 88 108 #define CLK_DIV_MMC1_PRE 89 108 #define CLK_DIV_MMC1_PRE 89 109 #define CLK_DIV_MMC1 90 109 #define CLK_DIV_MMC1 90 110 #define CLK_DIV_MMC0_PRE 91 110 #define CLK_DIV_MMC0_PRE 91 111 #define CLK_DIV_MMC0 92 111 #define CLK_DIV_MMC0 92 112 #define CLK_DIV_UART1 93 112 #define CLK_DIV_UART1 93 113 #define CLK_DIV_UART0 94 113 #define CLK_DIV_UART0 94 114 #define CLK_DIV_SPI1_PRE 95 114 #define CLK_DIV_SPI1_PRE 95 115 #define CLK_DIV_SPI1 96 115 #define CLK_DIV_SPI1 96 116 #define CLK_DIV_SPI0_PRE 97 116 #define CLK_DIV_SPI0_PRE 97 117 #define CLK_DIV_SPI0 98 117 #define CLK_DIV_SPI0 98 118 #define CLK_DIV_PCM 99 118 #define CLK_DIV_PCM 99 119 #define CLK_DIV_AUDIO 100 119 #define CLK_DIV_AUDIO 100 120 #define CLK_DIV_I2S 101 120 #define CLK_DIV_I2S 101 121 #define CLK_DIV_CORE2 102 121 #define CLK_DIV_CORE2 102 122 #define CLK_DIV_APLL 103 122 #define CLK_DIV_APLL 103 123 #define CLK_DIV_PCLK_DBG 104 123 #define CLK_DIV_PCLK_DBG 104 124 #define CLK_DIV_ATB 105 124 #define CLK_DIV_ATB 105 125 #define CLK_DIV_COREM 106 125 #define CLK_DIV_COREM 106 126 #define CLK_DIV_CORE 107 126 #define CLK_DIV_CORE 107 127 #define CLK_DIV_HPM 108 127 #define CLK_DIV_HPM 108 128 #define CLK_DIV_COPY 109 128 #define CLK_DIV_COPY 109 129 #define CLK_DIV_UART2 110 129 #define CLK_DIV_UART2 110 130 #define CLK_DIV_MMC2_PRE 111 130 #define CLK_DIV_MMC2_PRE 111 131 #define CLK_DIV_MMC2 112 131 #define CLK_DIV_MMC2 112 132 132 133 /* Gates */ 133 /* Gates */ 134 #define CLK_ASYNC_G3D 128 134 #define CLK_ASYNC_G3D 128 135 #define CLK_ASYNC_MFCL 129 135 #define CLK_ASYNC_MFCL 129 136 #define CLK_PPMULEFT 130 136 #define CLK_PPMULEFT 130 137 #define CLK_GPIO_LEFT 131 137 #define CLK_GPIO_LEFT 131 138 #define CLK_ASYNC_ISPMX 132 138 #define CLK_ASYNC_ISPMX 132 139 #define CLK_ASYNC_FSYSD 133 139 #define CLK_ASYNC_FSYSD 133 140 #define CLK_ASYNC_LCD0X 134 140 #define CLK_ASYNC_LCD0X 134 141 #define CLK_ASYNC_CAMX 135 141 #define CLK_ASYNC_CAMX 135 142 #define CLK_PPMURIGHT 136 142 #define CLK_PPMURIGHT 136 143 #define CLK_GPIO_RIGHT 137 143 #define CLK_GPIO_RIGHT 137 144 #define CLK_MONOCNT 138 144 #define CLK_MONOCNT 138 145 #define CLK_TZPC6 139 145 #define CLK_TZPC6 139 146 #define CLK_PROVISIONKEY1 140 146 #define CLK_PROVISIONKEY1 140 147 #define CLK_PROVISIONKEY0 141 147 #define CLK_PROVISIONKEY0 141 148 #define CLK_CMU_ISPPART 142 148 #define CLK_CMU_ISPPART 142 149 #define CLK_TMU_APBIF 143 149 #define CLK_TMU_APBIF 143 150 #define CLK_KEYIF 144 150 #define CLK_KEYIF 144 151 #define CLK_RTC 145 151 #define CLK_RTC 145 152 #define CLK_WDT 146 152 #define CLK_WDT 146 153 #define CLK_MCT 147 153 #define CLK_MCT 147 154 #define CLK_SECKEY 148 154 #define CLK_SECKEY 148 155 #define CLK_TZPC5 149 155 #define CLK_TZPC5 149 156 #define CLK_TZPC4 150 156 #define CLK_TZPC4 150 157 #define CLK_TZPC3 151 157 #define CLK_TZPC3 151 158 #define CLK_TZPC2 152 158 #define CLK_TZPC2 152 159 #define CLK_TZPC1 153 159 #define CLK_TZPC1 153 160 #define CLK_TZPC0 154 160 #define CLK_TZPC0 154 161 #define CLK_CMU_COREPART 155 161 #define CLK_CMU_COREPART 155 162 #define CLK_CMU_TOPPART 156 162 #define CLK_CMU_TOPPART 156 163 #define CLK_PMU_APBIF 157 163 #define CLK_PMU_APBIF 157 164 #define CLK_SYSREG 158 164 #define CLK_SYSREG 158 165 #define CLK_CHIP_ID 159 165 #define CLK_CHIP_ID 159 166 #define CLK_QEJPEG 160 166 #define CLK_QEJPEG 160 167 #define CLK_PIXELASYNCM1 161 167 #define CLK_PIXELASYNCM1 161 168 #define CLK_PIXELASYNCM0 162 168 #define CLK_PIXELASYNCM0 162 169 #define CLK_PPMUCAMIF 163 169 #define CLK_PPMUCAMIF 163 170 #define CLK_QEM2MSCALER 164 170 #define CLK_QEM2MSCALER 164 171 #define CLK_QEGSCALER1 165 171 #define CLK_QEGSCALER1 165 172 #define CLK_QEGSCALER0 166 172 #define CLK_QEGSCALER0 166 173 #define CLK_SMMUJPEG 167 173 #define CLK_SMMUJPEG 167 174 #define CLK_SMMUM2M2SCALER 168 174 #define CLK_SMMUM2M2SCALER 168 175 #define CLK_SMMUGSCALER1 169 175 #define CLK_SMMUGSCALER1 169 176 #define CLK_SMMUGSCALER0 170 176 #define CLK_SMMUGSCALER0 170 177 #define CLK_JPEG 171 177 #define CLK_JPEG 171 178 #define CLK_M2MSCALER 172 178 #define CLK_M2MSCALER 172 179 #define CLK_GSCALER1 173 179 #define CLK_GSCALER1 173 180 #define CLK_GSCALER0 174 180 #define CLK_GSCALER0 174 181 #define CLK_QEMFC 175 181 #define CLK_QEMFC 175 182 #define CLK_PPMUMFC_L 176 182 #define CLK_PPMUMFC_L 176 183 #define CLK_SMMUMFC_L 177 183 #define CLK_SMMUMFC_L 177 184 #define CLK_MFC 178 184 #define CLK_MFC 178 185 #define CLK_SMMUG3D 179 185 #define CLK_SMMUG3D 179 186 #define CLK_QEG3D 180 186 #define CLK_QEG3D 180 187 #define CLK_PPMUG3D 181 187 #define CLK_PPMUG3D 181 188 #define CLK_G3D 182 188 #define CLK_G3D 182 189 #define CLK_QE_CH1_LCD 183 189 #define CLK_QE_CH1_LCD 183 190 #define CLK_QE_CH0_LCD 184 190 #define CLK_QE_CH0_LCD 184 191 #define CLK_PPMULCD0 185 191 #define CLK_PPMULCD0 185 192 #define CLK_SMMUFIMD0 186 192 #define CLK_SMMUFIMD0 186 193 #define CLK_DSIM0 187 193 #define CLK_DSIM0 187 194 #define CLK_FIMD0 188 194 #define CLK_FIMD0 188 195 #define CLK_CAM1 189 195 #define CLK_CAM1 189 196 #define CLK_UART_ISP_TOP 190 196 #define CLK_UART_ISP_TOP 190 197 #define CLK_SPI1_ISP_TOP 191 197 #define CLK_SPI1_ISP_TOP 191 198 #define CLK_SPI0_ISP_TOP 192 198 #define CLK_SPI0_ISP_TOP 192 199 #define CLK_TSADC 193 199 #define CLK_TSADC 193 200 #define CLK_PPMUFILE 194 200 #define CLK_PPMUFILE 194 201 #define CLK_USBOTG 195 201 #define CLK_USBOTG 195 202 #define CLK_USBHOST 196 202 #define CLK_USBHOST 196 203 #define CLK_SROMC 197 203 #define CLK_SROMC 197 204 #define CLK_SDMMC1 198 204 #define CLK_SDMMC1 198 205 #define CLK_SDMMC0 199 205 #define CLK_SDMMC0 199 206 #define CLK_PDMA1 200 206 #define CLK_PDMA1 200 207 #define CLK_PDMA0 201 207 #define CLK_PDMA0 201 208 #define CLK_PWM 202 208 #define CLK_PWM 202 209 #define CLK_PCM 203 209 #define CLK_PCM 203 210 #define CLK_I2S 204 210 #define CLK_I2S 204 211 #define CLK_SPI1 205 211 #define CLK_SPI1 205 212 #define CLK_SPI0 206 212 #define CLK_SPI0 206 213 #define CLK_I2C7 207 213 #define CLK_I2C7 207 214 #define CLK_I2C6 208 214 #define CLK_I2C6 208 215 #define CLK_I2C5 209 215 #define CLK_I2C5 209 216 #define CLK_I2C4 210 216 #define CLK_I2C4 210 217 #define CLK_I2C3 211 217 #define CLK_I2C3 211 218 #define CLK_I2C2 212 218 #define CLK_I2C2 212 219 #define CLK_I2C1 213 219 #define CLK_I2C1 213 220 #define CLK_I2C0 214 220 #define CLK_I2C0 214 221 #define CLK_UART1 215 221 #define CLK_UART1 215 222 #define CLK_UART0 216 222 #define CLK_UART0 216 223 #define CLK_BLOCK_LCD 217 223 #define CLK_BLOCK_LCD 217 224 #define CLK_BLOCK_G3D 218 224 #define CLK_BLOCK_G3D 218 225 #define CLK_BLOCK_MFC 219 225 #define CLK_BLOCK_MFC 219 226 #define CLK_BLOCK_CAM 220 226 #define CLK_BLOCK_CAM 220 227 #define CLK_SMIES 221 227 #define CLK_SMIES 221 228 #define CLK_UART2 222 228 #define CLK_UART2 222 229 #define CLK_SDMMC2 223 229 #define CLK_SDMMC2 223 230 230 231 /* Special clocks */ 231 /* Special clocks */ 232 #define CLK_SCLK_JPEG 224 232 #define CLK_SCLK_JPEG 224 233 #define CLK_SCLK_M2MSCALER 225 233 #define CLK_SCLK_M2MSCALER 225 234 #define CLK_SCLK_GSCALER1 226 234 #define CLK_SCLK_GSCALER1 226 235 #define CLK_SCLK_GSCALER0 227 235 #define CLK_SCLK_GSCALER0 227 236 #define CLK_SCLK_MFC 228 236 #define CLK_SCLK_MFC 228 237 #define CLK_SCLK_G3D 229 237 #define CLK_SCLK_G3D 229 238 #define CLK_SCLK_MIPIDPHY2L 230 238 #define CLK_SCLK_MIPIDPHY2L 230 239 #define CLK_SCLK_MIPI0 231 239 #define CLK_SCLK_MIPI0 231 240 #define CLK_SCLK_FIMD0 232 240 #define CLK_SCLK_FIMD0 232 241 #define CLK_SCLK_CAM1 233 241 #define CLK_SCLK_CAM1 233 242 #define CLK_SCLK_UART_ISP 234 242 #define CLK_SCLK_UART_ISP 234 243 #define CLK_SCLK_SPI1_ISP 235 243 #define CLK_SCLK_SPI1_ISP 235 244 #define CLK_SCLK_SPI0_ISP 236 244 #define CLK_SCLK_SPI0_ISP 236 245 #define CLK_SCLK_UPLL 237 245 #define CLK_SCLK_UPLL 237 246 #define CLK_SCLK_TSADC 238 246 #define CLK_SCLK_TSADC 238 247 #define CLK_SCLK_EBI 239 247 #define CLK_SCLK_EBI 239 248 #define CLK_SCLK_MMC1 240 248 #define CLK_SCLK_MMC1 240 249 #define CLK_SCLK_MMC0 241 249 #define CLK_SCLK_MMC0 241 250 #define CLK_SCLK_I2S 242 250 #define CLK_SCLK_I2S 242 251 #define CLK_SCLK_PCM 243 251 #define CLK_SCLK_PCM 243 252 #define CLK_SCLK_SPI1 244 252 #define CLK_SCLK_SPI1 244 253 #define CLK_SCLK_SPI0 245 253 #define CLK_SCLK_SPI0 245 254 #define CLK_SCLK_UART1 246 254 #define CLK_SCLK_UART1 246 255 #define CLK_SCLK_UART0 247 255 #define CLK_SCLK_UART0 247 256 #define CLK_SCLK_UART2 248 256 #define CLK_SCLK_UART2 248 257 #define CLK_SCLK_MMC2 249 257 #define CLK_SCLK_MMC2 249 258 258 259 /* 259 /* >> 260 * Total number of clocks of main CMU. >> 261 * NOTE: Must be equal to last clock ID increased by one. >> 262 */ >> 263 #define CLK_NR_CLKS 250 >> 264 >> 265 /* 260 * CMU DMC 266 * CMU DMC 261 */ 267 */ 262 268 263 #define CLK_FOUT_BPLL 1 269 #define CLK_FOUT_BPLL 1 264 #define CLK_FOUT_EPLL 2 270 #define CLK_FOUT_EPLL 2 265 271 266 /* Muxes */ 272 /* Muxes */ 267 #define CLK_MOUT_MPLL_MIF 8 273 #define CLK_MOUT_MPLL_MIF 8 268 #define CLK_MOUT_BPLL 9 274 #define CLK_MOUT_BPLL 9 269 #define CLK_MOUT_DPHY 10 275 #define CLK_MOUT_DPHY 10 270 #define CLK_MOUT_DMC_BUS 11 276 #define CLK_MOUT_DMC_BUS 11 271 #define CLK_MOUT_EPLL 12 277 #define CLK_MOUT_EPLL 12 272 278 273 /* Dividers */ 279 /* Dividers */ 274 #define CLK_DIV_DMC 16 280 #define CLK_DIV_DMC 16 275 #define CLK_DIV_DPHY 17 281 #define CLK_DIV_DPHY 17 276 #define CLK_DIV_DMC_PRE 18 282 #define CLK_DIV_DMC_PRE 18 277 #define CLK_DIV_DMCP 19 283 #define CLK_DIV_DMCP 19 278 #define CLK_DIV_DMCD 20 284 #define CLK_DIV_DMCD 20 279 285 280 /* 286 /* >> 287 * Total number of clocks of main CMU. >> 288 * NOTE: Must be equal to last clock ID increased by one. >> 289 */ >> 290 #define NR_CLKS_DMC 21 >> 291 >> 292 /* 281 * CMU ISP 293 * CMU ISP 282 */ 294 */ 283 295 284 /* Dividers */ 296 /* Dividers */ 285 297 286 #define CLK_DIV_ISP1 1 298 #define CLK_DIV_ISP1 1 287 #define CLK_DIV_ISP0 2 299 #define CLK_DIV_ISP0 2 288 #define CLK_DIV_MCUISP1 3 300 #define CLK_DIV_MCUISP1 3 289 #define CLK_DIV_MCUISP0 4 301 #define CLK_DIV_MCUISP0 4 290 #define CLK_DIV_MPWM 5 302 #define CLK_DIV_MPWM 5 291 303 292 /* Gates */ 304 /* Gates */ 293 305 294 #define CLK_UART_ISP 8 306 #define CLK_UART_ISP 8 295 #define CLK_WDT_ISP 9 307 #define CLK_WDT_ISP 9 296 #define CLK_PWM_ISP 10 308 #define CLK_PWM_ISP 10 297 #define CLK_I2C1_ISP 11 309 #define CLK_I2C1_ISP 11 298 #define CLK_I2C0_ISP 12 310 #define CLK_I2C0_ISP 12 299 #define CLK_MPWM_ISP 13 311 #define CLK_MPWM_ISP 13 300 #define CLK_MCUCTL_ISP 14 312 #define CLK_MCUCTL_ISP 14 301 #define CLK_PPMUISPX 15 313 #define CLK_PPMUISPX 15 302 #define CLK_PPMUISPMX 16 314 #define CLK_PPMUISPMX 16 303 #define CLK_QE_LITE1 17 315 #define CLK_QE_LITE1 17 304 #define CLK_QE_LITE0 18 316 #define CLK_QE_LITE0 18 305 #define CLK_QE_FD 19 317 #define CLK_QE_FD 19 306 #define CLK_QE_DRC 20 318 #define CLK_QE_DRC 20 307 #define CLK_QE_ISP 21 319 #define CLK_QE_ISP 21 308 #define CLK_CSIS1 22 320 #define CLK_CSIS1 22 309 #define CLK_SMMU_LITE1 23 321 #define CLK_SMMU_LITE1 23 310 #define CLK_SMMU_LITE0 24 322 #define CLK_SMMU_LITE0 24 311 #define CLK_SMMU_FD 25 323 #define CLK_SMMU_FD 25 312 #define CLK_SMMU_DRC 26 324 #define CLK_SMMU_DRC 26 313 #define CLK_SMMU_ISP 27 325 #define CLK_SMMU_ISP 27 314 #define CLK_GICISP 28 326 #define CLK_GICISP 28 315 #define CLK_CSIS0 29 327 #define CLK_CSIS0 29 316 #define CLK_MCUISP 30 328 #define CLK_MCUISP 30 317 #define CLK_LITE1 31 329 #define CLK_LITE1 31 318 #define CLK_LITE0 32 330 #define CLK_LITE0 32 319 #define CLK_FD 33 331 #define CLK_FD 33 320 #define CLK_DRC 34 332 #define CLK_DRC 34 321 #define CLK_ISP 35 333 #define CLK_ISP 35 322 #define CLK_QE_ISPCX 36 334 #define CLK_QE_ISPCX 36 323 #define CLK_QE_SCALERP 37 335 #define CLK_QE_SCALERP 37 324 #define CLK_QE_SCALERC 38 336 #define CLK_QE_SCALERC 38 325 #define CLK_SMMU_SCALERP 39 337 #define CLK_SMMU_SCALERP 39 326 #define CLK_SMMU_SCALERC 40 338 #define CLK_SMMU_SCALERC 40 327 #define CLK_SCALERP 41 339 #define CLK_SCALERP 41 328 #define CLK_SCALERC 42 340 #define CLK_SCALERC 42 329 #define CLK_SPI1_ISP 43 341 #define CLK_SPI1_ISP 43 330 #define CLK_SPI0_ISP 44 342 #define CLK_SPI0_ISP 44 331 #define CLK_SMMU_ISPCX 45 343 #define CLK_SMMU_ISPCX 45 332 #define CLK_ASYNCAXIM 46 344 #define CLK_ASYNCAXIM 46 333 #define CLK_SCLK_MPWM_ISP 47 345 #define CLK_SCLK_MPWM_ISP 47 >> 346 >> 347 /* >> 348 * Total number of clocks of CMU_ISP. >> 349 * NOTE: Must be equal to last clock ID increased by one. >> 350 */ >> 351 #define NR_CLKS_ISP 48 334 352 335 #endif /* _DT_BINDINGS_CLOCK_SAMSUNG_EXYNOS325 353 #endif /* _DT_BINDINGS_CLOCK_SAMSUNG_EXYNOS3250_CLOCK_H */ 336 354
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.