141 lines · c
1/*2 * Copyright (C) 2017 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_SUN8I_A83T_CCU_H_44#define _DT_BINDINGS_CLOCK_SUN8I_A83T_CCU_H_45 46#define CLK_PLL_PERIPH 647 48#define CLK_PLL_DE 949 50#define CLK_C0CPUX 1151#define CLK_C1CPUX 1252 53#define CLK_BUS_MIPI_DSI 1954#define CLK_BUS_SS 2055#define CLK_BUS_DMA 2156#define CLK_BUS_MMC0 2257#define CLK_BUS_MMC1 2358#define CLK_BUS_MMC2 2459#define CLK_BUS_NAND 2560#define CLK_BUS_DRAM 2661#define CLK_BUS_EMAC 2762#define CLK_BUS_HSTIMER 2863#define CLK_BUS_SPI0 2964#define CLK_BUS_SPI1 3065#define CLK_BUS_OTG 3166#define CLK_BUS_EHCI0 3267#define CLK_BUS_EHCI1 3368#define CLK_BUS_OHCI0 3469 70#define CLK_BUS_VE 3571#define CLK_BUS_TCON0 3672#define CLK_BUS_TCON1 3773#define CLK_BUS_CSI 3874#define CLK_BUS_HDMI 3975#define CLK_BUS_DE 4076#define CLK_BUS_GPU 4177#define CLK_BUS_MSGBOX 4278#define CLK_BUS_SPINLOCK 4379 80#define CLK_BUS_SPDIF 4481#define CLK_BUS_PIO 4582#define CLK_BUS_I2S0 4683#define CLK_BUS_I2S1 4784#define CLK_BUS_I2S2 4885#define CLK_BUS_TDM 4986 87#define CLK_BUS_I2C0 5088#define CLK_BUS_I2C1 5189#define CLK_BUS_I2C2 5290#define CLK_BUS_UART0 5391#define CLK_BUS_UART1 5492#define CLK_BUS_UART2 5593#define CLK_BUS_UART3 5694#define CLK_BUS_UART4 5795 96#define CLK_NAND 5997#define CLK_MMC0 6098#define CLK_MMC0_SAMPLE 6199#define CLK_MMC0_OUTPUT 62100#define CLK_MMC1 63101#define CLK_MMC1_SAMPLE 64102#define CLK_MMC1_OUTPUT 65103#define CLK_MMC2 66104#define CLK_MMC2_SAMPLE 67105#define CLK_MMC2_OUTPUT 68106#define CLK_SS 69107#define CLK_SPI0 70108#define CLK_SPI1 71109#define CLK_I2S0 72110#define CLK_I2S1 73111#define CLK_I2S2 74112#define CLK_TDM 75113#define CLK_SPDIF 76114#define CLK_USB_PHY0 77115#define CLK_USB_PHY1 78116#define CLK_USB_HSIC 79117#define CLK_USB_HSIC_12M 80118#define CLK_USB_OHCI0 81119 120#define CLK_DRAM_VE 83121#define CLK_DRAM_CSI 84122 123#define CLK_TCON0 85124#define CLK_TCON1 86125#define CLK_CSI_MISC 87126#define CLK_MIPI_CSI 88127#define CLK_CSI_MCLK 89128#define CLK_CSI_SCLK 90129#define CLK_VE 91130#define CLK_AVS 92131#define CLK_HDMI 93132#define CLK_HDMI_SLOW 94133 134#define CLK_MIPI_DSI0 96135#define CLK_MIPI_DSI1 97136#define CLK_GPU_CORE 98137#define CLK_GPU_MEMORY 99138#define CLK_GPU_HYD 100139 140#endif /* _DT_BINDINGS_CLOCK_SUN8I_A83T_CCU_H_ */141