192 lines · c
1/*2 * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io>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_CLK_SUN8I_R40_H_44#define _DT_BINDINGS_CLK_SUN8I_R40_H_45 46#define CLK_PLL_VIDEO0 747 48#define CLK_PLL_VIDEO1 1649 50#define CLK_CPU 2451 52#define CLK_BUS_MIPI_DSI 2953#define CLK_BUS_CE 3054#define CLK_BUS_DMA 3155#define CLK_BUS_MMC0 3256#define CLK_BUS_MMC1 3357#define CLK_BUS_MMC2 3458#define CLK_BUS_MMC3 3559#define CLK_BUS_NAND 3660#define CLK_BUS_DRAM 3761#define CLK_BUS_EMAC 3862#define CLK_BUS_TS 3963#define CLK_BUS_HSTIMER 4064#define CLK_BUS_SPI0 4165#define CLK_BUS_SPI1 4266#define CLK_BUS_SPI2 4367#define CLK_BUS_SPI3 4468#define CLK_BUS_SATA 4569#define CLK_BUS_OTG 4670#define CLK_BUS_EHCI0 4771#define CLK_BUS_EHCI1 4872#define CLK_BUS_EHCI2 4973#define CLK_BUS_OHCI0 5074#define CLK_BUS_OHCI1 5175#define CLK_BUS_OHCI2 5276#define CLK_BUS_VE 5377#define CLK_BUS_MP 5478#define CLK_BUS_DEINTERLACE 5579#define CLK_BUS_CSI0 5680#define CLK_BUS_CSI1 5781#define CLK_BUS_HDMI1 5882#define CLK_BUS_HDMI0 5983#define CLK_BUS_DE 6084#define CLK_BUS_TVE0 6185#define CLK_BUS_TVE1 6286#define CLK_BUS_TVE_TOP 6387#define CLK_BUS_GMAC 6488#define CLK_BUS_GPU 6589#define CLK_BUS_TVD0 6690#define CLK_BUS_TVD1 6791#define CLK_BUS_TVD2 6892#define CLK_BUS_TVD3 6993#define CLK_BUS_TVD_TOP 7094#define CLK_BUS_TCON_LCD0 7195#define CLK_BUS_TCON_LCD1 7296#define CLK_BUS_TCON_TV0 7397#define CLK_BUS_TCON_TV1 7498#define CLK_BUS_TCON_TOP 7599#define CLK_BUS_CODEC 76100#define CLK_BUS_SPDIF 77101#define CLK_BUS_AC97 78102#define CLK_BUS_PIO 79103#define CLK_BUS_IR0 80104#define CLK_BUS_IR1 81105#define CLK_BUS_THS 82106#define CLK_BUS_KEYPAD 83107#define CLK_BUS_I2S0 84108#define CLK_BUS_I2S1 85109#define CLK_BUS_I2S2 86110#define CLK_BUS_I2C0 87111#define CLK_BUS_I2C1 88112#define CLK_BUS_I2C2 89113#define CLK_BUS_I2C3 90114#define CLK_BUS_CAN 91115#define CLK_BUS_SCR 92116#define CLK_BUS_PS20 93117#define CLK_BUS_PS21 94118#define CLK_BUS_I2C4 95119#define CLK_BUS_UART0 96120#define CLK_BUS_UART1 97121#define CLK_BUS_UART2 98122#define CLK_BUS_UART3 99123#define CLK_BUS_UART4 100124#define CLK_BUS_UART5 101125#define CLK_BUS_UART6 102126#define CLK_BUS_UART7 103127#define CLK_BUS_DBG 104128 129#define CLK_THS 105130#define CLK_NAND 106131#define CLK_MMC0 107132#define CLK_MMC1 108133#define CLK_MMC2 109134#define CLK_MMC3 110135#define CLK_TS 111136#define CLK_CE 112137#define CLK_SPI0 113138#define CLK_SPI1 114139#define CLK_SPI2 115140#define CLK_SPI3 116141#define CLK_I2S0 117142#define CLK_I2S1 118143#define CLK_I2S2 119144#define CLK_AC97 120145#define CLK_SPDIF 121146#define CLK_KEYPAD 122147#define CLK_SATA 123148#define CLK_USB_PHY0 124149#define CLK_USB_PHY1 125150#define CLK_USB_PHY2 126151#define CLK_USB_OHCI0 127152#define CLK_USB_OHCI1 128153#define CLK_USB_OHCI2 129154#define CLK_IR0 130155#define CLK_IR1 131156 157#define CLK_DRAM_VE 133158#define CLK_DRAM_CSI0 134159#define CLK_DRAM_CSI1 135160#define CLK_DRAM_TS 136161#define CLK_DRAM_TVD 137162#define CLK_DRAM_MP 138163#define CLK_DRAM_DEINTERLACE 139164#define CLK_DE 140165#define CLK_MP 141166#define CLK_TCON_LCD0 142167#define CLK_TCON_LCD1 143168#define CLK_TCON_TV0 144169#define CLK_TCON_TV1 145170#define CLK_DEINTERLACE 146171#define CLK_CSI1_MCLK 147172#define CLK_CSI_SCLK 148173#define CLK_CSI0_MCLK 149174#define CLK_VE 150175#define CLK_CODEC 151176#define CLK_AVS 152177#define CLK_HDMI 153178#define CLK_HDMI_SLOW 154179#define CLK_MBUS 155180#define CLK_DSI_DPHY 156181#define CLK_TVE0 157182#define CLK_TVE1 158183#define CLK_TVD0 159184#define CLK_TVD1 160185#define CLK_TVD2 161186#define CLK_TVD3 162187#define CLK_GPU 163188#define CLK_OUTA 164189#define CLK_OUTB 165190 191#endif /* _DT_BINDINGS_CLK_SUN8I_R40_H_ */192