163 lines · c
1/*2 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>3 *4 * This file is dual-licensed: you can use it either under the terms5 * of the GPL or the X11 license, at your option. Note that this dual6 * licensing only applies to this file, and not this project as a7 * whole.8 *9 * a) This file is free software; you can redistribute it and/or10 * modify it under the terms of the GNU General Public License as11 * published by the Free Software Foundation; either version 2 of the12 * License, or (at your option) any later version.13 *14 * This file is distributed in the hope that it will be useful,15 * but WITHOUT ANY WARRANTY; without even the implied warranty of16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the17 * GNU General Public License for more details.18 *19 * Or, alternatively,20 *21 * b) Permission is hereby granted, free of charge, to any person22 * obtaining a copy of this software and associated documentation23 * files (the "Software"), to deal in the Software without24 * restriction, including without limitation the rights to use,25 * copy, modify, merge, publish, distribute, sublicense, and/or26 * sell copies of the Software, and to permit persons to whom the27 * Software is furnished to do so, subject to the following28 * conditions:29 *30 * The above copyright notice and this permission notice shall be31 * included in all copies or substantial portions of the Software.32 *33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR40 * OTHER DEALINGS IN THE SOFTWARE.41 */42 43#ifndef _DT_BINDINGS_CLOCK_SUN9I_A80_CCU_H_44#define _DT_BINDINGS_CLOCK_SUN9I_A80_CCU_H_45 46#define CLK_PLL_AUDIO 247#define CLK_PLL_PERIPH0 348 49#define CLK_C0CPUX 1250#define CLK_C1CPUX 1351 52#define CLK_OUT_A 2753#define CLK_OUT_B 2854 55#define CLK_NAND0_0 2956#define CLK_NAND0_1 3057#define CLK_NAND1_0 3158#define CLK_NAND1_1 3259#define CLK_MMC0 3360#define CLK_MMC0_SAMPLE 3461#define CLK_MMC0_OUTPUT 3562#define CLK_MMC1 3663#define CLK_MMC1_SAMPLE 3764#define CLK_MMC1_OUTPUT 3865#define CLK_MMC2 3966#define CLK_MMC2_SAMPLE 4067#define CLK_MMC2_OUTPUT 4168#define CLK_MMC3 4269#define CLK_MMC3_SAMPLE 4370#define CLK_MMC3_OUTPUT 4471#define CLK_TS 4572#define CLK_SS 4673#define CLK_SPI0 4774#define CLK_SPI1 4875#define CLK_SPI2 4976#define CLK_SPI3 5077#define CLK_I2S0 5178#define CLK_I2S1 5279#define CLK_SPDIF 5380#define CLK_SDRAM 5481#define CLK_DE 5582#define CLK_EDP 5683#define CLK_MP 5784#define CLK_LCD0 5885#define CLK_LCD1 5986#define CLK_MIPI_DSI0 6087#define CLK_MIPI_DSI1 6188#define CLK_HDMI 6289#define CLK_HDMI_SLOW 6390#define CLK_MIPI_CSI 6491#define CLK_CSI_ISP 6592#define CLK_CSI_MISC 6693#define CLK_CSI0_MCLK 6794#define CLK_CSI1_MCLK 6895#define CLK_FD 6996#define CLK_VE 7097#define CLK_AVS 7198#define CLK_GPU_CORE 7299#define CLK_GPU_MEMORY 73100#define CLK_GPU_AXI 74101#define CLK_SATA 75102#define CLK_AC97 76103#define CLK_MIPI_HSI 77104#define CLK_GPADC 78105#define CLK_CIR_TX 79106 107#define CLK_BUS_FD 80108#define CLK_BUS_VE 81109#define CLK_BUS_GPU_CTRL 82110#define CLK_BUS_SS 83111#define CLK_BUS_MMC 84112#define CLK_BUS_NAND0 85113#define CLK_BUS_NAND1 86114#define CLK_BUS_SDRAM 87115#define CLK_BUS_MIPI_HSI 88116#define CLK_BUS_SATA 89117#define CLK_BUS_TS 90118#define CLK_BUS_SPI0 91119#define CLK_BUS_SPI1 92120#define CLK_BUS_SPI2 93121#define CLK_BUS_SPI3 94122 123#define CLK_BUS_OTG 95124#define CLK_BUS_USB 96125#define CLK_BUS_GMAC 97126#define CLK_BUS_MSGBOX 98127#define CLK_BUS_SPINLOCK 99128#define CLK_BUS_HSTIMER 100129#define CLK_BUS_DMA 101130 131#define CLK_BUS_LCD0 102132#define CLK_BUS_LCD1 103133#define CLK_BUS_EDP 104134#define CLK_BUS_CSI 105135#define CLK_BUS_HDMI 106136#define CLK_BUS_DE 107137#define CLK_BUS_MP 108138#define CLK_BUS_MIPI_DSI 109139 140#define CLK_BUS_SPDIF 110141#define CLK_BUS_PIO 111142#define CLK_BUS_AC97 112143#define CLK_BUS_I2S0 113144#define CLK_BUS_I2S1 114145#define CLK_BUS_LRADC 115146#define CLK_BUS_GPADC 116147#define CLK_BUS_TWD 117148#define CLK_BUS_CIR_TX 118149 150#define CLK_BUS_I2C0 119151#define CLK_BUS_I2C1 120152#define CLK_BUS_I2C2 121153#define CLK_BUS_I2C3 122154#define CLK_BUS_I2C4 123155#define CLK_BUS_UART0 124156#define CLK_BUS_UART1 125157#define CLK_BUS_UART2 126158#define CLK_BUS_UART3 127159#define CLK_BUS_UART4 128160#define CLK_BUS_UART5 129161 162#endif /* _DT_BINDINGS_CLOCK_SUN9I_A80_CCU_H_ */163