1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * Copyright (c) 2014 MediaTek Inc. 2 * Copyright (c) 2014 MediaTek Inc. 4 * Author: James Liao <jamesjj.liao@mediatek.c 3 * Author: James Liao <jamesjj.liao@mediatek.com> >> 4 * >> 5 * This program is free software; you can redistribute it and/or modify >> 6 * it under the terms of the GNU General Public License version 2 as >> 7 * published by the Free Software Foundation. >> 8 * >> 9 * This program is distributed in the hope that it will be useful, >> 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 12 * GNU General Public License for more details. 5 */ 13 */ 6 14 7 #ifndef _DT_BINDINGS_CLK_MT8173_H 15 #ifndef _DT_BINDINGS_CLK_MT8173_H 8 #define _DT_BINDINGS_CLK_MT8173_H 16 #define _DT_BINDINGS_CLK_MT8173_H 9 17 10 /* TOPCKGEN */ 18 /* TOPCKGEN */ 11 19 12 #define CLK_TOP_CLKPH_MCK_O 1 20 #define CLK_TOP_CLKPH_MCK_O 1 13 #define CLK_TOP_USB_SYSPLL_125M 3 21 #define CLK_TOP_USB_SYSPLL_125M 3 14 #define CLK_TOP_HDMITX_DIG_CTS 4 22 #define CLK_TOP_HDMITX_DIG_CTS 4 15 #define CLK_TOP_ARMCA7PLL_754M 5 23 #define CLK_TOP_ARMCA7PLL_754M 5 16 #define CLK_TOP_ARMCA7PLL_502M 6 24 #define CLK_TOP_ARMCA7PLL_502M 6 17 #define CLK_TOP_MAIN_H546M 7 25 #define CLK_TOP_MAIN_H546M 7 18 #define CLK_TOP_MAIN_H364M 8 26 #define CLK_TOP_MAIN_H364M 8 19 #define CLK_TOP_MAIN_H218P4M 9 27 #define CLK_TOP_MAIN_H218P4M 9 20 #define CLK_TOP_MAIN_H156M 10 28 #define CLK_TOP_MAIN_H156M 10 21 #define CLK_TOP_TVDPLL_445P5M 11 29 #define CLK_TOP_TVDPLL_445P5M 11 22 #define CLK_TOP_TVDPLL_594M 12 30 #define CLK_TOP_TVDPLL_594M 12 23 #define CLK_TOP_UNIV_624M 13 31 #define CLK_TOP_UNIV_624M 13 24 #define CLK_TOP_UNIV_416M 14 32 #define CLK_TOP_UNIV_416M 14 25 #define CLK_TOP_UNIV_249P6M 15 33 #define CLK_TOP_UNIV_249P6M 15 26 #define CLK_TOP_UNIV_178P3M 16 34 #define CLK_TOP_UNIV_178P3M 16 27 #define CLK_TOP_UNIV_48M 17 35 #define CLK_TOP_UNIV_48M 17 28 #define CLK_TOP_CLKRTC_EXT 18 36 #define CLK_TOP_CLKRTC_EXT 18 29 #define CLK_TOP_CLKRTC_INT 19 37 #define CLK_TOP_CLKRTC_INT 19 30 #define CLK_TOP_FPC 20 38 #define CLK_TOP_FPC 20 31 #define CLK_TOP_HDMITXPLL_D2 21 39 #define CLK_TOP_HDMITXPLL_D2 21 32 #define CLK_TOP_HDMITXPLL_D3 22 40 #define CLK_TOP_HDMITXPLL_D3 22 33 #define CLK_TOP_ARMCA7PLL_D2 23 41 #define CLK_TOP_ARMCA7PLL_D2 23 34 #define CLK_TOP_ARMCA7PLL_D3 24 42 #define CLK_TOP_ARMCA7PLL_D3 24 35 #define CLK_TOP_APLL1 25 43 #define CLK_TOP_APLL1 25 36 #define CLK_TOP_APLL2 26 44 #define CLK_TOP_APLL2 26 37 #define CLK_TOP_DMPLL 27 45 #define CLK_TOP_DMPLL 27 38 #define CLK_TOP_DMPLL_D2 28 46 #define CLK_TOP_DMPLL_D2 28 39 #define CLK_TOP_DMPLL_D4 29 47 #define CLK_TOP_DMPLL_D4 29 40 #define CLK_TOP_DMPLL_D8 30 48 #define CLK_TOP_DMPLL_D8 30 41 #define CLK_TOP_DMPLL_D16 31 49 #define CLK_TOP_DMPLL_D16 31 42 #define CLK_TOP_LVDSPLL_D2 32 50 #define CLK_TOP_LVDSPLL_D2 32 43 #define CLK_TOP_LVDSPLL_D4 33 51 #define CLK_TOP_LVDSPLL_D4 33 44 #define CLK_TOP_LVDSPLL_D8 34 52 #define CLK_TOP_LVDSPLL_D8 34 45 #define CLK_TOP_MMPLL 35 53 #define CLK_TOP_MMPLL 35 46 #define CLK_TOP_MMPLL_D2 36 54 #define CLK_TOP_MMPLL_D2 36 47 #define CLK_TOP_MSDCPLL 37 55 #define CLK_TOP_MSDCPLL 37 48 #define CLK_TOP_MSDCPLL_D2 38 56 #define CLK_TOP_MSDCPLL_D2 38 49 #define CLK_TOP_MSDCPLL_D4 39 57 #define CLK_TOP_MSDCPLL_D4 39 50 #define CLK_TOP_MSDCPLL2 40 58 #define CLK_TOP_MSDCPLL2 40 51 #define CLK_TOP_MSDCPLL2_D2 41 59 #define CLK_TOP_MSDCPLL2_D2 41 52 #define CLK_TOP_MSDCPLL2_D4 42 60 #define CLK_TOP_MSDCPLL2_D4 42 53 #define CLK_TOP_SYSPLL_D2 43 61 #define CLK_TOP_SYSPLL_D2 43 54 #define CLK_TOP_SYSPLL1_D2 44 62 #define CLK_TOP_SYSPLL1_D2 44 55 #define CLK_TOP_SYSPLL1_D4 45 63 #define CLK_TOP_SYSPLL1_D4 45 56 #define CLK_TOP_SYSPLL1_D8 46 64 #define CLK_TOP_SYSPLL1_D8 46 57 #define CLK_TOP_SYSPLL1_D16 47 65 #define CLK_TOP_SYSPLL1_D16 47 58 #define CLK_TOP_SYSPLL_D3 48 66 #define CLK_TOP_SYSPLL_D3 48 59 #define CLK_TOP_SYSPLL2_D2 49 67 #define CLK_TOP_SYSPLL2_D2 49 60 #define CLK_TOP_SYSPLL2_D4 50 68 #define CLK_TOP_SYSPLL2_D4 50 61 #define CLK_TOP_SYSPLL_D5 51 69 #define CLK_TOP_SYSPLL_D5 51 62 #define CLK_TOP_SYSPLL3_D2 52 70 #define CLK_TOP_SYSPLL3_D2 52 63 #define CLK_TOP_SYSPLL3_D4 53 71 #define CLK_TOP_SYSPLL3_D4 53 64 #define CLK_TOP_SYSPLL_D7 54 72 #define CLK_TOP_SYSPLL_D7 54 65 #define CLK_TOP_SYSPLL4_D2 55 73 #define CLK_TOP_SYSPLL4_D2 55 66 #define CLK_TOP_SYSPLL4_D4 56 74 #define CLK_TOP_SYSPLL4_D4 56 67 #define CLK_TOP_TVDPLL 57 75 #define CLK_TOP_TVDPLL 57 68 #define CLK_TOP_TVDPLL_D2 58 76 #define CLK_TOP_TVDPLL_D2 58 69 #define CLK_TOP_TVDPLL_D4 59 77 #define CLK_TOP_TVDPLL_D4 59 70 #define CLK_TOP_TVDPLL_D8 60 78 #define CLK_TOP_TVDPLL_D8 60 71 #define CLK_TOP_TVDPLL_D16 61 79 #define CLK_TOP_TVDPLL_D16 61 72 #define CLK_TOP_UNIVPLL_D2 62 80 #define CLK_TOP_UNIVPLL_D2 62 73 #define CLK_TOP_UNIVPLL1_D2 63 81 #define CLK_TOP_UNIVPLL1_D2 63 74 #define CLK_TOP_UNIVPLL1_D4 64 82 #define CLK_TOP_UNIVPLL1_D4 64 75 #define CLK_TOP_UNIVPLL1_D8 65 83 #define CLK_TOP_UNIVPLL1_D8 65 76 #define CLK_TOP_UNIVPLL_D3 66 84 #define CLK_TOP_UNIVPLL_D3 66 77 #define CLK_TOP_UNIVPLL2_D2 67 85 #define CLK_TOP_UNIVPLL2_D2 67 78 #define CLK_TOP_UNIVPLL2_D4 68 86 #define CLK_TOP_UNIVPLL2_D4 68 79 #define CLK_TOP_UNIVPLL2_D8 69 87 #define CLK_TOP_UNIVPLL2_D8 69 80 #define CLK_TOP_UNIVPLL_D5 70 88 #define CLK_TOP_UNIVPLL_D5 70 81 #define CLK_TOP_UNIVPLL3_D2 71 89 #define CLK_TOP_UNIVPLL3_D2 71 82 #define CLK_TOP_UNIVPLL3_D4 72 90 #define CLK_TOP_UNIVPLL3_D4 72 83 #define CLK_TOP_UNIVPLL3_D8 73 91 #define CLK_TOP_UNIVPLL3_D8 73 84 #define CLK_TOP_UNIVPLL_D7 74 92 #define CLK_TOP_UNIVPLL_D7 74 85 #define CLK_TOP_UNIVPLL_D26 75 93 #define CLK_TOP_UNIVPLL_D26 75 86 #define CLK_TOP_UNIVPLL_D52 76 94 #define CLK_TOP_UNIVPLL_D52 76 87 #define CLK_TOP_VCODECPLL 77 95 #define CLK_TOP_VCODECPLL 77 88 #define CLK_TOP_VCODECPLL_370P5 78 96 #define CLK_TOP_VCODECPLL_370P5 78 89 #define CLK_TOP_VENCPLL 79 97 #define CLK_TOP_VENCPLL 79 90 #define CLK_TOP_VENCPLL_D2 80 98 #define CLK_TOP_VENCPLL_D2 80 91 #define CLK_TOP_VENCPLL_D4 81 99 #define CLK_TOP_VENCPLL_D4 81 92 #define CLK_TOP_AXI_SEL 82 100 #define CLK_TOP_AXI_SEL 82 93 #define CLK_TOP_MEM_SEL 83 101 #define CLK_TOP_MEM_SEL 83 94 #define CLK_TOP_DDRPHYCFG_SEL 84 102 #define CLK_TOP_DDRPHYCFG_SEL 84 95 #define CLK_TOP_MM_SEL 85 103 #define CLK_TOP_MM_SEL 85 96 #define CLK_TOP_PWM_SEL 86 104 #define CLK_TOP_PWM_SEL 86 97 #define CLK_TOP_VDEC_SEL 87 105 #define CLK_TOP_VDEC_SEL 87 98 #define CLK_TOP_VENC_SEL 88 106 #define CLK_TOP_VENC_SEL 88 99 #define CLK_TOP_MFG_SEL 89 107 #define CLK_TOP_MFG_SEL 89 100 #define CLK_TOP_CAMTG_SEL 90 108 #define CLK_TOP_CAMTG_SEL 90 101 #define CLK_TOP_UART_SEL 91 109 #define CLK_TOP_UART_SEL 91 102 #define CLK_TOP_SPI_SEL 92 110 #define CLK_TOP_SPI_SEL 92 103 #define CLK_TOP_USB20_SEL 93 111 #define CLK_TOP_USB20_SEL 93 104 #define CLK_TOP_USB30_SEL 94 112 #define CLK_TOP_USB30_SEL 94 105 #define CLK_TOP_MSDC50_0_H_SEL 95 113 #define CLK_TOP_MSDC50_0_H_SEL 95 106 #define CLK_TOP_MSDC50_0_SEL 96 114 #define CLK_TOP_MSDC50_0_SEL 96 107 #define CLK_TOP_MSDC30_1_SEL 97 115 #define CLK_TOP_MSDC30_1_SEL 97 108 #define CLK_TOP_MSDC30_2_SEL 98 116 #define CLK_TOP_MSDC30_2_SEL 98 109 #define CLK_TOP_MSDC30_3_SEL 99 117 #define CLK_TOP_MSDC30_3_SEL 99 110 #define CLK_TOP_AUDIO_SEL 100 118 #define CLK_TOP_AUDIO_SEL 100 111 #define CLK_TOP_AUD_INTBUS_SEL 101 119 #define CLK_TOP_AUD_INTBUS_SEL 101 112 #define CLK_TOP_PMICSPI_SEL 102 120 #define CLK_TOP_PMICSPI_SEL 102 113 #define CLK_TOP_SCP_SEL 103 121 #define CLK_TOP_SCP_SEL 103 114 #define CLK_TOP_ATB_SEL 104 122 #define CLK_TOP_ATB_SEL 104 115 #define CLK_TOP_VENC_LT_SEL 105 123 #define CLK_TOP_VENC_LT_SEL 105 116 #define CLK_TOP_DPI0_SEL 106 124 #define CLK_TOP_DPI0_SEL 106 117 #define CLK_TOP_IRDA_SEL 107 125 #define CLK_TOP_IRDA_SEL 107 118 #define CLK_TOP_CCI400_SEL 108 126 #define CLK_TOP_CCI400_SEL 108 119 #define CLK_TOP_AUD_1_SEL 109 127 #define CLK_TOP_AUD_1_SEL 109 120 #define CLK_TOP_AUD_2_SEL 110 128 #define CLK_TOP_AUD_2_SEL 110 121 #define CLK_TOP_MEM_MFG_IN_SEL 111 129 #define CLK_TOP_MEM_MFG_IN_SEL 111 122 #define CLK_TOP_AXI_MFG_IN_SEL 112 130 #define CLK_TOP_AXI_MFG_IN_SEL 112 123 #define CLK_TOP_SCAM_SEL 113 131 #define CLK_TOP_SCAM_SEL 113 124 #define CLK_TOP_SPINFI_IFR_SEL 114 132 #define CLK_TOP_SPINFI_IFR_SEL 114 125 #define CLK_TOP_HDMI_SEL 115 133 #define CLK_TOP_HDMI_SEL 115 126 #define CLK_TOP_DPILVDS_SEL 116 134 #define CLK_TOP_DPILVDS_SEL 116 127 #define CLK_TOP_MSDC50_2_H_SEL 117 135 #define CLK_TOP_MSDC50_2_H_SEL 117 128 #define CLK_TOP_HDCP_SEL 118 136 #define CLK_TOP_HDCP_SEL 118 129 #define CLK_TOP_HDCP_24M_SEL 119 137 #define CLK_TOP_HDCP_24M_SEL 119 130 #define CLK_TOP_RTC_SEL 120 138 #define CLK_TOP_RTC_SEL 120 131 #define CLK_TOP_APLL1_DIV0 121 139 #define CLK_TOP_APLL1_DIV0 121 132 #define CLK_TOP_APLL1_DIV1 122 140 #define CLK_TOP_APLL1_DIV1 122 133 #define CLK_TOP_APLL1_DIV2 123 141 #define CLK_TOP_APLL1_DIV2 123 134 #define CLK_TOP_APLL1_DIV3 124 142 #define CLK_TOP_APLL1_DIV3 124 135 #define CLK_TOP_APLL1_DIV4 125 143 #define CLK_TOP_APLL1_DIV4 125 136 #define CLK_TOP_APLL1_DIV5 126 144 #define CLK_TOP_APLL1_DIV5 126 137 #define CLK_TOP_APLL2_DIV0 127 145 #define CLK_TOP_APLL2_DIV0 127 138 #define CLK_TOP_APLL2_DIV1 128 146 #define CLK_TOP_APLL2_DIV1 128 139 #define CLK_TOP_APLL2_DIV2 129 147 #define CLK_TOP_APLL2_DIV2 129 140 #define CLK_TOP_APLL2_DIV3 130 148 #define CLK_TOP_APLL2_DIV3 130 141 #define CLK_TOP_APLL2_DIV4 131 149 #define CLK_TOP_APLL2_DIV4 131 142 #define CLK_TOP_APLL2_DIV5 132 150 #define CLK_TOP_APLL2_DIV5 132 143 #define CLK_TOP_I2S0_M_SEL 133 151 #define CLK_TOP_I2S0_M_SEL 133 144 #define CLK_TOP_I2S1_M_SEL 134 152 #define CLK_TOP_I2S1_M_SEL 134 145 #define CLK_TOP_I2S2_M_SEL 135 153 #define CLK_TOP_I2S2_M_SEL 135 146 #define CLK_TOP_I2S3_M_SEL 136 154 #define CLK_TOP_I2S3_M_SEL 136 147 #define CLK_TOP_I2S3_B_SEL 137 155 #define CLK_TOP_I2S3_B_SEL 137 148 #define CLK_TOP_DSI0_DIG 138 156 #define CLK_TOP_DSI0_DIG 138 149 #define CLK_TOP_DSI1_DIG 139 157 #define CLK_TOP_DSI1_DIG 139 150 #define CLK_TOP_LVDS_PXL 140 158 #define CLK_TOP_LVDS_PXL 140 151 #define CLK_TOP_LVDS_CTS 141 159 #define CLK_TOP_LVDS_CTS 141 152 #define CLK_TOP_NR_CLK 142 160 #define CLK_TOP_NR_CLK 142 153 161 154 /* APMIXED_SYS */ 162 /* APMIXED_SYS */ 155 163 156 #define CLK_APMIXED_ARMCA15PLL 1 164 #define CLK_APMIXED_ARMCA15PLL 1 157 #define CLK_APMIXED_ARMCA7PLL 2 165 #define CLK_APMIXED_ARMCA7PLL 2 158 #define CLK_APMIXED_MAINPLL 3 166 #define CLK_APMIXED_MAINPLL 3 159 #define CLK_APMIXED_UNIVPLL 4 167 #define CLK_APMIXED_UNIVPLL 4 160 #define CLK_APMIXED_MMPLL 5 168 #define CLK_APMIXED_MMPLL 5 161 #define CLK_APMIXED_MSDCPLL 6 169 #define CLK_APMIXED_MSDCPLL 6 162 #define CLK_APMIXED_VENCPLL 7 170 #define CLK_APMIXED_VENCPLL 7 163 #define CLK_APMIXED_TVDPLL 8 171 #define CLK_APMIXED_TVDPLL 8 164 #define CLK_APMIXED_MPLL 9 172 #define CLK_APMIXED_MPLL 9 165 #define CLK_APMIXED_VCODECPLL 10 173 #define CLK_APMIXED_VCODECPLL 10 166 #define CLK_APMIXED_APLL1 11 174 #define CLK_APMIXED_APLL1 11 167 #define CLK_APMIXED_APLL2 12 175 #define CLK_APMIXED_APLL2 12 168 #define CLK_APMIXED_LVDSPLL 13 176 #define CLK_APMIXED_LVDSPLL 13 169 #define CLK_APMIXED_MSDCPLL2 14 177 #define CLK_APMIXED_MSDCPLL2 14 170 #define CLK_APMIXED_REF2USB_TX 15 178 #define CLK_APMIXED_REF2USB_TX 15 171 #define CLK_APMIXED_HDMI_REF 16 179 #define CLK_APMIXED_HDMI_REF 16 172 #define CLK_APMIXED_NR_CLK 17 180 #define CLK_APMIXED_NR_CLK 17 173 181 174 /* INFRA_SYS */ 182 /* INFRA_SYS */ 175 183 176 #define CLK_INFRA_DBGCLK 1 184 #define CLK_INFRA_DBGCLK 1 177 #define CLK_INFRA_SMI 2 185 #define CLK_INFRA_SMI 2 178 #define CLK_INFRA_AUDIO 3 186 #define CLK_INFRA_AUDIO 3 179 #define CLK_INFRA_GCE 4 187 #define CLK_INFRA_GCE 4 180 #define CLK_INFRA_L2C_SRAM 5 188 #define CLK_INFRA_L2C_SRAM 5 181 #define CLK_INFRA_M4U 6 189 #define CLK_INFRA_M4U 6 182 #define CLK_INFRA_CPUM 7 190 #define CLK_INFRA_CPUM 7 183 #define CLK_INFRA_KP 8 191 #define CLK_INFRA_KP 8 184 #define CLK_INFRA_CEC 9 192 #define CLK_INFRA_CEC 9 185 #define CLK_INFRA_PMICSPI 10 193 #define CLK_INFRA_PMICSPI 10 186 #define CLK_INFRA_PMICWRAP 11 194 #define CLK_INFRA_PMICWRAP 11 187 #define CLK_INFRA_CLK_13M 12 195 #define CLK_INFRA_CLK_13M 12 188 #define CLK_INFRA_CA53SEL 13 !! 196 #define CLK_INFRA_NR_CLK 13 189 #define CLK_INFRA_CA72SEL 14 << 190 #define CLK_INFRA_NR_CLK 15 << 191 197 192 /* PERI_SYS */ 198 /* PERI_SYS */ 193 199 194 #define CLK_PERI_NFI 1 200 #define CLK_PERI_NFI 1 195 #define CLK_PERI_THERM 2 201 #define CLK_PERI_THERM 2 196 #define CLK_PERI_PWM1 3 202 #define CLK_PERI_PWM1 3 197 #define CLK_PERI_PWM2 4 203 #define CLK_PERI_PWM2 4 198 #define CLK_PERI_PWM3 5 204 #define CLK_PERI_PWM3 5 199 #define CLK_PERI_PWM4 6 205 #define CLK_PERI_PWM4 6 200 #define CLK_PERI_PWM5 7 206 #define CLK_PERI_PWM5 7 201 #define CLK_PERI_PWM6 8 207 #define CLK_PERI_PWM6 8 202 #define CLK_PERI_PWM7 9 208 #define CLK_PERI_PWM7 9 203 #define CLK_PERI_PWM 10 209 #define CLK_PERI_PWM 10 204 #define CLK_PERI_USB0 11 210 #define CLK_PERI_USB0 11 205 #define CLK_PERI_USB1 12 211 #define CLK_PERI_USB1 12 206 #define CLK_PERI_AP_DMA 13 212 #define CLK_PERI_AP_DMA 13 207 #define CLK_PERI_MSDC30_0 14 213 #define CLK_PERI_MSDC30_0 14 208 #define CLK_PERI_MSDC30_1 15 214 #define CLK_PERI_MSDC30_1 15 209 #define CLK_PERI_MSDC30_2 16 215 #define CLK_PERI_MSDC30_2 16 210 #define CLK_PERI_MSDC30_3 17 216 #define CLK_PERI_MSDC30_3 17 211 #define CLK_PERI_NLI_ARB 18 217 #define CLK_PERI_NLI_ARB 18 212 #define CLK_PERI_IRDA 19 218 #define CLK_PERI_IRDA 19 213 #define CLK_PERI_UART0 20 219 #define CLK_PERI_UART0 20 214 #define CLK_PERI_UART1 21 220 #define CLK_PERI_UART1 21 215 #define CLK_PERI_UART2 22 221 #define CLK_PERI_UART2 22 216 #define CLK_PERI_UART3 23 222 #define CLK_PERI_UART3 23 217 #define CLK_PERI_I2C0 24 223 #define CLK_PERI_I2C0 24 218 #define CLK_PERI_I2C1 25 224 #define CLK_PERI_I2C1 25 219 #define CLK_PERI_I2C2 26 225 #define CLK_PERI_I2C2 26 220 #define CLK_PERI_I2C3 27 226 #define CLK_PERI_I2C3 27 221 #define CLK_PERI_I2C4 28 227 #define CLK_PERI_I2C4 28 222 #define CLK_PERI_AUXADC 29 228 #define CLK_PERI_AUXADC 29 223 #define CLK_PERI_SPI0 30 229 #define CLK_PERI_SPI0 30 224 #define CLK_PERI_I2C5 31 230 #define CLK_PERI_I2C5 31 225 #define CLK_PERI_NFIECC 32 231 #define CLK_PERI_NFIECC 32 226 #define CLK_PERI_SPI 33 232 #define CLK_PERI_SPI 33 227 #define CLK_PERI_IRRX 34 233 #define CLK_PERI_IRRX 34 228 #define CLK_PERI_I2C6 35 234 #define CLK_PERI_I2C6 35 229 #define CLK_PERI_UART0_SEL 36 235 #define CLK_PERI_UART0_SEL 36 230 #define CLK_PERI_UART1_SEL 37 236 #define CLK_PERI_UART1_SEL 37 231 #define CLK_PERI_UART2_SEL 38 237 #define CLK_PERI_UART2_SEL 38 232 #define CLK_PERI_UART3_SEL 39 238 #define CLK_PERI_UART3_SEL 39 233 #define CLK_PERI_NR_CLK 40 239 #define CLK_PERI_NR_CLK 40 234 240 235 /* IMG_SYS */ 241 /* IMG_SYS */ 236 242 237 #define CLK_IMG_LARB2_SMI 1 243 #define CLK_IMG_LARB2_SMI 1 238 #define CLK_IMG_CAM_SMI 2 244 #define CLK_IMG_CAM_SMI 2 239 #define CLK_IMG_CAM_CAM 3 245 #define CLK_IMG_CAM_CAM 3 240 #define CLK_IMG_SEN_TG 4 246 #define CLK_IMG_SEN_TG 4 241 #define CLK_IMG_SEN_CAM 5 247 #define CLK_IMG_SEN_CAM 5 242 #define CLK_IMG_CAM_SV 6 248 #define CLK_IMG_CAM_SV 6 243 #define CLK_IMG_FD 7 249 #define CLK_IMG_FD 7 244 #define CLK_IMG_NR_CLK 8 250 #define CLK_IMG_NR_CLK 8 245 251 246 /* MM_SYS */ 252 /* MM_SYS */ 247 253 248 #define CLK_MM_SMI_COMMON 1 254 #define CLK_MM_SMI_COMMON 1 249 #define CLK_MM_SMI_LARB0 2 255 #define CLK_MM_SMI_LARB0 2 250 #define CLK_MM_CAM_MDP 3 256 #define CLK_MM_CAM_MDP 3 251 #define CLK_MM_MDP_RDMA0 4 257 #define CLK_MM_MDP_RDMA0 4 252 #define CLK_MM_MDP_RDMA1 5 258 #define CLK_MM_MDP_RDMA1 5 253 #define CLK_MM_MDP_RSZ0 6 259 #define CLK_MM_MDP_RSZ0 6 254 #define CLK_MM_MDP_RSZ1 7 260 #define CLK_MM_MDP_RSZ1 7 255 #define CLK_MM_MDP_RSZ2 8 261 #define CLK_MM_MDP_RSZ2 8 256 #define CLK_MM_MDP_TDSHP0 9 262 #define CLK_MM_MDP_TDSHP0 9 257 #define CLK_MM_MDP_TDSHP1 10 263 #define CLK_MM_MDP_TDSHP1 10 258 #define CLK_MM_MDP_WDMA 11 264 #define CLK_MM_MDP_WDMA 11 259 #define CLK_MM_MDP_WROT0 12 265 #define CLK_MM_MDP_WROT0 12 260 #define CLK_MM_MDP_WROT1 13 266 #define CLK_MM_MDP_WROT1 13 261 #define CLK_MM_FAKE_ENG 14 267 #define CLK_MM_FAKE_ENG 14 262 #define CLK_MM_MUTEX_32K 15 268 #define CLK_MM_MUTEX_32K 15 263 #define CLK_MM_DISP_OVL0 16 269 #define CLK_MM_DISP_OVL0 16 264 #define CLK_MM_DISP_OVL1 17 270 #define CLK_MM_DISP_OVL1 17 265 #define CLK_MM_DISP_RDMA0 18 271 #define CLK_MM_DISP_RDMA0 18 266 #define CLK_MM_DISP_RDMA1 19 272 #define CLK_MM_DISP_RDMA1 19 267 #define CLK_MM_DISP_RDMA2 20 273 #define CLK_MM_DISP_RDMA2 20 268 #define CLK_MM_DISP_WDMA0 21 274 #define CLK_MM_DISP_WDMA0 21 269 #define CLK_MM_DISP_WDMA1 22 275 #define CLK_MM_DISP_WDMA1 22 270 #define CLK_MM_DISP_COLOR0 23 276 #define CLK_MM_DISP_COLOR0 23 271 #define CLK_MM_DISP_COLOR1 24 277 #define CLK_MM_DISP_COLOR1 24 272 #define CLK_MM_DISP_AAL 25 278 #define CLK_MM_DISP_AAL 25 273 #define CLK_MM_DISP_GAMMA 26 279 #define CLK_MM_DISP_GAMMA 26 274 #define CLK_MM_DISP_UFOE 27 280 #define CLK_MM_DISP_UFOE 27 275 #define CLK_MM_DISP_SPLIT0 28 281 #define CLK_MM_DISP_SPLIT0 28 276 #define CLK_MM_DISP_SPLIT1 29 282 #define CLK_MM_DISP_SPLIT1 29 277 #define CLK_MM_DISP_MERGE 30 283 #define CLK_MM_DISP_MERGE 30 278 #define CLK_MM_DISP_OD 31 284 #define CLK_MM_DISP_OD 31 279 #define CLK_MM_DISP_PWM0MM 32 285 #define CLK_MM_DISP_PWM0MM 32 280 #define CLK_MM_DISP_PWM026M 33 286 #define CLK_MM_DISP_PWM026M 33 281 #define CLK_MM_DISP_PWM1MM 34 287 #define CLK_MM_DISP_PWM1MM 34 282 #define CLK_MM_DISP_PWM126M 35 288 #define CLK_MM_DISP_PWM126M 35 283 #define CLK_MM_DSI0_ENGINE 36 289 #define CLK_MM_DSI0_ENGINE 36 284 #define CLK_MM_DSI0_DIGITAL 37 290 #define CLK_MM_DSI0_DIGITAL 37 285 #define CLK_MM_DSI1_ENGINE 38 291 #define CLK_MM_DSI1_ENGINE 38 286 #define CLK_MM_DSI1_DIGITAL 39 292 #define CLK_MM_DSI1_DIGITAL 39 287 #define CLK_MM_DPI_PIXEL 40 293 #define CLK_MM_DPI_PIXEL 40 288 #define CLK_MM_DPI_ENGINE 41 294 #define CLK_MM_DPI_ENGINE 41 289 #define CLK_MM_DPI1_PIXEL 42 295 #define CLK_MM_DPI1_PIXEL 42 290 #define CLK_MM_DPI1_ENGINE 43 296 #define CLK_MM_DPI1_ENGINE 43 291 #define CLK_MM_HDMI_PIXEL 44 297 #define CLK_MM_HDMI_PIXEL 44 292 #define CLK_MM_HDMI_PLLCK 45 298 #define CLK_MM_HDMI_PLLCK 45 293 #define CLK_MM_HDMI_AUDIO 46 299 #define CLK_MM_HDMI_AUDIO 46 294 #define CLK_MM_HDMI_SPDIF 47 300 #define CLK_MM_HDMI_SPDIF 47 295 #define CLK_MM_LVDS_PIXEL 48 301 #define CLK_MM_LVDS_PIXEL 48 296 #define CLK_MM_LVDS_CTS 49 302 #define CLK_MM_LVDS_CTS 49 297 #define CLK_MM_SMI_LARB4 50 303 #define CLK_MM_SMI_LARB4 50 298 #define CLK_MM_HDMI_HDCP 51 304 #define CLK_MM_HDMI_HDCP 51 299 #define CLK_MM_HDMI_HDCP24M 52 305 #define CLK_MM_HDMI_HDCP24M 52 300 #define CLK_MM_NR_CLK 53 306 #define CLK_MM_NR_CLK 53 301 307 302 /* VDEC_SYS */ 308 /* VDEC_SYS */ 303 309 304 #define CLK_VDEC_CKEN 1 310 #define CLK_VDEC_CKEN 1 305 #define CLK_VDEC_LARB_CKEN 2 311 #define CLK_VDEC_LARB_CKEN 2 306 #define CLK_VDEC_NR_CLK 3 312 #define CLK_VDEC_NR_CLK 3 307 313 308 /* VENC_SYS */ 314 /* VENC_SYS */ 309 315 310 #define CLK_VENC_CKE0 1 316 #define CLK_VENC_CKE0 1 311 #define CLK_VENC_CKE1 2 317 #define CLK_VENC_CKE1 2 312 #define CLK_VENC_CKE2 3 318 #define CLK_VENC_CKE2 3 313 #define CLK_VENC_CKE3 4 319 #define CLK_VENC_CKE3 4 314 #define CLK_VENC_NR_CLK 5 320 #define CLK_VENC_NR_CLK 5 315 321 316 /* VENCLT_SYS */ 322 /* VENCLT_SYS */ 317 323 318 #define CLK_VENCLT_CKE0 1 324 #define CLK_VENCLT_CKE0 1 319 #define CLK_VENCLT_CKE1 2 325 #define CLK_VENCLT_CKE1 2 320 #define CLK_VENCLT_NR_CLK 3 326 #define CLK_VENCLT_NR_CLK 3 321 327 322 #endif /* _DT_BINDINGS_CLK_MT8173_H */ 328 #endif /* _DT_BINDINGS_CLK_MT8173_H */ 323 329
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.