Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org>
0003  *
0004  * This file is dual-licensed: you can use it either under the terms
0005  * of the GPL or the X11 license, at your option. Note that this dual
0006  * licensing only applies to this file, and not this project as a
0007  * whole.
0008  *
0009  *  a) This file is free software; you can redistribute it and/or
0010  *     modify it under the terms of the GNU General Public License as
0011  *     published by the Free Software Foundation; either version 2 of the
0012  *     License, or (at your option) any later version.
0013  *
0014  *     This file is distributed in the hope that it will be useful,
0015  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017  *     GNU General Public License for more details.
0018  *
0019  * Or, alternatively,
0020  *
0021  *  b) Permission is hereby granted, free of charge, to any person
0022  *     obtaining a copy of this software and associated documentation
0023  *     files (the "Software"), to deal in the Software without
0024  *     restriction, including without limitation the rights to use,
0025  *     copy, modify, merge, publish, distribute, sublicense, and/or
0026  *     sell copies of the Software, and to permit persons to whom the
0027  *     Software is furnished to do so, subject to the following
0028  *     conditions:
0029  *
0030  *     The above copyright notice and this permission notice shall be
0031  *     included in all copies or substantial portions of the Software.
0032  *
0033  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0034  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0035  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0036  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0037  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0038  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0039  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0040  *     OTHER DEALINGS IN THE SOFTWARE.
0041  */
0042 
0043 #ifndef _DT_BINDINGS_CLOCK_SUN8I_A83T_CCU_H_
0044 #define _DT_BINDINGS_CLOCK_SUN8I_A83T_CCU_H_
0045 
0046 #define CLK_PLL_PERIPH      6
0047 
0048 #define CLK_PLL_DE      9
0049 
0050 #define CLK_C0CPUX      11
0051 #define CLK_C1CPUX      12
0052 
0053 #define CLK_BUS_MIPI_DSI    19
0054 #define CLK_BUS_SS      20
0055 #define CLK_BUS_DMA     21
0056 #define CLK_BUS_MMC0        22
0057 #define CLK_BUS_MMC1        23
0058 #define CLK_BUS_MMC2        24
0059 #define CLK_BUS_NAND        25
0060 #define CLK_BUS_DRAM        26
0061 #define CLK_BUS_EMAC        27
0062 #define CLK_BUS_HSTIMER     28
0063 #define CLK_BUS_SPI0        29
0064 #define CLK_BUS_SPI1        30
0065 #define CLK_BUS_OTG     31
0066 #define CLK_BUS_EHCI0       32
0067 #define CLK_BUS_EHCI1       33
0068 #define CLK_BUS_OHCI0       34
0069 
0070 #define CLK_BUS_VE      35
0071 #define CLK_BUS_TCON0       36
0072 #define CLK_BUS_TCON1       37
0073 #define CLK_BUS_CSI     38
0074 #define CLK_BUS_HDMI        39
0075 #define CLK_BUS_DE      40
0076 #define CLK_BUS_GPU     41
0077 #define CLK_BUS_MSGBOX      42
0078 #define CLK_BUS_SPINLOCK    43
0079 
0080 #define CLK_BUS_SPDIF       44
0081 #define CLK_BUS_PIO     45
0082 #define CLK_BUS_I2S0        46
0083 #define CLK_BUS_I2S1        47
0084 #define CLK_BUS_I2S2        48
0085 #define CLK_BUS_TDM     49
0086 
0087 #define CLK_BUS_I2C0        50
0088 #define CLK_BUS_I2C1        51
0089 #define CLK_BUS_I2C2        52
0090 #define CLK_BUS_UART0       53
0091 #define CLK_BUS_UART1       54
0092 #define CLK_BUS_UART2       55
0093 #define CLK_BUS_UART3       56
0094 #define CLK_BUS_UART4       57
0095 
0096 #define CLK_NAND        59
0097 #define CLK_MMC0        60
0098 #define CLK_MMC0_SAMPLE     61
0099 #define CLK_MMC0_OUTPUT     62
0100 #define CLK_MMC1        63
0101 #define CLK_MMC1_SAMPLE     64
0102 #define CLK_MMC1_OUTPUT     65
0103 #define CLK_MMC2        66
0104 #define CLK_MMC2_SAMPLE     67
0105 #define CLK_MMC2_OUTPUT     68
0106 #define CLK_SS          69
0107 #define CLK_SPI0        70
0108 #define CLK_SPI1        71
0109 #define CLK_I2S0        72
0110 #define CLK_I2S1        73
0111 #define CLK_I2S2        74
0112 #define CLK_TDM         75
0113 #define CLK_SPDIF       76
0114 #define CLK_USB_PHY0        77
0115 #define CLK_USB_PHY1        78
0116 #define CLK_USB_HSIC        79
0117 #define CLK_USB_HSIC_12M    80
0118 #define CLK_USB_OHCI0       81
0119 
0120 #define CLK_DRAM_VE     83
0121 #define CLK_DRAM_CSI        84
0122 
0123 #define CLK_TCON0       85
0124 #define CLK_TCON1       86
0125 #define CLK_CSI_MISC        87
0126 #define CLK_MIPI_CSI        88
0127 #define CLK_CSI_MCLK        89
0128 #define CLK_CSI_SCLK        90
0129 #define CLK_VE          91
0130 #define CLK_AVS         92
0131 #define CLK_HDMI        93
0132 #define CLK_HDMI_SLOW       94
0133 
0134 #define CLK_MIPI_DSI0       96
0135 #define CLK_MIPI_DSI1       97
0136 #define CLK_GPU_CORE        98
0137 #define CLK_GPU_MEMORY      99
0138 #define CLK_GPU_HYD     100
0139 
0140 #endif /* _DT_BINDINGS_CLOCK_SUN8I_A83T_CCU_H_ */