Home | History | Annotate | Line # | Download | only in clock
      1  1.1  jmcneill /*	$NetBSD: actions,s700-cmu.h,v 1.1.1.1 2019/01/22 14:57:02 jmcneill Exp $	*/
      2  1.1  jmcneill 
      3  1.1  jmcneill /* SPDX-License-Identifier: GPL-2.0
      4  1.1  jmcneill  *
      5  1.1  jmcneill  * Device Tree binding constants for Actions Semi S700 Clock Management Unit
      6  1.1  jmcneill  *
      7  1.1  jmcneill  * Copyright (c) 2014 Actions Semi Inc.
      8  1.1  jmcneill  * Author: David Liu <liuwei (at) actions-semi.com>
      9  1.1  jmcneill  *
     10  1.1  jmcneill  * Author: Pathiban Nallathambi <pn (at) denx.de>
     11  1.1  jmcneill  * Author: Saravanan Sekar <sravanhome (at) gmail.com>
     12  1.1  jmcneill  */
     13  1.1  jmcneill 
     14  1.1  jmcneill #ifndef __DT_BINDINGS_CLOCK_S700_H
     15  1.1  jmcneill #define __DT_BINDINGS_CLOCK_S700_H
     16  1.1  jmcneill 
     17  1.1  jmcneill #define CLK_NONE			0
     18  1.1  jmcneill 
     19  1.1  jmcneill /* pll clocks */
     20  1.1  jmcneill #define CLK_CORE_PLL			1
     21  1.1  jmcneill #define CLK_DEV_PLL			2
     22  1.1  jmcneill #define CLK_DDR_PLL			3
     23  1.1  jmcneill #define CLK_NAND_PLL			4
     24  1.1  jmcneill #define CLK_DISPLAY_PLL			5
     25  1.1  jmcneill #define CLK_TVOUT_PLL			6
     26  1.1  jmcneill #define CLK_CVBS_PLL			7
     27  1.1  jmcneill #define CLK_AUDIO_PLL			8
     28  1.1  jmcneill #define CLK_ETHERNET_PLL		9
     29  1.1  jmcneill 
     30  1.1  jmcneill /* system clock */
     31  1.1  jmcneill #define CLK_CPU				10
     32  1.1  jmcneill #define CLK_DEV				11
     33  1.1  jmcneill #define CLK_AHB				12
     34  1.1  jmcneill #define CLK_APB				13
     35  1.1  jmcneill #define CLK_DMAC			14
     36  1.1  jmcneill #define CLK_NOC0_CLK_MUX		15
     37  1.1  jmcneill #define CLK_NOC1_CLK_MUX		16
     38  1.1  jmcneill #define CLK_HP_CLK_MUX			17
     39  1.1  jmcneill #define CLK_HP_CLK_DIV			18
     40  1.1  jmcneill #define CLK_NOC1_CLK_DIV		19
     41  1.1  jmcneill #define CLK_NOC0			20
     42  1.1  jmcneill #define CLK_NOC1			21
     43  1.1  jmcneill #define CLK_SENOR_SRC			22
     44  1.1  jmcneill 
     45  1.1  jmcneill /* peripheral device clock */
     46  1.1  jmcneill #define CLK_GPIO			23
     47  1.1  jmcneill #define CLK_TIMER			24
     48  1.1  jmcneill #define CLK_DSI				25
     49  1.1  jmcneill #define CLK_CSI				26
     50  1.1  jmcneill #define CLK_SI				27
     51  1.1  jmcneill #define CLK_DE				28
     52  1.1  jmcneill #define CLK_HDE				29
     53  1.1  jmcneill #define CLK_VDE				30
     54  1.1  jmcneill #define CLK_VCE				31
     55  1.1  jmcneill #define CLK_NAND			32
     56  1.1  jmcneill #define CLK_SD0				33
     57  1.1  jmcneill #define CLK_SD1				34
     58  1.1  jmcneill #define CLK_SD2				35
     59  1.1  jmcneill 
     60  1.1  jmcneill #define CLK_UART0			36
     61  1.1  jmcneill #define CLK_UART1			37
     62  1.1  jmcneill #define CLK_UART2			38
     63  1.1  jmcneill #define CLK_UART3			39
     64  1.1  jmcneill #define CLK_UART4			40
     65  1.1  jmcneill #define CLK_UART5			41
     66  1.1  jmcneill #define CLK_UART6			42
     67  1.1  jmcneill 
     68  1.1  jmcneill #define CLK_PWM0			43
     69  1.1  jmcneill #define CLK_PWM1			44
     70  1.1  jmcneill #define CLK_PWM2			45
     71  1.1  jmcneill #define CLK_PWM3			46
     72  1.1  jmcneill #define CLK_PWM4			47
     73  1.1  jmcneill #define CLK_PWM5			48
     74  1.1  jmcneill #define CLK_GPU3D			49
     75  1.1  jmcneill 
     76  1.1  jmcneill #define CLK_I2C0			50
     77  1.1  jmcneill #define CLK_I2C1			51
     78  1.1  jmcneill #define CLK_I2C2			52
     79  1.1  jmcneill #define CLK_I2C3			53
     80  1.1  jmcneill 
     81  1.1  jmcneill #define CLK_SPI0			54
     82  1.1  jmcneill #define CLK_SPI1			55
     83  1.1  jmcneill #define CLK_SPI2			56
     84  1.1  jmcneill #define CLK_SPI3			57
     85  1.1  jmcneill 
     86  1.1  jmcneill #define CLK_USB3_480MPLL0		58
     87  1.1  jmcneill #define CLK_USB3_480MPHY0		59
     88  1.1  jmcneill #define CLK_USB3_5GPHY			60
     89  1.1  jmcneill #define CLK_USB3_CCE			61
     90  1.1  jmcneill #define CLK_USB3_MAC			62
     91  1.1  jmcneill 
     92  1.1  jmcneill #define CLK_LCD				63
     93  1.1  jmcneill #define CLK_HDMI_AUDIO			64
     94  1.1  jmcneill #define CLK_I2SRX			65
     95  1.1  jmcneill #define CLK_I2STX			66
     96  1.1  jmcneill 
     97  1.1  jmcneill #define CLK_SENSOR0			67
     98  1.1  jmcneill #define CLK_SENSOR1			68
     99  1.1  jmcneill 
    100  1.1  jmcneill #define CLK_HDMI_DEV			69
    101  1.1  jmcneill 
    102  1.1  jmcneill #define CLK_ETHERNET			70
    103  1.1  jmcneill #define CLK_RMII_REF			71
    104  1.1  jmcneill 
    105  1.1  jmcneill #define CLK_USB2H0_PLLEN		72
    106  1.1  jmcneill #define CLK_USB2H0_PHY			73
    107  1.1  jmcneill #define CLK_USB2H0_CCE			74
    108  1.1  jmcneill #define CLK_USB2H1_PLLEN		75
    109  1.1  jmcneill #define CLK_USB2H1_PHY			76
    110  1.1  jmcneill #define CLK_USB2H1_CCE			77
    111  1.1  jmcneill 
    112  1.1  jmcneill #define CLK_TVOUT			78
    113  1.1  jmcneill 
    114  1.1  jmcneill #define CLK_THERMAL_SENSOR		79
    115  1.1  jmcneill 
    116  1.1  jmcneill #define CLK_IRC_SWITCH			80
    117  1.1  jmcneill #define CLK_PCM1			81
    118  1.1  jmcneill #define CLK_NR_CLKS			(CLK_PCM1 + 1)
    119  1.1  jmcneill 
    120  1.1  jmcneill #endif /* __DT_BINDINGS_CLOCK_S700_H */
    121