linux/include/dt-bindings/clock/sun8i-r40-ccu.h

/*
 * Copyright (C) 2017 Icenowy Zheng <[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_SUN8I_R40_H_
#define _DT_BINDINGS_CLK_SUN8I_R40_H_

#define CLK_PLL_VIDEO0

#define CLK_PLL_VIDEO1

#define CLK_CPU

#define CLK_BUS_MIPI_DSI
#define CLK_BUS_CE
#define CLK_BUS_DMA
#define CLK_BUS_MMC0
#define CLK_BUS_MMC1
#define CLK_BUS_MMC2
#define CLK_BUS_MMC3
#define CLK_BUS_NAND
#define CLK_BUS_DRAM
#define CLK_BUS_EMAC
#define CLK_BUS_TS
#define CLK_BUS_HSTIMER
#define CLK_BUS_SPI0
#define CLK_BUS_SPI1
#define CLK_BUS_SPI2
#define CLK_BUS_SPI3
#define CLK_BUS_SATA
#define CLK_BUS_OTG
#define CLK_BUS_EHCI0
#define CLK_BUS_EHCI1
#define CLK_BUS_EHCI2
#define CLK_BUS_OHCI0
#define CLK_BUS_OHCI1
#define CLK_BUS_OHCI2
#define CLK_BUS_VE
#define CLK_BUS_MP
#define CLK_BUS_DEINTERLACE
#define CLK_BUS_CSI0
#define CLK_BUS_CSI1
#define CLK_BUS_HDMI1
#define CLK_BUS_HDMI0
#define CLK_BUS_DE
#define CLK_BUS_TVE0
#define CLK_BUS_TVE1
#define CLK_BUS_TVE_TOP
#define CLK_BUS_GMAC
#define CLK_BUS_GPU
#define CLK_BUS_TVD0
#define CLK_BUS_TVD1
#define CLK_BUS_TVD2
#define CLK_BUS_TVD3
#define CLK_BUS_TVD_TOP
#define CLK_BUS_TCON_LCD0
#define CLK_BUS_TCON_LCD1
#define CLK_BUS_TCON_TV0
#define CLK_BUS_TCON_TV1
#define CLK_BUS_TCON_TOP
#define CLK_BUS_CODEC
#define CLK_BUS_SPDIF
#define CLK_BUS_AC97
#define CLK_BUS_PIO
#define CLK_BUS_IR0
#define CLK_BUS_IR1
#define CLK_BUS_THS
#define CLK_BUS_KEYPAD
#define CLK_BUS_I2S0
#define CLK_BUS_I2S1
#define CLK_BUS_I2S2
#define CLK_BUS_I2C0
#define CLK_BUS_I2C1
#define CLK_BUS_I2C2
#define CLK_BUS_I2C3
#define CLK_BUS_CAN
#define CLK_BUS_SCR
#define CLK_BUS_PS20
#define CLK_BUS_PS21
#define CLK_BUS_I2C4
#define CLK_BUS_UART0
#define CLK_BUS_UART1
#define CLK_BUS_UART2
#define CLK_BUS_UART3
#define CLK_BUS_UART4
#define CLK_BUS_UART5
#define CLK_BUS_UART6
#define CLK_BUS_UART7
#define CLK_BUS_DBG

#define CLK_THS
#define CLK_NAND
#define CLK_MMC0
#define CLK_MMC1
#define CLK_MMC2
#define CLK_MMC3
#define CLK_TS
#define CLK_CE
#define CLK_SPI0
#define CLK_SPI1
#define CLK_SPI2
#define CLK_SPI3
#define CLK_I2S0
#define CLK_I2S1
#define CLK_I2S2
#define CLK_AC97
#define CLK_SPDIF
#define CLK_KEYPAD
#define CLK_SATA
#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_IR0
#define CLK_IR1

#define CLK_DRAM_VE
#define CLK_DRAM_CSI0
#define CLK_DRAM_CSI1
#define CLK_DRAM_TS
#define CLK_DRAM_TVD
#define CLK_DRAM_MP
#define CLK_DRAM_DEINTERLACE
#define CLK_DE
#define CLK_MP
#define CLK_TCON_LCD0
#define CLK_TCON_LCD1
#define CLK_TCON_TV0
#define CLK_TCON_TV1
#define CLK_DEINTERLACE
#define CLK_CSI1_MCLK
#define CLK_CSI_SCLK
#define CLK_CSI0_MCLK
#define CLK_VE
#define CLK_CODEC
#define CLK_AVS
#define CLK_HDMI
#define CLK_HDMI_SLOW
#define CLK_MBUS
#define CLK_DSI_DPHY
#define CLK_TVE0
#define CLK_TVE1
#define CLK_TVD0
#define CLK_TVD1
#define CLK_TVD2
#define CLK_TVD3
#define CLK_GPU
#define CLK_OUTA
#define CLK_OUTB

#endif /* _DT_BINDINGS_CLK_SUN8I_R40_H_ */