xref: /linux/include/dt-bindings/clock/sun50i-a100-ccu.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 /* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
2 /*
3  * Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com>
4  */
5 
6 #ifndef _DT_BINDINGS_CLK_SUN50I_A100_H_
7 #define _DT_BINDINGS_CLK_SUN50I_A100_H_
8 
9 #define CLK_PLL_PERIPH0		3
10 
11 #define CLK_CPUX		24
12 
13 #define CLK_APB1		29
14 
15 #define CLK_MBUS		31
16 #define CLK_DE			32
17 #define CLK_BUS_DE		33
18 #define CLK_G2D			34
19 #define CLK_BUS_G2D		35
20 #define CLK_GPU			36
21 #define CLK_BUS_GPU		37
22 #define CLK_CE			38
23 #define CLK_BUS_CE		39
24 #define CLK_VE			40
25 #define CLK_BUS_VE		41
26 #define CLK_BUS_DMA		42
27 #define CLK_BUS_MSGBOX		43
28 #define CLK_BUS_SPINLOCK	44
29 #define CLK_BUS_HSTIMER		45
30 #define CLK_AVS			46
31 #define CLK_BUS_DBG		47
32 #define CLK_BUS_PSI		48
33 #define CLK_BUS_PWM		49
34 #define CLK_BUS_IOMMU		50
35 #define CLK_MBUS_DMA		51
36 #define CLK_MBUS_VE		52
37 #define CLK_MBUS_CE		53
38 #define CLK_MBUS_NAND		54
39 #define CLK_MBUS_CSI		55
40 #define CLK_MBUS_ISP		56
41 #define CLK_MBUS_G2D		57
42 
43 #define CLK_NAND0		59
44 #define CLK_NAND1		60
45 #define CLK_BUS_NAND		61
46 #define CLK_MMC0		62
47 #define CLK_MMC1		63
48 #define CLK_MMC2		64
49 #define CLK_MMC3		65
50 #define CLK_BUS_MMC0		66
51 #define CLK_BUS_MMC1		67
52 #define CLK_BUS_MMC2		68
53 #define CLK_BUS_UART0		69
54 #define CLK_BUS_UART1		70
55 #define CLK_BUS_UART2		71
56 #define CLK_BUS_UART3		72
57 #define CLK_BUS_UART4		73
58 #define CLK_BUS_I2C0		74
59 #define CLK_BUS_I2C1		75
60 #define CLK_BUS_I2C2		76
61 #define CLK_BUS_I2C3		77
62 #define CLK_SPI0		78
63 #define CLK_SPI1		79
64 #define CLK_SPI2		80
65 #define CLK_BUS_SPI0		81
66 #define CLK_BUS_SPI1		82
67 #define CLK_BUS_SPI2		83
68 #define CLK_EMAC_25M		84
69 #define CLK_BUS_EMAC		85
70 #define CLK_IR_RX		86
71 #define CLK_BUS_IR_RX		87
72 #define CLK_IR_TX		88
73 #define CLK_BUS_IR_TX		89
74 #define CLK_BUS_GPADC		90
75 #define CLK_BUS_THS		91
76 #define CLK_I2S0		92
77 #define CLK_I2S1		93
78 #define CLK_I2S2		94
79 #define CLK_I2S3		95
80 #define CLK_BUS_I2S0		96
81 #define CLK_BUS_I2S1		97
82 #define CLK_BUS_I2S2		98
83 #define CLK_BUS_I2S3		99
84 #define CLK_SPDIF		100
85 #define CLK_BUS_SPDIF		101
86 #define CLK_DMIC		102
87 #define CLK_BUS_DMIC		103
88 #define CLK_AUDIO_DAC		104
89 #define CLK_AUDIO_ADC		105
90 #define CLK_AUDIO_4X		106
91 #define CLK_BUS_AUDIO_CODEC	107
92 #define CLK_USB_OHCI0		108
93 #define CLK_USB_PHY0		109
94 #define CLK_USB_OHCI1		110
95 #define CLK_USB_PHY1		111
96 #define CLK_BUS_OHCI0		112
97 #define CLK_BUS_OHCI1		113
98 #define CLK_BUS_EHCI0		114
99 #define CLK_BUS_EHCI1		115
100 #define CLK_BUS_OTG		116
101 #define CLK_BUS_LRADC		117
102 #define CLK_BUS_DPSS_TOP0	118
103 #define CLK_BUS_DPSS_TOP1	119
104 #define CLK_MIPI_DSI		120
105 #define CLK_BUS_MIPI_DSI	121
106 #define CLK_TCON_LCD		122
107 #define CLK_BUS_TCON_LCD	123
108 #define CLK_LEDC		124
109 #define CLK_BUS_LEDC		125
110 #define CLK_CSI_TOP		126
111 #define CLK_CSI0_MCLK		127
112 #define CLK_CSI1_MCLK		128
113 #define CLK_BUS_CSI		129
114 #define CLK_CSI_ISP		130
115 
116 #endif /* _DT_BINDINGS_CLK_SUN50I_A100_H_ */
117