1*1802d0beSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 21de9b216SShunli Wang /* 31de9b216SShunli Wang * Copyright (c) 2014 MediaTek Inc. 41de9b216SShunli Wang * Author: Shunli Wang <shunli.wang@mediatek.com> 51de9b216SShunli Wang */ 61de9b216SShunli Wang 71de9b216SShunli Wang #ifndef _DT_BINDINGS_CLK_MT2701_H 81de9b216SShunli Wang #define _DT_BINDINGS_CLK_MT2701_H 91de9b216SShunli Wang 101de9b216SShunli Wang /* TOPCKGEN */ 111de9b216SShunli Wang #define CLK_TOP_SYSPLL 1 121de9b216SShunli Wang #define CLK_TOP_SYSPLL_D2 2 131de9b216SShunli Wang #define CLK_TOP_SYSPLL_D3 3 141de9b216SShunli Wang #define CLK_TOP_SYSPLL_D5 4 151de9b216SShunli Wang #define CLK_TOP_SYSPLL_D7 5 161de9b216SShunli Wang #define CLK_TOP_SYSPLL1_D2 6 171de9b216SShunli Wang #define CLK_TOP_SYSPLL1_D4 7 181de9b216SShunli Wang #define CLK_TOP_SYSPLL1_D8 8 191de9b216SShunli Wang #define CLK_TOP_SYSPLL1_D16 9 201de9b216SShunli Wang #define CLK_TOP_SYSPLL2_D2 10 211de9b216SShunli Wang #define CLK_TOP_SYSPLL2_D4 11 221de9b216SShunli Wang #define CLK_TOP_SYSPLL2_D8 12 231de9b216SShunli Wang #define CLK_TOP_SYSPLL3_D2 13 241de9b216SShunli Wang #define CLK_TOP_SYSPLL3_D4 14 251de9b216SShunli Wang #define CLK_TOP_SYSPLL4_D2 15 261de9b216SShunli Wang #define CLK_TOP_SYSPLL4_D4 16 271de9b216SShunli Wang #define CLK_TOP_UNIVPLL 17 281de9b216SShunli Wang #define CLK_TOP_UNIVPLL_D2 18 291de9b216SShunli Wang #define CLK_TOP_UNIVPLL_D3 19 301de9b216SShunli Wang #define CLK_TOP_UNIVPLL_D5 20 311de9b216SShunli Wang #define CLK_TOP_UNIVPLL_D7 21 321de9b216SShunli Wang #define CLK_TOP_UNIVPLL_D26 22 331de9b216SShunli Wang #define CLK_TOP_UNIVPLL_D52 23 341de9b216SShunli Wang #define CLK_TOP_UNIVPLL_D108 24 351de9b216SShunli Wang #define CLK_TOP_USB_PHY48M 25 361de9b216SShunli Wang #define CLK_TOP_UNIVPLL1_D2 26 371de9b216SShunli Wang #define CLK_TOP_UNIVPLL1_D4 27 381de9b216SShunli Wang #define CLK_TOP_UNIVPLL1_D8 28 391de9b216SShunli Wang #define CLK_TOP_UNIVPLL2_D2 29 401de9b216SShunli Wang #define CLK_TOP_UNIVPLL2_D4 30 411de9b216SShunli Wang #define CLK_TOP_UNIVPLL2_D8 31 421de9b216SShunli Wang #define CLK_TOP_UNIVPLL2_D16 32 431de9b216SShunli Wang #define CLK_TOP_UNIVPLL2_D32 33 441de9b216SShunli Wang #define CLK_TOP_UNIVPLL3_D2 34 451de9b216SShunli Wang #define CLK_TOP_UNIVPLL3_D4 35 461de9b216SShunli Wang #define CLK_TOP_UNIVPLL3_D8 36 471de9b216SShunli Wang #define CLK_TOP_MSDCPLL 37 481de9b216SShunli Wang #define CLK_TOP_MSDCPLL_D2 38 491de9b216SShunli Wang #define CLK_TOP_MSDCPLL_D4 39 501de9b216SShunli Wang #define CLK_TOP_MSDCPLL_D8 40 511de9b216SShunli Wang #define CLK_TOP_MMPLL 41 521de9b216SShunli Wang #define CLK_TOP_MMPLL_D2 42 531de9b216SShunli Wang #define CLK_TOP_DMPLL 43 541de9b216SShunli Wang #define CLK_TOP_DMPLL_D2 44 551de9b216SShunli Wang #define CLK_TOP_DMPLL_D4 45 561de9b216SShunli Wang #define CLK_TOP_DMPLL_X2 46 571de9b216SShunli Wang #define CLK_TOP_TVDPLL 47 581de9b216SShunli Wang #define CLK_TOP_TVDPLL_D2 48 591de9b216SShunli Wang #define CLK_TOP_TVDPLL_D4 49 601de9b216SShunli Wang #define CLK_TOP_TVD2PLL 50 611de9b216SShunli Wang #define CLK_TOP_TVD2PLL_D2 51 621de9b216SShunli Wang #define CLK_TOP_HADDS2PLL_98M 52 631de9b216SShunli Wang #define CLK_TOP_HADDS2PLL_294M 53 641de9b216SShunli Wang #define CLK_TOP_HADDS2_FB 54 651de9b216SShunli Wang #define CLK_TOP_MIPIPLL_D2 55 661de9b216SShunli Wang #define CLK_TOP_MIPIPLL_D4 56 671de9b216SShunli Wang #define CLK_TOP_HDMIPLL 57 681de9b216SShunli Wang #define CLK_TOP_HDMIPLL_D2 58 691de9b216SShunli Wang #define CLK_TOP_HDMIPLL_D3 59 701de9b216SShunli Wang #define CLK_TOP_HDMI_SCL_RX 60 711de9b216SShunli Wang #define CLK_TOP_HDMI_0_PIX340M 61 721de9b216SShunli Wang #define CLK_TOP_HDMI_0_DEEP340M 62 731de9b216SShunli Wang #define CLK_TOP_HDMI_0_PLL340M 63 741de9b216SShunli Wang #define CLK_TOP_AUD1PLL_98M 64 751de9b216SShunli Wang #define CLK_TOP_AUD2PLL_90M 65 761de9b216SShunli Wang #define CLK_TOP_AUDPLL 66 771de9b216SShunli Wang #define CLK_TOP_AUDPLL_D4 67 781de9b216SShunli Wang #define CLK_TOP_AUDPLL_D8 68 791de9b216SShunli Wang #define CLK_TOP_AUDPLL_D16 69 801de9b216SShunli Wang #define CLK_TOP_AUDPLL_D24 70 811de9b216SShunli Wang #define CLK_TOP_ETHPLL_500M 71 821de9b216SShunli Wang #define CLK_TOP_VDECPLL 72 831de9b216SShunli Wang #define CLK_TOP_VENCPLL 73 841de9b216SShunli Wang #define CLK_TOP_MIPIPLL 74 851de9b216SShunli Wang #define CLK_TOP_ARMPLL_1P3G 75 861de9b216SShunli Wang 871de9b216SShunli Wang #define CLK_TOP_MM_SEL 76 881de9b216SShunli Wang #define CLK_TOP_DDRPHYCFG_SEL 77 891de9b216SShunli Wang #define CLK_TOP_MEM_SEL 78 901de9b216SShunli Wang #define CLK_TOP_AXI_SEL 79 911de9b216SShunli Wang #define CLK_TOP_CAMTG_SEL 80 921de9b216SShunli Wang #define CLK_TOP_MFG_SEL 81 931de9b216SShunli Wang #define CLK_TOP_VDEC_SEL 82 941de9b216SShunli Wang #define CLK_TOP_PWM_SEL 83 951de9b216SShunli Wang #define CLK_TOP_MSDC30_0_SEL 84 961de9b216SShunli Wang #define CLK_TOP_USB20_SEL 85 971de9b216SShunli Wang #define CLK_TOP_SPI0_SEL 86 981de9b216SShunli Wang #define CLK_TOP_UART_SEL 87 991de9b216SShunli Wang #define CLK_TOP_AUDINTBUS_SEL 88 1001de9b216SShunli Wang #define CLK_TOP_AUDIO_SEL 89 1011de9b216SShunli Wang #define CLK_TOP_MSDC30_2_SEL 90 1021de9b216SShunli Wang #define CLK_TOP_MSDC30_1_SEL 91 1031de9b216SShunli Wang #define CLK_TOP_DPI1_SEL 92 1041de9b216SShunli Wang #define CLK_TOP_DPI0_SEL 93 1051de9b216SShunli Wang #define CLK_TOP_SCP_SEL 94 1061de9b216SShunli Wang #define CLK_TOP_PMICSPI_SEL 95 1071de9b216SShunli Wang #define CLK_TOP_APLL_SEL 96 1081de9b216SShunli Wang #define CLK_TOP_HDMI_SEL 97 1091de9b216SShunli Wang #define CLK_TOP_TVE_SEL 98 1101de9b216SShunli Wang #define CLK_TOP_EMMC_HCLK_SEL 99 1111de9b216SShunli Wang #define CLK_TOP_NFI2X_SEL 100 1121de9b216SShunli Wang #define CLK_TOP_RTC_SEL 101 1131de9b216SShunli Wang #define CLK_TOP_OSD_SEL 102 1141de9b216SShunli Wang #define CLK_TOP_NR_SEL 103 1151de9b216SShunli Wang #define CLK_TOP_DI_SEL 104 1161de9b216SShunli Wang #define CLK_TOP_FLASH_SEL 105 1171de9b216SShunli Wang #define CLK_TOP_ASM_M_SEL 106 1181de9b216SShunli Wang #define CLK_TOP_ASM_I_SEL 107 1191de9b216SShunli Wang #define CLK_TOP_INTDIR_SEL 108 1201de9b216SShunli Wang #define CLK_TOP_HDMIRX_BIST_SEL 109 1211de9b216SShunli Wang #define CLK_TOP_ETHIF_SEL 110 1221de9b216SShunli Wang #define CLK_TOP_MS_CARD_SEL 111 1231de9b216SShunli Wang #define CLK_TOP_ASM_H_SEL 112 1241de9b216SShunli Wang #define CLK_TOP_SPI1_SEL 113 1251de9b216SShunli Wang #define CLK_TOP_CMSYS_SEL 114 1261de9b216SShunli Wang #define CLK_TOP_MSDC30_3_SEL 115 1271de9b216SShunli Wang #define CLK_TOP_HDMIRX26_24_SEL 116 1281de9b216SShunli Wang #define CLK_TOP_AUD2DVD_SEL 117 1291de9b216SShunli Wang #define CLK_TOP_8BDAC_SEL 118 1301de9b216SShunli Wang #define CLK_TOP_SPI2_SEL 119 1311de9b216SShunli Wang #define CLK_TOP_AUD_MUX1_SEL 120 1321de9b216SShunli Wang #define CLK_TOP_AUD_MUX2_SEL 121 1331de9b216SShunli Wang #define CLK_TOP_AUDPLL_MUX_SEL 122 1341de9b216SShunli Wang #define CLK_TOP_AUD_K1_SRC_SEL 123 1351de9b216SShunli Wang #define CLK_TOP_AUD_K2_SRC_SEL 124 1361de9b216SShunli Wang #define CLK_TOP_AUD_K3_SRC_SEL 125 1371de9b216SShunli Wang #define CLK_TOP_AUD_K4_SRC_SEL 126 1381de9b216SShunli Wang #define CLK_TOP_AUD_K5_SRC_SEL 127 1391de9b216SShunli Wang #define CLK_TOP_AUD_K6_SRC_SEL 128 1401de9b216SShunli Wang #define CLK_TOP_PADMCLK_SEL 129 1411de9b216SShunli Wang #define CLK_TOP_AUD_EXTCK1_DIV 130 1421de9b216SShunli Wang #define CLK_TOP_AUD_EXTCK2_DIV 131 1431de9b216SShunli Wang #define CLK_TOP_AUD_MUX1_DIV 132 1441de9b216SShunli Wang #define CLK_TOP_AUD_MUX2_DIV 133 1451de9b216SShunli Wang #define CLK_TOP_AUD_K1_SRC_DIV 134 1461de9b216SShunli Wang #define CLK_TOP_AUD_K2_SRC_DIV 135 1471de9b216SShunli Wang #define CLK_TOP_AUD_K3_SRC_DIV 136 1481de9b216SShunli Wang #define CLK_TOP_AUD_K4_SRC_DIV 137 1491de9b216SShunli Wang #define CLK_TOP_AUD_K5_SRC_DIV 138 1501de9b216SShunli Wang #define CLK_TOP_AUD_K6_SRC_DIV 139 1511de9b216SShunli Wang #define CLK_TOP_AUD_I2S1_MCLK 140 1521de9b216SShunli Wang #define CLK_TOP_AUD_I2S2_MCLK 141 1531de9b216SShunli Wang #define CLK_TOP_AUD_I2S3_MCLK 142 1541de9b216SShunli Wang #define CLK_TOP_AUD_I2S4_MCLK 143 1551de9b216SShunli Wang #define CLK_TOP_AUD_I2S5_MCLK 144 1561de9b216SShunli Wang #define CLK_TOP_AUD_I2S6_MCLK 145 1571de9b216SShunli Wang #define CLK_TOP_AUD_48K_TIMING 146 1581de9b216SShunli Wang #define CLK_TOP_AUD_44K_TIMING 147 1591de9b216SShunli Wang 1601de9b216SShunli Wang #define CLK_TOP_32K_INTERNAL 148 1611de9b216SShunli Wang #define CLK_TOP_32K_EXTERNAL 149 1621de9b216SShunli Wang #define CLK_TOP_CLK26M_D8 150 1631de9b216SShunli Wang #define CLK_TOP_8BDAC 151 1641de9b216SShunli Wang #define CLK_TOP_WBG_DIG_416M 152 1651de9b216SShunli Wang #define CLK_TOP_DPI 153 166bf61099aSRyder Lee #define CLK_TOP_DSI0_LNTC_DSI 154 167bf61099aSRyder Lee #define CLK_TOP_AUD_EXT1 155 168bf61099aSRyder Lee #define CLK_TOP_AUD_EXT2 156 169bf61099aSRyder Lee #define CLK_TOP_NFI1X_PAD 157 170bf61099aSRyder Lee #define CLK_TOP_AXISEL_D4 158 171bf61099aSRyder Lee #define CLK_TOP_NR 159 1721de9b216SShunli Wang 1731de9b216SShunli Wang /* APMIXEDSYS */ 1741de9b216SShunli Wang 1751de9b216SShunli Wang #define CLK_APMIXED_ARMPLL 1 1761de9b216SShunli Wang #define CLK_APMIXED_MAINPLL 2 1771de9b216SShunli Wang #define CLK_APMIXED_UNIVPLL 3 1781de9b216SShunli Wang #define CLK_APMIXED_MMPLL 4 1791de9b216SShunli Wang #define CLK_APMIXED_MSDCPLL 5 1801de9b216SShunli Wang #define CLK_APMIXED_TVDPLL 6 1811de9b216SShunli Wang #define CLK_APMIXED_AUD1PLL 7 1821de9b216SShunli Wang #define CLK_APMIXED_TRGPLL 8 1831de9b216SShunli Wang #define CLK_APMIXED_ETHPLL 9 1841de9b216SShunli Wang #define CLK_APMIXED_VDECPLL 10 1851de9b216SShunli Wang #define CLK_APMIXED_HADDS2PLL 11 1861de9b216SShunli Wang #define CLK_APMIXED_AUD2PLL 12 1871de9b216SShunli Wang #define CLK_APMIXED_TVD2PLL 13 188bf61099aSRyder Lee #define CLK_APMIXED_HDMI_REF 14 189bf61099aSRyder Lee #define CLK_APMIXED_NR 15 1901de9b216SShunli Wang 1911de9b216SShunli Wang /* DDRPHY */ 1921de9b216SShunli Wang 1931de9b216SShunli Wang #define CLK_DDRPHY_VENCPLL 1 1941de9b216SShunli Wang #define CLK_DDRPHY_NR 2 1951de9b216SShunli Wang 1961de9b216SShunli Wang /* INFRACFG */ 1971de9b216SShunli Wang 1981de9b216SShunli Wang #define CLK_INFRA_DBG 1 1991de9b216SShunli Wang #define CLK_INFRA_SMI 2 2001de9b216SShunli Wang #define CLK_INFRA_QAXI_CM4 3 2011de9b216SShunli Wang #define CLK_INFRA_AUD_SPLIN_B 4 2021de9b216SShunli Wang #define CLK_INFRA_AUDIO 5 2031de9b216SShunli Wang #define CLK_INFRA_EFUSE 6 2041de9b216SShunli Wang #define CLK_INFRA_L2C_SRAM 7 2051de9b216SShunli Wang #define CLK_INFRA_M4U 8 2061de9b216SShunli Wang #define CLK_INFRA_CONNMCU 9 2071de9b216SShunli Wang #define CLK_INFRA_TRNG 10 2081de9b216SShunli Wang #define CLK_INFRA_RAMBUFIF 11 2091de9b216SShunli Wang #define CLK_INFRA_CPUM 12 2101de9b216SShunli Wang #define CLK_INFRA_KP 13 2111de9b216SShunli Wang #define CLK_INFRA_CEC 14 2121de9b216SShunli Wang #define CLK_INFRA_IRRX 15 2131de9b216SShunli Wang #define CLK_INFRA_PMICSPI 16 2141de9b216SShunli Wang #define CLK_INFRA_PMICWRAP 17 2151de9b216SShunli Wang #define CLK_INFRA_DDCCI 18 2161de9b216SShunli Wang #define CLK_INFRA_CLK_13M 19 21743ed50eeSSean Wang #define CLK_INFRA_CPUSEL 20 21843ed50eeSSean Wang #define CLK_INFRA_NR 21 2191de9b216SShunli Wang 2201de9b216SShunli Wang /* PERICFG */ 2211de9b216SShunli Wang 2221de9b216SShunli Wang #define CLK_PERI_NFI 1 2231de9b216SShunli Wang #define CLK_PERI_THERM 2 2241de9b216SShunli Wang #define CLK_PERI_PWM1 3 2251de9b216SShunli Wang #define CLK_PERI_PWM2 4 2261de9b216SShunli Wang #define CLK_PERI_PWM3 5 2271de9b216SShunli Wang #define CLK_PERI_PWM4 6 2281de9b216SShunli Wang #define CLK_PERI_PWM5 7 2291de9b216SShunli Wang #define CLK_PERI_PWM6 8 2301de9b216SShunli Wang #define CLK_PERI_PWM7 9 2311de9b216SShunli Wang #define CLK_PERI_PWM 10 2321de9b216SShunli Wang #define CLK_PERI_USB0 11 2331de9b216SShunli Wang #define CLK_PERI_USB1 12 2341de9b216SShunli Wang #define CLK_PERI_AP_DMA 13 2351de9b216SShunli Wang #define CLK_PERI_MSDC30_0 14 2361de9b216SShunli Wang #define CLK_PERI_MSDC30_1 15 2371de9b216SShunli Wang #define CLK_PERI_MSDC30_2 16 2381de9b216SShunli Wang #define CLK_PERI_MSDC30_3 17 2391de9b216SShunli Wang #define CLK_PERI_MSDC50_3 18 2401de9b216SShunli Wang #define CLK_PERI_NLI 19 2411de9b216SShunli Wang #define CLK_PERI_UART0 20 2421de9b216SShunli Wang #define CLK_PERI_UART1 21 2431de9b216SShunli Wang #define CLK_PERI_UART2 22 2441de9b216SShunli Wang #define CLK_PERI_UART3 23 2451de9b216SShunli Wang #define CLK_PERI_BTIF 24 2461de9b216SShunli Wang #define CLK_PERI_I2C0 25 2471de9b216SShunli Wang #define CLK_PERI_I2C1 26 2481de9b216SShunli Wang #define CLK_PERI_I2C2 27 2491de9b216SShunli Wang #define CLK_PERI_I2C3 28 2501de9b216SShunli Wang #define CLK_PERI_AUXADC 29 2511de9b216SShunli Wang #define CLK_PERI_SPI0 30 2521de9b216SShunli Wang #define CLK_PERI_ETH 31 2531de9b216SShunli Wang #define CLK_PERI_USB0_MCU 32 2541de9b216SShunli Wang 2551de9b216SShunli Wang #define CLK_PERI_USB1_MCU 33 2561de9b216SShunli Wang #define CLK_PERI_USB_SLV 34 2571de9b216SShunli Wang #define CLK_PERI_GCPU 35 2581de9b216SShunli Wang #define CLK_PERI_NFI_ECC 36 2591de9b216SShunli Wang #define CLK_PERI_NFI_PAD 37 2601de9b216SShunli Wang #define CLK_PERI_FLASH 38 2611de9b216SShunli Wang #define CLK_PERI_HOST89_INT 39 2621de9b216SShunli Wang #define CLK_PERI_HOST89_SPI 40 2631de9b216SShunli Wang #define CLK_PERI_HOST89_DVD 41 2641de9b216SShunli Wang #define CLK_PERI_SPI1 42 2651de9b216SShunli Wang #define CLK_PERI_SPI2 43 2661de9b216SShunli Wang #define CLK_PERI_FCI 44 2671de9b216SShunli Wang 2681de9b216SShunli Wang #define CLK_PERI_UART0_SEL 45 2691de9b216SShunli Wang #define CLK_PERI_UART1_SEL 46 2701de9b216SShunli Wang #define CLK_PERI_UART2_SEL 47 2711de9b216SShunli Wang #define CLK_PERI_UART3_SEL 48 2721de9b216SShunli Wang #define CLK_PERI_NR 49 2731de9b216SShunli Wang 2741de9b216SShunli Wang /* AUDIO */ 2751de9b216SShunli Wang 2761de9b216SShunli Wang #define CLK_AUD_AFE 1 2771de9b216SShunli Wang #define CLK_AUD_LRCK_DETECT 2 2781de9b216SShunli Wang #define CLK_AUD_I2S 3 2791de9b216SShunli Wang #define CLK_AUD_APLL_TUNER 4 2801de9b216SShunli Wang #define CLK_AUD_HDMI 5 2811de9b216SShunli Wang #define CLK_AUD_SPDF 6 2821de9b216SShunli Wang #define CLK_AUD_SPDF2 7 2831de9b216SShunli Wang #define CLK_AUD_APLL 8 2841de9b216SShunli Wang #define CLK_AUD_TML 9 2851de9b216SShunli Wang #define CLK_AUD_AHB_IDLE_EXT 10 2861de9b216SShunli Wang #define CLK_AUD_AHB_IDLE_INT 11 2871de9b216SShunli Wang 2881de9b216SShunli Wang #define CLK_AUD_I2SIN1 12 2891de9b216SShunli Wang #define CLK_AUD_I2SIN2 13 2901de9b216SShunli Wang #define CLK_AUD_I2SIN3 14 2911de9b216SShunli Wang #define CLK_AUD_I2SIN4 15 2921de9b216SShunli Wang #define CLK_AUD_I2SIN5 16 2931de9b216SShunli Wang #define CLK_AUD_I2SIN6 17 2941de9b216SShunli Wang #define CLK_AUD_I2SO1 18 2951de9b216SShunli Wang #define CLK_AUD_I2SO2 19 2961de9b216SShunli Wang #define CLK_AUD_I2SO3 20 2971de9b216SShunli Wang #define CLK_AUD_I2SO4 21 2981de9b216SShunli Wang #define CLK_AUD_I2SO5 22 2991de9b216SShunli Wang #define CLK_AUD_I2SO6 23 3001de9b216SShunli Wang #define CLK_AUD_ASRCI1 24 3011de9b216SShunli Wang #define CLK_AUD_ASRCI2 25 3021de9b216SShunli Wang #define CLK_AUD_ASRCO1 26 3031de9b216SShunli Wang #define CLK_AUD_ASRCO2 27 3041de9b216SShunli Wang #define CLK_AUD_ASRC11 28 3051de9b216SShunli Wang #define CLK_AUD_ASRC12 29 3061de9b216SShunli Wang #define CLK_AUD_HDMIRX 30 3071de9b216SShunli Wang #define CLK_AUD_INTDIR 31 3081de9b216SShunli Wang #define CLK_AUD_A1SYS 32 3091de9b216SShunli Wang #define CLK_AUD_A2SYS 33 3101de9b216SShunli Wang #define CLK_AUD_AFE_CONN 34 3111de9b216SShunli Wang #define CLK_AUD_AFE_PCMIF 35 3121de9b216SShunli Wang #define CLK_AUD_AFE_MRGIF 36 3131de9b216SShunli Wang 3141de9b216SShunli Wang #define CLK_AUD_MMIF_UL1 37 3151de9b216SShunli Wang #define CLK_AUD_MMIF_UL2 38 3161de9b216SShunli Wang #define CLK_AUD_MMIF_UL3 39 3171de9b216SShunli Wang #define CLK_AUD_MMIF_UL4 40 3181de9b216SShunli Wang #define CLK_AUD_MMIF_UL5 41 3191de9b216SShunli Wang #define CLK_AUD_MMIF_UL6 42 3201de9b216SShunli Wang #define CLK_AUD_MMIF_DL1 43 3211de9b216SShunli Wang #define CLK_AUD_MMIF_DL2 44 3221de9b216SShunli Wang #define CLK_AUD_MMIF_DL3 45 3231de9b216SShunli Wang #define CLK_AUD_MMIF_DL4 46 3241de9b216SShunli Wang #define CLK_AUD_MMIF_DL5 47 3251de9b216SShunli Wang #define CLK_AUD_MMIF_DL6 48 3261de9b216SShunli Wang #define CLK_AUD_MMIF_DLMCH 49 3271de9b216SShunli Wang #define CLK_AUD_MMIF_ARB1 50 3281de9b216SShunli Wang #define CLK_AUD_MMIF_AWB1 51 3291de9b216SShunli Wang #define CLK_AUD_MMIF_AWB2 52 3301de9b216SShunli Wang #define CLK_AUD_MMIF_DAI 53 3311de9b216SShunli Wang 3321de9b216SShunli Wang #define CLK_AUD_DMIC1 54 3331de9b216SShunli Wang #define CLK_AUD_DMIC2 55 3341de9b216SShunli Wang #define CLK_AUD_ASRCI3 56 3351de9b216SShunli Wang #define CLK_AUD_ASRCI4 57 3361de9b216SShunli Wang #define CLK_AUD_ASRCI5 58 3371de9b216SShunli Wang #define CLK_AUD_ASRCI6 59 3381de9b216SShunli Wang #define CLK_AUD_ASRCO3 60 3391de9b216SShunli Wang #define CLK_AUD_ASRCO4 61 3401de9b216SShunli Wang #define CLK_AUD_ASRCO5 62 3411de9b216SShunli Wang #define CLK_AUD_ASRCO6 63 3421de9b216SShunli Wang #define CLK_AUD_MEM_ASRC1 64 3431de9b216SShunli Wang #define CLK_AUD_MEM_ASRC2 65 3441de9b216SShunli Wang #define CLK_AUD_MEM_ASRC3 66 3451de9b216SShunli Wang #define CLK_AUD_MEM_ASRC4 67 3461de9b216SShunli Wang #define CLK_AUD_MEM_ASRC5 68 3471de9b216SShunli Wang #define CLK_AUD_DSD_ENC 69 3481de9b216SShunli Wang #define CLK_AUD_ASRC_BRG 70 3491de9b216SShunli Wang #define CLK_AUD_NR 71 3501de9b216SShunli Wang 3511de9b216SShunli Wang /* MMSYS */ 3521de9b216SShunli Wang 3531de9b216SShunli Wang #define CLK_MM_SMI_COMMON 1 3541de9b216SShunli Wang #define CLK_MM_SMI_LARB0 2 3551de9b216SShunli Wang #define CLK_MM_CMDQ 3 3561de9b216SShunli Wang #define CLK_MM_MUTEX 4 3571de9b216SShunli Wang #define CLK_MM_DISP_COLOR 5 3581de9b216SShunli Wang #define CLK_MM_DISP_BLS 6 3591de9b216SShunli Wang #define CLK_MM_DISP_WDMA 7 3601de9b216SShunli Wang #define CLK_MM_DISP_RDMA 8 3611de9b216SShunli Wang #define CLK_MM_DISP_OVL 9 3621de9b216SShunli Wang #define CLK_MM_MDP_TDSHP 10 3631de9b216SShunli Wang #define CLK_MM_MDP_WROT 11 3641de9b216SShunli Wang #define CLK_MM_MDP_WDMA 12 3651de9b216SShunli Wang #define CLK_MM_MDP_RSZ1 13 3661de9b216SShunli Wang #define CLK_MM_MDP_RSZ0 14 3671de9b216SShunli Wang #define CLK_MM_MDP_RDMA 15 3681de9b216SShunli Wang #define CLK_MM_MDP_BLS_26M 16 3691de9b216SShunli Wang #define CLK_MM_CAM_MDP 17 3701de9b216SShunli Wang #define CLK_MM_FAKE_ENG 18 3711de9b216SShunli Wang #define CLK_MM_MUTEX_32K 19 3721de9b216SShunli Wang #define CLK_MM_DISP_RDMA1 20 3731de9b216SShunli Wang #define CLK_MM_DISP_UFOE 21 3741de9b216SShunli Wang 3751de9b216SShunli Wang #define CLK_MM_DSI_ENGINE 22 3761de9b216SShunli Wang #define CLK_MM_DSI_DIG 23 3771de9b216SShunli Wang #define CLK_MM_DPI_DIGL 24 3781de9b216SShunli Wang #define CLK_MM_DPI_ENGINE 25 3791de9b216SShunli Wang #define CLK_MM_DPI1_DIGL 26 3801de9b216SShunli Wang #define CLK_MM_DPI1_ENGINE 27 3811de9b216SShunli Wang #define CLK_MM_TVE_OUTPUT 28 3821de9b216SShunli Wang #define CLK_MM_TVE_INPUT 29 3831de9b216SShunli Wang #define CLK_MM_HDMI_PIXEL 30 3841de9b216SShunli Wang #define CLK_MM_HDMI_PLL 31 3851de9b216SShunli Wang #define CLK_MM_HDMI_AUDIO 32 3861de9b216SShunli Wang #define CLK_MM_HDMI_SPDIF 33 3871de9b216SShunli Wang #define CLK_MM_TVE_FMM 34 3881de9b216SShunli Wang #define CLK_MM_NR 35 3891de9b216SShunli Wang 3901de9b216SShunli Wang /* IMGSYS */ 3911de9b216SShunli Wang 3921de9b216SShunli Wang #define CLK_IMG_SMI_COMM 1 3931de9b216SShunli Wang #define CLK_IMG_RESZ 2 3941de9b216SShunli Wang #define CLK_IMG_JPGDEC_SMI 3 3951de9b216SShunli Wang #define CLK_IMG_JPGDEC 4 3961de9b216SShunli Wang #define CLK_IMG_VENC_LT 5 3971de9b216SShunli Wang #define CLK_IMG_VENC 6 3981de9b216SShunli Wang #define CLK_IMG_NR 7 3991de9b216SShunli Wang 4001de9b216SShunli Wang /* VDEC */ 4011de9b216SShunli Wang 4021de9b216SShunli Wang #define CLK_VDEC_CKGEN 1 4031de9b216SShunli Wang #define CLK_VDEC_LARB 2 4041de9b216SShunli Wang #define CLK_VDEC_NR 3 4051de9b216SShunli Wang 4061de9b216SShunli Wang /* HIFSYS */ 4071de9b216SShunli Wang 4081de9b216SShunli Wang #define CLK_HIFSYS_USB0PHY 1 4091de9b216SShunli Wang #define CLK_HIFSYS_USB1PHY 2 4101de9b216SShunli Wang #define CLK_HIFSYS_PCIE0 3 4111de9b216SShunli Wang #define CLK_HIFSYS_PCIE1 4 4121de9b216SShunli Wang #define CLK_HIFSYS_PCIE2 5 4131de9b216SShunli Wang #define CLK_HIFSYS_NR 6 4141de9b216SShunli Wang 4151de9b216SShunli Wang /* ETHSYS */ 4161de9b216SShunli Wang #define CLK_ETHSYS_HSDMA 1 4171de9b216SShunli Wang #define CLK_ETHSYS_ESW 2 4181de9b216SShunli Wang #define CLK_ETHSYS_GP2 3 4191de9b216SShunli Wang #define CLK_ETHSYS_GP1 4 4201de9b216SShunli Wang #define CLK_ETHSYS_PCM 5 4211de9b216SShunli Wang #define CLK_ETHSYS_GDMA 6 4221de9b216SShunli Wang #define CLK_ETHSYS_I2S 7 4231de9b216SShunli Wang #define CLK_ETHSYS_CRYPTO 8 4241de9b216SShunli Wang #define CLK_ETHSYS_NR 9 4251de9b216SShunli Wang 426aa9bb8d1SSean Wang /* G3DSYS */ 427aa9bb8d1SSean Wang #define CLK_G3DSYS_CORE 1 428aa9bb8d1SSean Wang #define CLK_G3DSYS_NR 2 429aa9bb8d1SSean Wang 4301de9b216SShunli Wang /* BDP */ 4311de9b216SShunli Wang 4321de9b216SShunli Wang #define CLK_BDP_BRG_BA 1 4331de9b216SShunli Wang #define CLK_BDP_BRG_DRAM 2 4341de9b216SShunli Wang #define CLK_BDP_LARB_DRAM 3 4351de9b216SShunli Wang #define CLK_BDP_WR_VDI_PXL 4 4361de9b216SShunli Wang #define CLK_BDP_WR_VDI_DRAM 5 4371de9b216SShunli Wang #define CLK_BDP_WR_B 6 4381de9b216SShunli Wang #define CLK_BDP_DGI_IN 7 4391de9b216SShunli Wang #define CLK_BDP_DGI_OUT 8 4401de9b216SShunli Wang #define CLK_BDP_FMT_MAST_27 9 4411de9b216SShunli Wang #define CLK_BDP_FMT_B 10 4421de9b216SShunli Wang #define CLK_BDP_OSD_B 11 4431de9b216SShunli Wang #define CLK_BDP_OSD_DRAM 12 4441de9b216SShunli Wang #define CLK_BDP_OSD_AGENT 13 4451de9b216SShunli Wang #define CLK_BDP_OSD_PXL 14 4461de9b216SShunli Wang #define CLK_BDP_RLE_B 15 4471de9b216SShunli Wang #define CLK_BDP_RLE_AGENT 16 4481de9b216SShunli Wang #define CLK_BDP_RLE_DRAM 17 4491de9b216SShunli Wang #define CLK_BDP_F27M 18 4501de9b216SShunli Wang #define CLK_BDP_F27M_VDOUT 19 4511de9b216SShunli Wang #define CLK_BDP_F27_74_74 20 4521de9b216SShunli Wang #define CLK_BDP_F2FS 21 4531de9b216SShunli Wang #define CLK_BDP_F2FS74_148 22 4541de9b216SShunli Wang #define CLK_BDP_FB 23 4551de9b216SShunli Wang #define CLK_BDP_VDO_DRAM 24 4561de9b216SShunli Wang #define CLK_BDP_VDO_2FS 25 4571de9b216SShunli Wang #define CLK_BDP_VDO_B 26 4581de9b216SShunli Wang #define CLK_BDP_WR_DI_PXL 27 4591de9b216SShunli Wang #define CLK_BDP_WR_DI_DRAM 28 4601de9b216SShunli Wang #define CLK_BDP_WR_DI_B 29 4611de9b216SShunli Wang #define CLK_BDP_NR_PXL 30 4621de9b216SShunli Wang #define CLK_BDP_NR_DRAM 31 4631de9b216SShunli Wang #define CLK_BDP_NR_B 32 4641de9b216SShunli Wang 4651de9b216SShunli Wang #define CLK_BDP_RX_F 33 4661de9b216SShunli Wang #define CLK_BDP_RX_X 34 4671de9b216SShunli Wang #define CLK_BDP_RXPDT 35 4681de9b216SShunli Wang #define CLK_BDP_RX_CSCL_N 36 4691de9b216SShunli Wang #define CLK_BDP_RX_CSCL 37 4701de9b216SShunli Wang #define CLK_BDP_RX_DDCSCL_N 38 4711de9b216SShunli Wang #define CLK_BDP_RX_DDCSCL 39 4721de9b216SShunli Wang #define CLK_BDP_RX_VCO 40 4731de9b216SShunli Wang #define CLK_BDP_RX_DP 41 4741de9b216SShunli Wang #define CLK_BDP_RX_P 42 4751de9b216SShunli Wang #define CLK_BDP_RX_M 43 4761de9b216SShunli Wang #define CLK_BDP_RX_PLL 44 4771de9b216SShunli Wang #define CLK_BDP_BRG_RT_B 45 4781de9b216SShunli Wang #define CLK_BDP_BRG_RT_DRAM 46 4791de9b216SShunli Wang #define CLK_BDP_LARBRT_DRAM 47 4801de9b216SShunli Wang #define CLK_BDP_TMDS_SYN 48 4811de9b216SShunli Wang #define CLK_BDP_HDMI_MON 49 4821de9b216SShunli Wang #define CLK_BDP_NR 50 4831de9b216SShunli Wang 4841de9b216SShunli Wang #endif /* _DT_BINDINGS_CLK_MT2701_H */ 485