130 lines · c
1/*2 * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>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_A23_A33_H_44#define _DT_BINDINGS_CLK_SUN8I_A23_A33_H_45 46#define CLK_PLL_MIPI 1347 48#define CLK_CPUX 1849 50#define CLK_BUS_MIPI_DSI 2351#define CLK_BUS_SS 2452#define CLK_BUS_DMA 2553#define CLK_BUS_MMC0 2654#define CLK_BUS_MMC1 2755#define CLK_BUS_MMC2 2856#define CLK_BUS_NAND 2957#define CLK_BUS_DRAM 3058#define CLK_BUS_HSTIMER 3159#define CLK_BUS_SPI0 3260#define CLK_BUS_SPI1 3361#define CLK_BUS_OTG 3462#define CLK_BUS_EHCI 3563#define CLK_BUS_OHCI 3664#define CLK_BUS_VE 3765#define CLK_BUS_LCD 3866#define CLK_BUS_CSI 3967#define CLK_BUS_DE_BE 4068#define CLK_BUS_DE_FE 4169#define CLK_BUS_GPU 4270#define CLK_BUS_MSGBOX 4371#define CLK_BUS_SPINLOCK 4472#define CLK_BUS_DRC 4573#define CLK_BUS_SAT 4674#define CLK_BUS_CODEC 4775#define CLK_BUS_PIO 4876#define CLK_BUS_I2S0 4977#define CLK_BUS_I2S1 5078#define CLK_BUS_I2C0 5179#define CLK_BUS_I2C1 5280#define CLK_BUS_I2C2 5381#define CLK_BUS_UART0 5482#define CLK_BUS_UART1 5583#define CLK_BUS_UART2 5684#define CLK_BUS_UART3 5785#define CLK_BUS_UART4 5886#define CLK_NAND 5987#define CLK_MMC0 6088#define CLK_MMC0_SAMPLE 6189#define CLK_MMC0_OUTPUT 6290#define CLK_MMC1 6391#define CLK_MMC1_SAMPLE 6492#define CLK_MMC1_OUTPUT 6593#define CLK_MMC2 6694#define CLK_MMC2_SAMPLE 6795#define CLK_MMC2_OUTPUT 6896#define CLK_SS 6997#define CLK_SPI0 7098#define CLK_SPI1 7199#define CLK_I2S0 72100#define CLK_I2S1 73101#define CLK_USB_PHY0 74102#define CLK_USB_PHY1 75103#define CLK_USB_HSIC 76104#define CLK_USB_HSIC_12M 77105#define CLK_USB_OHCI 78106 107#define CLK_DRAM_VE 80108#define CLK_DRAM_CSI 81109#define CLK_DRAM_DRC 82110#define CLK_DRAM_DE_FE 83111#define CLK_DRAM_DE_BE 84112#define CLK_DE_BE 85113#define CLK_DE_FE 86114#define CLK_LCD_CH0 87115#define CLK_LCD_CH1 88116#define CLK_CSI_SCLK 89117#define CLK_CSI_MCLK 90118#define CLK_VE 91119#define CLK_AC_DIG 92120#define CLK_AC_DIG_4X 93121#define CLK_AVS 94122 123#define CLK_DSI_SCLK 96124#define CLK_DSI_DPHY 97125#define CLK_DRC 98126#define CLK_GPU 99127#define CLK_ATS 100128 129#endif /* _DT_BINDINGS_CLK_SUN8I_A23_A33_H_ */130