linux/include/dt-bindings/clock/sun6i-a31-ccu.h

/*
 * Copyright (C) 2016 Chen-Yu Tsai <[email protected]>
 *
 * This file is dual-licensed: you can use it either under the terms
 * of the GPL or the X11 license, at your option. Note that this dual
 * licensing only applies to this file, and not this project as a
 * whole.
 *
 *  a) This file is free software; you can redistribute it and/or
 *     modify it under the terms of the GNU General Public License as
 *     published by the Free Software Foundation; either version 2 of the
 *     License, or (at your option) any later version.
 *
 *     This file is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *
 * Or, alternatively,
 *
 *  b) Permission is hereby granted, free of charge, to any person
 *     obtaining a copy of this software and associated documentation
 *     files (the "Software"), to deal in the Software without
 *     restriction, including without limitation the rights to use,
 *     copy, modify, merge, publish, distribute, sublicense, and/or
 *     sell copies of the Software, and to permit persons to whom the
 *     Software is furnished to do so, subject to the following
 *     conditions:
 *
 *     The above copyright notice and this permission notice shall be
 *     included in all copies or substantial portions of the Software.
 *
 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 *     OTHER DEALINGS IN THE SOFTWARE.
 */

#ifndef _DT_BINDINGS_CLK_SUN6I_A31_H_
#define _DT_BINDINGS_CLK_SUN6I_A31_H_

#define CLK_PLL_VIDEO0_2X

#define CLK_PLL_PERIPH

#define CLK_PLL_VIDEO1_2X

#define CLK_PLL_MIPI

#define CLK_CPU

#define CLK_AHB1_MIPIDSI
#define CLK_AHB1_SS
#define CLK_AHB1_DMA
#define CLK_AHB1_MMC0
#define CLK_AHB1_MMC1
#define CLK_AHB1_MMC2
#define CLK_AHB1_MMC3
#define CLK_AHB1_NAND1
#define CLK_AHB1_NAND0
#define CLK_AHB1_SDRAM
#define CLK_AHB1_EMAC
#define CLK_AHB1_TS
#define CLK_AHB1_HSTIMER
#define CLK_AHB1_SPI0
#define CLK_AHB1_SPI1
#define CLK_AHB1_SPI2
#define CLK_AHB1_SPI3
#define CLK_AHB1_OTG
#define CLK_AHB1_EHCI0
#define CLK_AHB1_EHCI1
#define CLK_AHB1_OHCI0
#define CLK_AHB1_OHCI1
#define CLK_AHB1_OHCI2
#define CLK_AHB1_VE
#define CLK_AHB1_LCD0
#define CLK_AHB1_LCD1
#define CLK_AHB1_CSI
#define CLK_AHB1_HDMI
#define CLK_AHB1_BE0
#define CLK_AHB1_BE1
#define CLK_AHB1_FE0
#define CLK_AHB1_FE1
#define CLK_AHB1_MP
#define CLK_AHB1_GPU
#define CLK_AHB1_DEU0
#define CLK_AHB1_DEU1
#define CLK_AHB1_DRC0
#define CLK_AHB1_DRC1

#define CLK_APB1_CODEC
#define CLK_APB1_SPDIF
#define CLK_APB1_DIGITAL_MIC
#define CLK_APB1_PIO
#define CLK_APB1_DAUDIO0
#define CLK_APB1_DAUDIO1

#define CLK_APB2_I2C0
#define CLK_APB2_I2C1
#define CLK_APB2_I2C2
#define CLK_APB2_I2C3
#define CLK_APB2_UART0
#define CLK_APB2_UART1
#define CLK_APB2_UART2
#define CLK_APB2_UART3
#define CLK_APB2_UART4
#define CLK_APB2_UART5

#define CLK_NAND0
#define CLK_NAND1
#define CLK_MMC0
#define CLK_MMC0_SAMPLE
#define CLK_MMC0_OUTPUT
#define CLK_MMC1
#define CLK_MMC1_SAMPLE
#define CLK_MMC1_OUTPUT
#define CLK_MMC2
#define CLK_MMC2_SAMPLE
#define CLK_MMC2_OUTPUT
#define CLK_MMC3
#define CLK_MMC3_SAMPLE
#define CLK_MMC3_OUTPUT
#define CLK_TS
#define CLK_SS
#define CLK_SPI0
#define CLK_SPI1
#define CLK_SPI2
#define CLK_SPI3
#define CLK_DAUDIO0
#define CLK_DAUDIO1
#define CLK_SPDIF
#define CLK_USB_PHY0
#define CLK_USB_PHY1
#define CLK_USB_PHY2
#define CLK_USB_OHCI0
#define CLK_USB_OHCI1
#define CLK_USB_OHCI2

#define CLK_DRAM_VE
#define CLK_DRAM_CSI_ISP
#define CLK_DRAM_TS
#define CLK_DRAM_DRC0
#define CLK_DRAM_DRC1
#define CLK_DRAM_DEU0
#define CLK_DRAM_DEU1
#define CLK_DRAM_FE0
#define CLK_DRAM_FE1
#define CLK_DRAM_BE0
#define CLK_DRAM_BE1
#define CLK_DRAM_MP

#define CLK_BE0
#define CLK_BE1
#define CLK_FE0
#define CLK_FE1
#define CLK_MP
#define CLK_LCD0_CH0
#define CLK_LCD1_CH0
#define CLK_LCD0_CH1
#define CLK_LCD1_CH1
#define CLK_CSI0_SCLK
#define CLK_CSI0_MCLK
#define CLK_CSI1_MCLK
#define CLK_VE
#define CLK_CODEC
#define CLK_AVS
#define CLK_DIGITAL_MIC
#define CLK_HDMI
#define CLK_HDMI_DDC
#define CLK_PS

#define CLK_MIPI_DSI
#define CLK_MIPI_DSI_DPHY
#define CLK_MIPI_CSI_DPHY
#define CLK_IEP_DRC0
#define CLK_IEP_DRC1
#define CLK_IEP_DEU0
#define CLK_IEP_DEU1
#define CLK_GPU_CORE
#define CLK_GPU_MEMORY
#define CLK_GPU_HYD
#define CLK_ATS
#define CLK_TRACE

#define CLK_OUT_A
#define CLK_OUT_B
#define CLK_OUT_C

#endif /* _DT_BINDINGS_CLK_SUN6I_A31_H_ */