Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright (C) 2016 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_CLK_SUN6I_A31_H_
0044 #define _DT_BINDINGS_CLK_SUN6I_A31_H_
0045 
0046 #define CLK_PLL_VIDEO0_2X   7
0047 
0048 #define CLK_PLL_PERIPH      10
0049 
0050 #define CLK_PLL_VIDEO1_2X   13
0051 
0052 #define CLK_PLL_MIPI        15
0053 
0054 #define CLK_CPU         18
0055 
0056 #define CLK_AHB1_MIPIDSI    23
0057 #define CLK_AHB1_SS     24
0058 #define CLK_AHB1_DMA        25
0059 #define CLK_AHB1_MMC0       26
0060 #define CLK_AHB1_MMC1       27
0061 #define CLK_AHB1_MMC2       28
0062 #define CLK_AHB1_MMC3       29
0063 #define CLK_AHB1_NAND1      30
0064 #define CLK_AHB1_NAND0      31
0065 #define CLK_AHB1_SDRAM      32
0066 #define CLK_AHB1_EMAC       33
0067 #define CLK_AHB1_TS     34
0068 #define CLK_AHB1_HSTIMER    35
0069 #define CLK_AHB1_SPI0       36
0070 #define CLK_AHB1_SPI1       37
0071 #define CLK_AHB1_SPI2       38
0072 #define CLK_AHB1_SPI3       39
0073 #define CLK_AHB1_OTG        40
0074 #define CLK_AHB1_EHCI0      41
0075 #define CLK_AHB1_EHCI1      42
0076 #define CLK_AHB1_OHCI0      43
0077 #define CLK_AHB1_OHCI1      44
0078 #define CLK_AHB1_OHCI2      45
0079 #define CLK_AHB1_VE     46
0080 #define CLK_AHB1_LCD0       47
0081 #define CLK_AHB1_LCD1       48
0082 #define CLK_AHB1_CSI        49
0083 #define CLK_AHB1_HDMI       50
0084 #define CLK_AHB1_BE0        51
0085 #define CLK_AHB1_BE1        52
0086 #define CLK_AHB1_FE0        53
0087 #define CLK_AHB1_FE1        54
0088 #define CLK_AHB1_MP     55
0089 #define CLK_AHB1_GPU        56
0090 #define CLK_AHB1_DEU0       57
0091 #define CLK_AHB1_DEU1       58
0092 #define CLK_AHB1_DRC0       59
0093 #define CLK_AHB1_DRC1       60
0094 
0095 #define CLK_APB1_CODEC      61
0096 #define CLK_APB1_SPDIF      62
0097 #define CLK_APB1_DIGITAL_MIC    63
0098 #define CLK_APB1_PIO        64
0099 #define CLK_APB1_DAUDIO0    65
0100 #define CLK_APB1_DAUDIO1    66
0101 
0102 #define CLK_APB2_I2C0       67
0103 #define CLK_APB2_I2C1       68
0104 #define CLK_APB2_I2C2       69
0105 #define CLK_APB2_I2C3       70
0106 #define CLK_APB2_UART0      71
0107 #define CLK_APB2_UART1      72
0108 #define CLK_APB2_UART2      73
0109 #define CLK_APB2_UART3      74
0110 #define CLK_APB2_UART4      75
0111 #define CLK_APB2_UART5      76
0112 
0113 #define CLK_NAND0       77
0114 #define CLK_NAND1       78
0115 #define CLK_MMC0        79
0116 #define CLK_MMC0_SAMPLE     80
0117 #define CLK_MMC0_OUTPUT     81
0118 #define CLK_MMC1        82
0119 #define CLK_MMC1_SAMPLE     83
0120 #define CLK_MMC1_OUTPUT     84
0121 #define CLK_MMC2        85
0122 #define CLK_MMC2_SAMPLE     86
0123 #define CLK_MMC2_OUTPUT     87
0124 #define CLK_MMC3        88
0125 #define CLK_MMC3_SAMPLE     89
0126 #define CLK_MMC3_OUTPUT     90
0127 #define CLK_TS          91
0128 #define CLK_SS          92
0129 #define CLK_SPI0        93
0130 #define CLK_SPI1        94
0131 #define CLK_SPI2        95
0132 #define CLK_SPI3        96
0133 #define CLK_DAUDIO0     97
0134 #define CLK_DAUDIO1     98
0135 #define CLK_SPDIF       99
0136 #define CLK_USB_PHY0        100
0137 #define CLK_USB_PHY1        101
0138 #define CLK_USB_PHY2        102
0139 #define CLK_USB_OHCI0       103
0140 #define CLK_USB_OHCI1       104
0141 #define CLK_USB_OHCI2       105
0142 
0143 #define CLK_DRAM_VE     110
0144 #define CLK_DRAM_CSI_ISP    111
0145 #define CLK_DRAM_TS     112
0146 #define CLK_DRAM_DRC0       113
0147 #define CLK_DRAM_DRC1       114
0148 #define CLK_DRAM_DEU0       115
0149 #define CLK_DRAM_DEU1       116
0150 #define CLK_DRAM_FE0        117
0151 #define CLK_DRAM_FE1        118
0152 #define CLK_DRAM_BE0        119
0153 #define CLK_DRAM_BE1        120
0154 #define CLK_DRAM_MP     121
0155 
0156 #define CLK_BE0         122
0157 #define CLK_BE1         123
0158 #define CLK_FE0         124
0159 #define CLK_FE1         125
0160 #define CLK_MP          126
0161 #define CLK_LCD0_CH0        127
0162 #define CLK_LCD1_CH0        128
0163 #define CLK_LCD0_CH1        129
0164 #define CLK_LCD1_CH1        130
0165 #define CLK_CSI0_SCLK       131
0166 #define CLK_CSI0_MCLK       132
0167 #define CLK_CSI1_MCLK       133
0168 #define CLK_VE          134
0169 #define CLK_CODEC       135
0170 #define CLK_AVS         136
0171 #define CLK_DIGITAL_MIC     137
0172 #define CLK_HDMI        138
0173 #define CLK_HDMI_DDC        139
0174 #define CLK_PS          140
0175 
0176 #define CLK_MIPI_DSI        143
0177 #define CLK_MIPI_DSI_DPHY   144
0178 #define CLK_MIPI_CSI_DPHY   145
0179 #define CLK_IEP_DRC0        146
0180 #define CLK_IEP_DRC1        147
0181 #define CLK_IEP_DEU0        148
0182 #define CLK_IEP_DEU1        149
0183 #define CLK_GPU_CORE        150
0184 #define CLK_GPU_MEMORY      151
0185 #define CLK_GPU_HYD     152
0186 #define CLK_ATS         153
0187 #define CLK_TRACE       154
0188 
0189 #define CLK_OUT_A       155
0190 #define CLK_OUT_B       156
0191 #define CLK_OUT_C       157
0192 
0193 #endif /* _DT_BINDINGS_CLK_SUN6I_A31_H_ */