1c6a06374SMaxime Ripard /*
2c6a06374SMaxime Ripard  * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>
3c6a06374SMaxime Ripard  *
4c6a06374SMaxime Ripard  * This file is dual-licensed: you can use it either under the terms
5c6a06374SMaxime Ripard  * of the GPL or the X11 license, at your option. Note that this dual
6c6a06374SMaxime Ripard  * licensing only applies to this file, and not this project as a
7c6a06374SMaxime Ripard  * whole.
8c6a06374SMaxime Ripard  *
9c6a06374SMaxime Ripard  *  a) This file is free software; you can redistribute it and/or
10c6a06374SMaxime Ripard  *     modify it under the terms of the GNU General Public License as
11c6a06374SMaxime Ripard  *     published by the Free Software Foundation; either version 2 of the
12c6a06374SMaxime Ripard  *     License, or (at your option) any later version.
13c6a06374SMaxime Ripard  *
14c6a06374SMaxime Ripard  *     This file is distributed in the hope that it will be useful,
15c6a06374SMaxime Ripard  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16c6a06374SMaxime Ripard  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17c6a06374SMaxime Ripard  *     GNU General Public License for more details.
18c6a06374SMaxime Ripard  *
19c6a06374SMaxime Ripard  * Or, alternatively,
20c6a06374SMaxime Ripard  *
21c6a06374SMaxime Ripard  *  b) Permission is hereby granted, free of charge, to any person
22c6a06374SMaxime Ripard  *     obtaining a copy of this software and associated documentation
23c6a06374SMaxime Ripard  *     files (the "Software"), to deal in the Software without
24c6a06374SMaxime Ripard  *     restriction, including without limitation the rights to use,
25c6a06374SMaxime Ripard  *     copy, modify, merge, publish, distribute, sublicense, and/or
26c6a06374SMaxime Ripard  *     sell copies of the Software, and to permit persons to whom the
27c6a06374SMaxime Ripard  *     Software is furnished to do so, subject to the following
28c6a06374SMaxime Ripard  *     conditions:
29c6a06374SMaxime Ripard  *
30c6a06374SMaxime Ripard  *     The above copyright notice and this permission notice shall be
31c6a06374SMaxime Ripard  *     included in all copies or substantial portions of the Software.
32c6a06374SMaxime Ripard  *
33c6a06374SMaxime Ripard  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34c6a06374SMaxime Ripard  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35c6a06374SMaxime Ripard  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36c6a06374SMaxime Ripard  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37c6a06374SMaxime Ripard  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38c6a06374SMaxime Ripard  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39c6a06374SMaxime Ripard  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40c6a06374SMaxime Ripard  *     OTHER DEALINGS IN THE SOFTWARE.
41c6a06374SMaxime Ripard  */
42c6a06374SMaxime Ripard 
43c6a06374SMaxime Ripard #ifndef _DT_BINDINGS_CLK_SUN50I_A64_H_
44c6a06374SMaxime Ripard #define _DT_BINDINGS_CLK_SUN50I_A64_H_
45c6a06374SMaxime Ripard 
468b2a3787SJagan Teki #define CLK_PLL_VIDEO0		7
47d85da227SChen-Yu Tsai #define CLK_PLL_PERIPH0		11
48d85da227SChen-Yu Tsai 
49a9b5c671SVasily Khoruzhick #define CLK_CPUX		21
50c6a06374SMaxime Ripard #define CLK_BUS_MIPI_DSI	28
51c6a06374SMaxime Ripard #define CLK_BUS_CE		29
52c6a06374SMaxime Ripard #define CLK_BUS_DMA		30
53c6a06374SMaxime Ripard #define CLK_BUS_MMC0		31
54c6a06374SMaxime Ripard #define CLK_BUS_MMC1		32
55c6a06374SMaxime Ripard #define CLK_BUS_MMC2		33
56c6a06374SMaxime Ripard #define CLK_BUS_NAND		34
57c6a06374SMaxime Ripard #define CLK_BUS_DRAM		35
58c6a06374SMaxime Ripard #define CLK_BUS_EMAC		36
59c6a06374SMaxime Ripard #define CLK_BUS_TS		37
60c6a06374SMaxime Ripard #define CLK_BUS_HSTIMER		38
61c6a06374SMaxime Ripard #define CLK_BUS_SPI0		39
62c6a06374SMaxime Ripard #define CLK_BUS_SPI1		40
63c6a06374SMaxime Ripard #define CLK_BUS_OTG		41
64c6a06374SMaxime Ripard #define CLK_BUS_EHCI0		42
65c6a06374SMaxime Ripard #define CLK_BUS_EHCI1		43
66c6a06374SMaxime Ripard #define CLK_BUS_OHCI0		44
67c6a06374SMaxime Ripard #define CLK_BUS_OHCI1		45
68c6a06374SMaxime Ripard #define CLK_BUS_VE		46
69c6a06374SMaxime Ripard #define CLK_BUS_TCON0		47
70c6a06374SMaxime Ripard #define CLK_BUS_TCON1		48
71c6a06374SMaxime Ripard #define CLK_BUS_DEINTERLACE	49
72c6a06374SMaxime Ripard #define CLK_BUS_CSI		50
73c6a06374SMaxime Ripard #define CLK_BUS_HDMI		51
74c6a06374SMaxime Ripard #define CLK_BUS_DE		52
75c6a06374SMaxime Ripard #define CLK_BUS_GPU		53
76c6a06374SMaxime Ripard #define CLK_BUS_MSGBOX		54
77c6a06374SMaxime Ripard #define CLK_BUS_SPINLOCK	55
78c6a06374SMaxime Ripard #define CLK_BUS_CODEC		56
79c6a06374SMaxime Ripard #define CLK_BUS_SPDIF		57
80c6a06374SMaxime Ripard #define CLK_BUS_PIO		58
81c6a06374SMaxime Ripard #define CLK_BUS_THS		59
82c6a06374SMaxime Ripard #define CLK_BUS_I2S0		60
83c6a06374SMaxime Ripard #define CLK_BUS_I2S1		61
84c6a06374SMaxime Ripard #define CLK_BUS_I2S2		62
85c6a06374SMaxime Ripard #define CLK_BUS_I2C0		63
86c6a06374SMaxime Ripard #define CLK_BUS_I2C1		64
87c6a06374SMaxime Ripard #define CLK_BUS_I2C2		65
88c6a06374SMaxime Ripard #define CLK_BUS_SCR		66
89c6a06374SMaxime Ripard #define CLK_BUS_UART0		67
90c6a06374SMaxime Ripard #define CLK_BUS_UART1		68
91c6a06374SMaxime Ripard #define CLK_BUS_UART2		69
92c6a06374SMaxime Ripard #define CLK_BUS_UART3		70
93c6a06374SMaxime Ripard #define CLK_BUS_UART4		71
94c6a06374SMaxime Ripard #define CLK_BUS_DBG		72
95c6a06374SMaxime Ripard #define CLK_THS			73
96c6a06374SMaxime Ripard #define CLK_NAND		74
97c6a06374SMaxime Ripard #define CLK_MMC0		75
98c6a06374SMaxime Ripard #define CLK_MMC1		76
99c6a06374SMaxime Ripard #define CLK_MMC2		77
100c6a06374SMaxime Ripard #define CLK_TS			78
101c6a06374SMaxime Ripard #define CLK_CE			79
102c6a06374SMaxime Ripard #define CLK_SPI0		80
103c6a06374SMaxime Ripard #define CLK_SPI1		81
104c6a06374SMaxime Ripard #define CLK_I2S0		82
105c6a06374SMaxime Ripard #define CLK_I2S1		83
106c6a06374SMaxime Ripard #define CLK_I2S2		84
107c6a06374SMaxime Ripard #define CLK_SPDIF		85
108c6a06374SMaxime Ripard #define CLK_USB_PHY0		86
109c6a06374SMaxime Ripard #define CLK_USB_PHY1		87
110c6a06374SMaxime Ripard #define CLK_USB_HSIC		88
111c6a06374SMaxime Ripard #define CLK_USB_HSIC_12M	89
112c6a06374SMaxime Ripard 
113c6a06374SMaxime Ripard #define CLK_USB_OHCI0		91
114c6a06374SMaxime Ripard 
115c6a06374SMaxime Ripard #define CLK_USB_OHCI1		93
116*71b597efSSamuel Holland #define CLK_DRAM		94
117c6a06374SMaxime Ripard #define CLK_DRAM_VE		95
118c6a06374SMaxime Ripard #define CLK_DRAM_CSI		96
119c6a06374SMaxime Ripard #define CLK_DRAM_DEINTERLACE	97
120c6a06374SMaxime Ripard #define CLK_DRAM_TS		98
121c6a06374SMaxime Ripard #define CLK_DE			99
122c6a06374SMaxime Ripard #define CLK_TCON0		100
123c6a06374SMaxime Ripard #define CLK_TCON1		101
124c6a06374SMaxime Ripard #define CLK_DEINTERLACE		102
125c6a06374SMaxime Ripard #define CLK_CSI_MISC		103
126c6a06374SMaxime Ripard #define CLK_CSI_SCLK		104
127c6a06374SMaxime Ripard #define CLK_CSI_MCLK		105
128c6a06374SMaxime Ripard #define CLK_VE			106
129c6a06374SMaxime Ripard #define CLK_AC_DIG		107
130c6a06374SMaxime Ripard #define CLK_AC_DIG_4X		108
131c6a06374SMaxime Ripard #define CLK_AVS			109
132c6a06374SMaxime Ripard #define CLK_HDMI		110
133c6a06374SMaxime Ripard #define CLK_HDMI_DDC		111
1341de84930SJernej Skrabec #define CLK_MBUS		112
135c6a06374SMaxime Ripard #define CLK_DSI_DPHY		113
136c6a06374SMaxime Ripard #define CLK_GPU			114
137c6a06374SMaxime Ripard 
138c6a06374SMaxime Ripard #endif /* _DT_BINDINGS_CLK_SUN50I_H_ */
139