Home | History | Annotate | Line # | Download | only in clock
      1      1.1  jmcneill /*	$NetBSD: meson8b-clkc.h,v 1.1.1.7 2021/11/07 16:49:59 jmcneill Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.3  jmcneill /* SPDX-License-Identifier: GPL-2.0 */
      4      1.1  jmcneill /*
      5      1.1  jmcneill  * Meson8b clock tree IDs
      6      1.1  jmcneill  */
      7      1.1  jmcneill 
      8      1.1  jmcneill #ifndef __MESON8B_CLKC_H
      9      1.1  jmcneill #define __MESON8B_CLKC_H
     10      1.1  jmcneill 
     11      1.1  jmcneill #define CLKID_PLL_FIXED		2
     12      1.1  jmcneill #define CLKID_PLL_VID		3
     13      1.1  jmcneill #define CLKID_PLL_SYS		4
     14      1.1  jmcneill #define CLKID_FCLK_DIV2		5
     15      1.1  jmcneill #define CLKID_FCLK_DIV3		6
     16      1.1  jmcneill #define CLKID_FCLK_DIV4		7
     17      1.1  jmcneill #define CLKID_FCLK_DIV5		8
     18      1.1  jmcneill #define CLKID_FCLK_DIV7		9
     19      1.1  jmcneill #define CLKID_CLK81		10
     20      1.1  jmcneill #define CLKID_MALI		11
     21      1.1  jmcneill #define CLKID_CPUCLK		12
     22      1.1  jmcneill #define CLKID_ZERO		13
     23      1.1  jmcneill #define CLKID_MPEG_SEL		14
     24      1.1  jmcneill #define CLKID_MPEG_DIV		15
     25  1.1.1.2  jmcneill #define CLKID_DDR		16
     26  1.1.1.2  jmcneill #define CLKID_DOS		17
     27  1.1.1.2  jmcneill #define CLKID_ISA		18
     28  1.1.1.2  jmcneill #define CLKID_PL301		19
     29  1.1.1.2  jmcneill #define CLKID_PERIPHS		20
     30  1.1.1.2  jmcneill #define CLKID_SPICC		21
     31  1.1.1.2  jmcneill #define CLKID_I2C		22
     32  1.1.1.2  jmcneill #define CLKID_SAR_ADC		23
     33  1.1.1.2  jmcneill #define CLKID_SMART_CARD	24
     34  1.1.1.2  jmcneill #define CLKID_RNG0		25
     35  1.1.1.2  jmcneill #define CLKID_UART0		26
     36  1.1.1.2  jmcneill #define CLKID_SDHC		27
     37  1.1.1.2  jmcneill #define CLKID_STREAM		28
     38  1.1.1.2  jmcneill #define CLKID_ASYNC_FIFO	29
     39  1.1.1.2  jmcneill #define CLKID_SDIO		30
     40  1.1.1.2  jmcneill #define CLKID_ABUF		31
     41  1.1.1.2  jmcneill #define CLKID_HIU_IFACE		32
     42  1.1.1.2  jmcneill #define CLKID_ASSIST_MISC	33
     43  1.1.1.2  jmcneill #define CLKID_SPI		34
     44  1.1.1.2  jmcneill #define CLKID_I2S_SPDIF		35
     45  1.1.1.2  jmcneill #define CLKID_ETH		36
     46  1.1.1.2  jmcneill #define CLKID_DEMUX		37
     47  1.1.1.2  jmcneill #define CLKID_AIU_GLUE		38
     48  1.1.1.2  jmcneill #define CLKID_IEC958		39
     49  1.1.1.2  jmcneill #define CLKID_I2S_OUT		40
     50  1.1.1.2  jmcneill #define CLKID_AMCLK		41
     51  1.1.1.2  jmcneill #define CLKID_AIFIFO2		42
     52  1.1.1.2  jmcneill #define CLKID_MIXER		43
     53  1.1.1.2  jmcneill #define CLKID_MIXER_IFACE	44
     54  1.1.1.2  jmcneill #define CLKID_ADC		45
     55  1.1.1.2  jmcneill #define CLKID_BLKMV		46
     56  1.1.1.2  jmcneill #define CLKID_AIU		47
     57  1.1.1.2  jmcneill #define CLKID_UART1		48
     58  1.1.1.2  jmcneill #define CLKID_G2D		49
     59  1.1.1.2  jmcneill #define CLKID_USB0		50
     60  1.1.1.2  jmcneill #define CLKID_USB1		51
     61  1.1.1.2  jmcneill #define CLKID_RESET		52
     62  1.1.1.2  jmcneill #define CLKID_NAND		53
     63  1.1.1.2  jmcneill #define CLKID_DOS_PARSER	54
     64  1.1.1.2  jmcneill #define CLKID_USB		55
     65  1.1.1.2  jmcneill #define CLKID_VDIN1		56
     66  1.1.1.2  jmcneill #define CLKID_AHB_ARB0		57
     67  1.1.1.2  jmcneill #define CLKID_EFUSE		58
     68  1.1.1.2  jmcneill #define CLKID_BOOT_ROM		59
     69  1.1.1.2  jmcneill #define CLKID_AHB_DATA_BUS	60
     70  1.1.1.2  jmcneill #define CLKID_AHB_CTRL_BUS	61
     71  1.1.1.2  jmcneill #define CLKID_HDMI_INTR_SYNC	62
     72  1.1.1.2  jmcneill #define CLKID_HDMI_PCLK		63
     73  1.1.1.2  jmcneill #define CLKID_USB1_DDR_BRIDGE	64
     74  1.1.1.2  jmcneill #define CLKID_USB0_DDR_BRIDGE	65
     75  1.1.1.2  jmcneill #define CLKID_MMC_PCLK		66
     76  1.1.1.2  jmcneill #define CLKID_DVIN		67
     77  1.1.1.2  jmcneill #define CLKID_UART2		68
     78  1.1.1.2  jmcneill #define CLKID_SANA		69
     79  1.1.1.2  jmcneill #define CLKID_VPU_INTR		70
     80  1.1.1.2  jmcneill #define CLKID_SEC_AHB_AHB3_BRIDGE	71
     81  1.1.1.2  jmcneill #define CLKID_CLK81_A9		72
     82  1.1.1.2  jmcneill #define CLKID_VCLK2_VENCI0	73
     83  1.1.1.2  jmcneill #define CLKID_VCLK2_VENCI1	74
     84  1.1.1.2  jmcneill #define CLKID_VCLK2_VENCP0	75
     85  1.1.1.2  jmcneill #define CLKID_VCLK2_VENCP1	76
     86  1.1.1.2  jmcneill #define CLKID_GCLK_VENCI_INT	77
     87  1.1.1.2  jmcneill #define CLKID_GCLK_VENCP_INT	78
     88  1.1.1.2  jmcneill #define CLKID_DAC_CLK		79
     89  1.1.1.2  jmcneill #define CLKID_AOCLK_GATE	80
     90  1.1.1.2  jmcneill #define CLKID_IEC958_GATE	81
     91  1.1.1.2  jmcneill #define CLKID_ENC480P		82
     92  1.1.1.2  jmcneill #define CLKID_RNG1		83
     93  1.1.1.2  jmcneill #define CLKID_GCLK_VENCL_INT	84
     94  1.1.1.2  jmcneill #define CLKID_VCLK2_VENCLMCC	85
     95  1.1.1.2  jmcneill #define CLKID_VCLK2_VENCL	86
     96  1.1.1.2  jmcneill #define CLKID_VCLK2_OTHER	87
     97  1.1.1.2  jmcneill #define CLKID_EDP		88
     98  1.1.1.2  jmcneill #define CLKID_AO_MEDIA_CPU	89
     99  1.1.1.2  jmcneill #define CLKID_AO_AHB_SRAM	90
    100  1.1.1.2  jmcneill #define CLKID_AO_AHB_BUS	91
    101  1.1.1.2  jmcneill #define CLKID_AO_IFACE		92
    102  1.1.1.2  jmcneill #define CLKID_MPLL0		93
    103  1.1.1.2  jmcneill #define CLKID_MPLL1		94
    104  1.1.1.2  jmcneill #define CLKID_MPLL2		95
    105  1.1.1.4  jmcneill #define CLKID_NAND_CLK		112
    106  1.1.1.5  jmcneill #define CLKID_APB		124
    107  1.1.1.5  jmcneill #define CLKID_PERIPH		126
    108  1.1.1.5  jmcneill #define CLKID_AXI		128
    109  1.1.1.5  jmcneill #define CLKID_L2_DRAM		130
    110  1.1.1.7  jmcneill #define CLKID_HDMI_SYS		174
    111  1.1.1.6     skrll #define CLKID_VPU		190
    112  1.1.1.6     skrll #define CLKID_VDEC_1		196
    113  1.1.1.6     skrll #define CLKID_VDEC_HCODEC	199
    114  1.1.1.6     skrll #define CLKID_VDEC_2		202
    115  1.1.1.6     skrll #define CLKID_VDEC_HEVC		206
    116  1.1.1.6     skrll #define CLKID_CTS_AMCLK		209
    117  1.1.1.6     skrll #define CLKID_CTS_MCLK_I958	212
    118  1.1.1.6     skrll #define CLKID_CTS_I958		213
    119      1.1  jmcneill 
    120      1.1  jmcneill #endif /* __MESON8B_CLKC_H */
    121