162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR MIT */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright 2022 Emil Renner Berthing <kernel@esmil.dk> 462306a36Sopenharmony_ci * Copyright 2022 StarFive Technology Co., Ltd. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_STARFIVE_JH7110_CRG_H__ 862306a36Sopenharmony_ci#define __DT_BINDINGS_CLOCK_STARFIVE_JH7110_CRG_H__ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* PLL clocks */ 1162306a36Sopenharmony_ci#define JH7110_PLLCLK_PLL0_OUT 0 1262306a36Sopenharmony_ci#define JH7110_PLLCLK_PLL1_OUT 1 1362306a36Sopenharmony_ci#define JH7110_PLLCLK_PLL2_OUT 2 1462306a36Sopenharmony_ci#define JH7110_PLLCLK_END 3 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci/* SYSCRG clocks */ 1762306a36Sopenharmony_ci#define JH7110_SYSCLK_CPU_ROOT 0 1862306a36Sopenharmony_ci#define JH7110_SYSCLK_CPU_CORE 1 1962306a36Sopenharmony_ci#define JH7110_SYSCLK_CPU_BUS 2 2062306a36Sopenharmony_ci#define JH7110_SYSCLK_GPU_ROOT 3 2162306a36Sopenharmony_ci#define JH7110_SYSCLK_PERH_ROOT 4 2262306a36Sopenharmony_ci#define JH7110_SYSCLK_BUS_ROOT 5 2362306a36Sopenharmony_ci#define JH7110_SYSCLK_NOCSTG_BUS 6 2462306a36Sopenharmony_ci#define JH7110_SYSCLK_AXI_CFG0 7 2562306a36Sopenharmony_ci#define JH7110_SYSCLK_STG_AXIAHB 8 2662306a36Sopenharmony_ci#define JH7110_SYSCLK_AHB0 9 2762306a36Sopenharmony_ci#define JH7110_SYSCLK_AHB1 10 2862306a36Sopenharmony_ci#define JH7110_SYSCLK_APB_BUS 11 2962306a36Sopenharmony_ci#define JH7110_SYSCLK_APB0 12 3062306a36Sopenharmony_ci#define JH7110_SYSCLK_PLL0_DIV2 13 3162306a36Sopenharmony_ci#define JH7110_SYSCLK_PLL1_DIV2 14 3262306a36Sopenharmony_ci#define JH7110_SYSCLK_PLL2_DIV2 15 3362306a36Sopenharmony_ci#define JH7110_SYSCLK_AUDIO_ROOT 16 3462306a36Sopenharmony_ci#define JH7110_SYSCLK_MCLK_INNER 17 3562306a36Sopenharmony_ci#define JH7110_SYSCLK_MCLK 18 3662306a36Sopenharmony_ci#define JH7110_SYSCLK_MCLK_OUT 19 3762306a36Sopenharmony_ci#define JH7110_SYSCLK_ISP_2X 20 3862306a36Sopenharmony_ci#define JH7110_SYSCLK_ISP_AXI 21 3962306a36Sopenharmony_ci#define JH7110_SYSCLK_GCLK0 22 4062306a36Sopenharmony_ci#define JH7110_SYSCLK_GCLK1 23 4162306a36Sopenharmony_ci#define JH7110_SYSCLK_GCLK2 24 4262306a36Sopenharmony_ci#define JH7110_SYSCLK_CORE 25 4362306a36Sopenharmony_ci#define JH7110_SYSCLK_CORE1 26 4462306a36Sopenharmony_ci#define JH7110_SYSCLK_CORE2 27 4562306a36Sopenharmony_ci#define JH7110_SYSCLK_CORE3 28 4662306a36Sopenharmony_ci#define JH7110_SYSCLK_CORE4 29 4762306a36Sopenharmony_ci#define JH7110_SYSCLK_DEBUG 30 4862306a36Sopenharmony_ci#define JH7110_SYSCLK_RTC_TOGGLE 31 4962306a36Sopenharmony_ci#define JH7110_SYSCLK_TRACE0 32 5062306a36Sopenharmony_ci#define JH7110_SYSCLK_TRACE1 33 5162306a36Sopenharmony_ci#define JH7110_SYSCLK_TRACE2 34 5262306a36Sopenharmony_ci#define JH7110_SYSCLK_TRACE3 35 5362306a36Sopenharmony_ci#define JH7110_SYSCLK_TRACE4 36 5462306a36Sopenharmony_ci#define JH7110_SYSCLK_TRACE_COM 37 5562306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_CPU_AXI 38 5662306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_AXICFG0_AXI 39 5762306a36Sopenharmony_ci#define JH7110_SYSCLK_OSC_DIV2 40 5862306a36Sopenharmony_ci#define JH7110_SYSCLK_PLL1_DIV4 41 5962306a36Sopenharmony_ci#define JH7110_SYSCLK_PLL1_DIV8 42 6062306a36Sopenharmony_ci#define JH7110_SYSCLK_DDR_BUS 43 6162306a36Sopenharmony_ci#define JH7110_SYSCLK_DDR_AXI 44 6262306a36Sopenharmony_ci#define JH7110_SYSCLK_GPU_CORE 45 6362306a36Sopenharmony_ci#define JH7110_SYSCLK_GPU_CORE_CLK 46 6462306a36Sopenharmony_ci#define JH7110_SYSCLK_GPU_SYS_CLK 47 6562306a36Sopenharmony_ci#define JH7110_SYSCLK_GPU_APB 48 6662306a36Sopenharmony_ci#define JH7110_SYSCLK_GPU_RTC_TOGGLE 49 6762306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_GPU_AXI 50 6862306a36Sopenharmony_ci#define JH7110_SYSCLK_ISP_TOP_CORE 51 6962306a36Sopenharmony_ci#define JH7110_SYSCLK_ISP_TOP_AXI 52 7062306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_ISP_AXI 53 7162306a36Sopenharmony_ci#define JH7110_SYSCLK_HIFI4_CORE 54 7262306a36Sopenharmony_ci#define JH7110_SYSCLK_HIFI4_AXI 55 7362306a36Sopenharmony_ci#define JH7110_SYSCLK_AXI_CFG1_MAIN 56 7462306a36Sopenharmony_ci#define JH7110_SYSCLK_AXI_CFG1_AHB 57 7562306a36Sopenharmony_ci#define JH7110_SYSCLK_VOUT_SRC 58 7662306a36Sopenharmony_ci#define JH7110_SYSCLK_VOUT_AXI 59 7762306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_DISP_AXI 60 7862306a36Sopenharmony_ci#define JH7110_SYSCLK_VOUT_TOP_AHB 61 7962306a36Sopenharmony_ci#define JH7110_SYSCLK_VOUT_TOP_AXI 62 8062306a36Sopenharmony_ci#define JH7110_SYSCLK_VOUT_TOP_HDMITX0_MCLK 63 8162306a36Sopenharmony_ci#define JH7110_SYSCLK_VOUT_TOP_MIPIPHY_REF 64 8262306a36Sopenharmony_ci#define JH7110_SYSCLK_JPEGC_AXI 65 8362306a36Sopenharmony_ci#define JH7110_SYSCLK_CODAJ12_AXI 66 8462306a36Sopenharmony_ci#define JH7110_SYSCLK_CODAJ12_CORE 67 8562306a36Sopenharmony_ci#define JH7110_SYSCLK_CODAJ12_APB 68 8662306a36Sopenharmony_ci#define JH7110_SYSCLK_VDEC_AXI 69 8762306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE511_AXI 70 8862306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE511_BPU 71 8962306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE511_VCE 72 9062306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE511_APB 73 9162306a36Sopenharmony_ci#define JH7110_SYSCLK_VDEC_JPG 74 9262306a36Sopenharmony_ci#define JH7110_SYSCLK_VDEC_MAIN 75 9362306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_VDEC_AXI 76 9462306a36Sopenharmony_ci#define JH7110_SYSCLK_VENC_AXI 77 9562306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE420L_AXI 78 9662306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE420L_BPU 79 9762306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE420L_VCE 80 9862306a36Sopenharmony_ci#define JH7110_SYSCLK_WAVE420L_APB 81 9962306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_VENC_AXI 82 10062306a36Sopenharmony_ci#define JH7110_SYSCLK_AXI_CFG0_MAIN_DIV 83 10162306a36Sopenharmony_ci#define JH7110_SYSCLK_AXI_CFG0_MAIN 84 10262306a36Sopenharmony_ci#define JH7110_SYSCLK_AXI_CFG0_HIFI4 85 10362306a36Sopenharmony_ci#define JH7110_SYSCLK_AXIMEM2_AXI 86 10462306a36Sopenharmony_ci#define JH7110_SYSCLK_QSPI_AHB 87 10562306a36Sopenharmony_ci#define JH7110_SYSCLK_QSPI_APB 88 10662306a36Sopenharmony_ci#define JH7110_SYSCLK_QSPI_REF_SRC 89 10762306a36Sopenharmony_ci#define JH7110_SYSCLK_QSPI_REF 90 10862306a36Sopenharmony_ci#define JH7110_SYSCLK_SDIO0_AHB 91 10962306a36Sopenharmony_ci#define JH7110_SYSCLK_SDIO1_AHB 92 11062306a36Sopenharmony_ci#define JH7110_SYSCLK_SDIO0_SDCARD 93 11162306a36Sopenharmony_ci#define JH7110_SYSCLK_SDIO1_SDCARD 94 11262306a36Sopenharmony_ci#define JH7110_SYSCLK_USB_125M 95 11362306a36Sopenharmony_ci#define JH7110_SYSCLK_NOC_BUS_STG_AXI 96 11462306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_AHB 97 11562306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_AXI 98 11662306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC_SRC 99 11762306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_GTXCLK 100 11862306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_RMII_RTX 101 11962306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_PTP 102 12062306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_RX 103 12162306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_RX_INV 104 12262306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_TX 105 12362306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_TX_INV 106 12462306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC1_GTXC 107 12562306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC0_GTXCLK 108 12662306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC0_PTP 109 12762306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC_PHY 110 12862306a36Sopenharmony_ci#define JH7110_SYSCLK_GMAC0_GTXC 111 12962306a36Sopenharmony_ci#define JH7110_SYSCLK_IOMUX_APB 112 13062306a36Sopenharmony_ci#define JH7110_SYSCLK_MAILBOX_APB 113 13162306a36Sopenharmony_ci#define JH7110_SYSCLK_INT_CTRL_APB 114 13262306a36Sopenharmony_ci#define JH7110_SYSCLK_CAN0_APB 115 13362306a36Sopenharmony_ci#define JH7110_SYSCLK_CAN0_TIMER 116 13462306a36Sopenharmony_ci#define JH7110_SYSCLK_CAN0_CAN 117 13562306a36Sopenharmony_ci#define JH7110_SYSCLK_CAN1_APB 118 13662306a36Sopenharmony_ci#define JH7110_SYSCLK_CAN1_TIMER 119 13762306a36Sopenharmony_ci#define JH7110_SYSCLK_CAN1_CAN 120 13862306a36Sopenharmony_ci#define JH7110_SYSCLK_PWM_APB 121 13962306a36Sopenharmony_ci#define JH7110_SYSCLK_WDT_APB 122 14062306a36Sopenharmony_ci#define JH7110_SYSCLK_WDT_CORE 123 14162306a36Sopenharmony_ci#define JH7110_SYSCLK_TIMER_APB 124 14262306a36Sopenharmony_ci#define JH7110_SYSCLK_TIMER0 125 14362306a36Sopenharmony_ci#define JH7110_SYSCLK_TIMER1 126 14462306a36Sopenharmony_ci#define JH7110_SYSCLK_TIMER2 127 14562306a36Sopenharmony_ci#define JH7110_SYSCLK_TIMER3 128 14662306a36Sopenharmony_ci#define JH7110_SYSCLK_TEMP_APB 129 14762306a36Sopenharmony_ci#define JH7110_SYSCLK_TEMP_CORE 130 14862306a36Sopenharmony_ci#define JH7110_SYSCLK_SPI0_APB 131 14962306a36Sopenharmony_ci#define JH7110_SYSCLK_SPI1_APB 132 15062306a36Sopenharmony_ci#define JH7110_SYSCLK_SPI2_APB 133 15162306a36Sopenharmony_ci#define JH7110_SYSCLK_SPI3_APB 134 15262306a36Sopenharmony_ci#define JH7110_SYSCLK_SPI4_APB 135 15362306a36Sopenharmony_ci#define JH7110_SYSCLK_SPI5_APB 136 15462306a36Sopenharmony_ci#define JH7110_SYSCLK_SPI6_APB 137 15562306a36Sopenharmony_ci#define JH7110_SYSCLK_I2C0_APB 138 15662306a36Sopenharmony_ci#define JH7110_SYSCLK_I2C1_APB 139 15762306a36Sopenharmony_ci#define JH7110_SYSCLK_I2C2_APB 140 15862306a36Sopenharmony_ci#define JH7110_SYSCLK_I2C3_APB 141 15962306a36Sopenharmony_ci#define JH7110_SYSCLK_I2C4_APB 142 16062306a36Sopenharmony_ci#define JH7110_SYSCLK_I2C5_APB 143 16162306a36Sopenharmony_ci#define JH7110_SYSCLK_I2C6_APB 144 16262306a36Sopenharmony_ci#define JH7110_SYSCLK_UART0_APB 145 16362306a36Sopenharmony_ci#define JH7110_SYSCLK_UART0_CORE 146 16462306a36Sopenharmony_ci#define JH7110_SYSCLK_UART1_APB 147 16562306a36Sopenharmony_ci#define JH7110_SYSCLK_UART1_CORE 148 16662306a36Sopenharmony_ci#define JH7110_SYSCLK_UART2_APB 149 16762306a36Sopenharmony_ci#define JH7110_SYSCLK_UART2_CORE 150 16862306a36Sopenharmony_ci#define JH7110_SYSCLK_UART3_APB 151 16962306a36Sopenharmony_ci#define JH7110_SYSCLK_UART3_CORE 152 17062306a36Sopenharmony_ci#define JH7110_SYSCLK_UART4_APB 153 17162306a36Sopenharmony_ci#define JH7110_SYSCLK_UART4_CORE 154 17262306a36Sopenharmony_ci#define JH7110_SYSCLK_UART5_APB 155 17362306a36Sopenharmony_ci#define JH7110_SYSCLK_UART5_CORE 156 17462306a36Sopenharmony_ci#define JH7110_SYSCLK_PWMDAC_APB 157 17562306a36Sopenharmony_ci#define JH7110_SYSCLK_PWMDAC_CORE 158 17662306a36Sopenharmony_ci#define JH7110_SYSCLK_SPDIF_APB 159 17762306a36Sopenharmony_ci#define JH7110_SYSCLK_SPDIF_CORE 160 17862306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX0_APB 161 17962306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX0_BCLK_MST 162 18062306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX0_BCLK_MST_INV 163 18162306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX0_LRCK_MST 164 18262306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX0_BCLK 165 18362306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX0_BCLK_INV 166 18462306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX0_LRCK 167 18562306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX1_APB 168 18662306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX1_BCLK_MST 169 18762306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX1_BCLK_MST_INV 170 18862306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX1_LRCK_MST 171 18962306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX1_BCLK 172 19062306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX1_BCLK_INV 173 19162306a36Sopenharmony_ci#define JH7110_SYSCLK_I2STX1_LRCK 174 19262306a36Sopenharmony_ci#define JH7110_SYSCLK_I2SRX_APB 175 19362306a36Sopenharmony_ci#define JH7110_SYSCLK_I2SRX_BCLK_MST 176 19462306a36Sopenharmony_ci#define JH7110_SYSCLK_I2SRX_BCLK_MST_INV 177 19562306a36Sopenharmony_ci#define JH7110_SYSCLK_I2SRX_LRCK_MST 178 19662306a36Sopenharmony_ci#define JH7110_SYSCLK_I2SRX_BCLK 179 19762306a36Sopenharmony_ci#define JH7110_SYSCLK_I2SRX_BCLK_INV 180 19862306a36Sopenharmony_ci#define JH7110_SYSCLK_I2SRX_LRCK 181 19962306a36Sopenharmony_ci#define JH7110_SYSCLK_PDM_DMIC 182 20062306a36Sopenharmony_ci#define JH7110_SYSCLK_PDM_APB 183 20162306a36Sopenharmony_ci#define JH7110_SYSCLK_TDM_AHB 184 20262306a36Sopenharmony_ci#define JH7110_SYSCLK_TDM_APB 185 20362306a36Sopenharmony_ci#define JH7110_SYSCLK_TDM_INTERNAL 186 20462306a36Sopenharmony_ci#define JH7110_SYSCLK_TDM_TDM 187 20562306a36Sopenharmony_ci#define JH7110_SYSCLK_TDM_TDM_INV 188 20662306a36Sopenharmony_ci#define JH7110_SYSCLK_JTAG_CERTIFICATION_TRNG 189 20762306a36Sopenharmony_ci 20862306a36Sopenharmony_ci#define JH7110_SYSCLK_END 190 20962306a36Sopenharmony_ci 21062306a36Sopenharmony_ci/* AONCRG clocks */ 21162306a36Sopenharmony_ci#define JH7110_AONCLK_OSC_DIV4 0 21262306a36Sopenharmony_ci#define JH7110_AONCLK_APB_FUNC 1 21362306a36Sopenharmony_ci#define JH7110_AONCLK_GMAC0_AHB 2 21462306a36Sopenharmony_ci#define JH7110_AONCLK_GMAC0_AXI 3 21562306a36Sopenharmony_ci#define JH7110_AONCLK_GMAC0_RMII_RTX 4 21662306a36Sopenharmony_ci#define JH7110_AONCLK_GMAC0_TX 5 21762306a36Sopenharmony_ci#define JH7110_AONCLK_GMAC0_TX_INV 6 21862306a36Sopenharmony_ci#define JH7110_AONCLK_GMAC0_RX 7 21962306a36Sopenharmony_ci#define JH7110_AONCLK_GMAC0_RX_INV 8 22062306a36Sopenharmony_ci#define JH7110_AONCLK_OTPC_APB 9 22162306a36Sopenharmony_ci#define JH7110_AONCLK_RTC_APB 10 22262306a36Sopenharmony_ci#define JH7110_AONCLK_RTC_INTERNAL 11 22362306a36Sopenharmony_ci#define JH7110_AONCLK_RTC_32K 12 22462306a36Sopenharmony_ci#define JH7110_AONCLK_RTC_CAL 13 22562306a36Sopenharmony_ci 22662306a36Sopenharmony_ci#define JH7110_AONCLK_END 14 22762306a36Sopenharmony_ci 22862306a36Sopenharmony_ci/* STGCRG clocks */ 22962306a36Sopenharmony_ci#define JH7110_STGCLK_HIFI4_CLK_CORE 0 23062306a36Sopenharmony_ci#define JH7110_STGCLK_USB0_APB 1 23162306a36Sopenharmony_ci#define JH7110_STGCLK_USB0_UTMI_APB 2 23262306a36Sopenharmony_ci#define JH7110_STGCLK_USB0_AXI 3 23362306a36Sopenharmony_ci#define JH7110_STGCLK_USB0_LPM 4 23462306a36Sopenharmony_ci#define JH7110_STGCLK_USB0_STB 5 23562306a36Sopenharmony_ci#define JH7110_STGCLK_USB0_APP_125 6 23662306a36Sopenharmony_ci#define JH7110_STGCLK_USB0_REFCLK 7 23762306a36Sopenharmony_ci#define JH7110_STGCLK_PCIE0_AXI_MST0 8 23862306a36Sopenharmony_ci#define JH7110_STGCLK_PCIE0_APB 9 23962306a36Sopenharmony_ci#define JH7110_STGCLK_PCIE0_TL 10 24062306a36Sopenharmony_ci#define JH7110_STGCLK_PCIE1_AXI_MST0 11 24162306a36Sopenharmony_ci#define JH7110_STGCLK_PCIE1_APB 12 24262306a36Sopenharmony_ci#define JH7110_STGCLK_PCIE1_TL 13 24362306a36Sopenharmony_ci#define JH7110_STGCLK_PCIE_SLV_MAIN 14 24462306a36Sopenharmony_ci#define JH7110_STGCLK_SEC_AHB 15 24562306a36Sopenharmony_ci#define JH7110_STGCLK_SEC_MISC_AHB 16 24662306a36Sopenharmony_ci#define JH7110_STGCLK_GRP0_MAIN 17 24762306a36Sopenharmony_ci#define JH7110_STGCLK_GRP0_BUS 18 24862306a36Sopenharmony_ci#define JH7110_STGCLK_GRP0_STG 19 24962306a36Sopenharmony_ci#define JH7110_STGCLK_GRP1_MAIN 20 25062306a36Sopenharmony_ci#define JH7110_STGCLK_GRP1_BUS 21 25162306a36Sopenharmony_ci#define JH7110_STGCLK_GRP1_STG 22 25262306a36Sopenharmony_ci#define JH7110_STGCLK_GRP1_HIFI 23 25362306a36Sopenharmony_ci#define JH7110_STGCLK_E2_RTC 24 25462306a36Sopenharmony_ci#define JH7110_STGCLK_E2_CORE 25 25562306a36Sopenharmony_ci#define JH7110_STGCLK_E2_DBG 26 25662306a36Sopenharmony_ci#define JH7110_STGCLK_DMA1P_AXI 27 25762306a36Sopenharmony_ci#define JH7110_STGCLK_DMA1P_AHB 28 25862306a36Sopenharmony_ci 25962306a36Sopenharmony_ci#define JH7110_STGCLK_END 29 26062306a36Sopenharmony_ci 26162306a36Sopenharmony_ci/* ISPCRG clocks */ 26262306a36Sopenharmony_ci#define JH7110_ISPCLK_DOM4_APB_FUNC 0 26362306a36Sopenharmony_ci#define JH7110_ISPCLK_MIPI_RX0_PXL 1 26462306a36Sopenharmony_ci#define JH7110_ISPCLK_DVP_INV 2 26562306a36Sopenharmony_ci#define JH7110_ISPCLK_M31DPHY_CFG_IN 3 26662306a36Sopenharmony_ci#define JH7110_ISPCLK_M31DPHY_REF_IN 4 26762306a36Sopenharmony_ci#define JH7110_ISPCLK_M31DPHY_TX_ESC_LAN0 5 26862306a36Sopenharmony_ci#define JH7110_ISPCLK_VIN_APB 6 26962306a36Sopenharmony_ci#define JH7110_ISPCLK_VIN_SYS 7 27062306a36Sopenharmony_ci#define JH7110_ISPCLK_VIN_PIXEL_IF0 8 27162306a36Sopenharmony_ci#define JH7110_ISPCLK_VIN_PIXEL_IF1 9 27262306a36Sopenharmony_ci#define JH7110_ISPCLK_VIN_PIXEL_IF2 10 27362306a36Sopenharmony_ci#define JH7110_ISPCLK_VIN_PIXEL_IF3 11 27462306a36Sopenharmony_ci#define JH7110_ISPCLK_VIN_P_AXI_WR 12 27562306a36Sopenharmony_ci#define JH7110_ISPCLK_ISPV2_TOP_WRAPPER_C 13 27662306a36Sopenharmony_ci 27762306a36Sopenharmony_ci#define JH7110_ISPCLK_END 14 27862306a36Sopenharmony_ci 27962306a36Sopenharmony_ci/* VOUTCRG clocks */ 28062306a36Sopenharmony_ci#define JH7110_VOUTCLK_APB 0 28162306a36Sopenharmony_ci#define JH7110_VOUTCLK_DC8200_PIX 1 28262306a36Sopenharmony_ci#define JH7110_VOUTCLK_DSI_SYS 2 28362306a36Sopenharmony_ci#define JH7110_VOUTCLK_TX_ESC 3 28462306a36Sopenharmony_ci#define JH7110_VOUTCLK_DC8200_AXI 4 28562306a36Sopenharmony_ci#define JH7110_VOUTCLK_DC8200_CORE 5 28662306a36Sopenharmony_ci#define JH7110_VOUTCLK_DC8200_AHB 6 28762306a36Sopenharmony_ci#define JH7110_VOUTCLK_DC8200_PIX0 7 28862306a36Sopenharmony_ci#define JH7110_VOUTCLK_DC8200_PIX1 8 28962306a36Sopenharmony_ci#define JH7110_VOUTCLK_DOM_VOUT_TOP_LCD 9 29062306a36Sopenharmony_ci#define JH7110_VOUTCLK_DSITX_APB 10 29162306a36Sopenharmony_ci#define JH7110_VOUTCLK_DSITX_SYS 11 29262306a36Sopenharmony_ci#define JH7110_VOUTCLK_DSITX_DPI 12 29362306a36Sopenharmony_ci#define JH7110_VOUTCLK_DSITX_TXESC 13 29462306a36Sopenharmony_ci#define JH7110_VOUTCLK_MIPITX_DPHY_TXESC 14 29562306a36Sopenharmony_ci#define JH7110_VOUTCLK_HDMI_TX_MCLK 15 29662306a36Sopenharmony_ci#define JH7110_VOUTCLK_HDMI_TX_BCLK 16 29762306a36Sopenharmony_ci#define JH7110_VOUTCLK_HDMI_TX_SYS 17 29862306a36Sopenharmony_ci 29962306a36Sopenharmony_ci#define JH7110_VOUTCLK_END 18 30062306a36Sopenharmony_ci 30162306a36Sopenharmony_ci#endif /* __DT_BINDINGS_CLOCK_STARFIVE_JH7110_CRG_H__ */ 302