xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/bcm2835.h (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1 /*	$NetBSD: bcm2835.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
2 
3 /*
4  * Copyright (C) 2015 Broadcom Corporation
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation version 2.
9  *
10  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11  * kind, whether express or implied; without even the implied warranty
12  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15 
16 #define BCM2835_PLLA			0
17 #define BCM2835_PLLB			1
18 #define BCM2835_PLLC			2
19 #define BCM2835_PLLD			3
20 #define BCM2835_PLLH			4
21 
22 #define BCM2835_PLLA_CORE		5
23 #define BCM2835_PLLA_PER		6
24 #define BCM2835_PLLB_ARM		7
25 #define BCM2835_PLLC_CORE0		8
26 #define BCM2835_PLLC_CORE1		9
27 #define BCM2835_PLLC_CORE2		10
28 #define BCM2835_PLLC_PER		11
29 #define BCM2835_PLLD_CORE		12
30 #define BCM2835_PLLD_PER		13
31 #define BCM2835_PLLH_RCAL		14
32 #define BCM2835_PLLH_AUX		15
33 #define BCM2835_PLLH_PIX		16
34 
35 #define BCM2835_CLOCK_TIMER		17
36 #define BCM2835_CLOCK_OTP		18
37 #define BCM2835_CLOCK_UART		19
38 #define BCM2835_CLOCK_VPU		20
39 #define BCM2835_CLOCK_V3D		21
40 #define BCM2835_CLOCK_ISP		22
41 #define BCM2835_CLOCK_H264		23
42 #define BCM2835_CLOCK_VEC		24
43 #define BCM2835_CLOCK_HSM		25
44 #define BCM2835_CLOCK_SDRAM		26
45 #define BCM2835_CLOCK_TSENS		27
46 #define BCM2835_CLOCK_EMMC		28
47 #define BCM2835_CLOCK_PERI_IMAGE	29
48 #define BCM2835_CLOCK_PWM		30
49 #define BCM2835_CLOCK_PCM		31
50 
51 #define BCM2835_PLLA_DSI0		32
52 #define BCM2835_PLLA_CCP2		33
53 #define BCM2835_PLLD_DSI0		34
54 #define BCM2835_PLLD_DSI1		35
55 
56 #define BCM2835_CLOCK_AVEO		36
57 #define BCM2835_CLOCK_DFT		37
58 #define BCM2835_CLOCK_GP0		38
59 #define BCM2835_CLOCK_GP1		39
60 #define BCM2835_CLOCK_GP2		40
61 #define BCM2835_CLOCK_SLIM		41
62 #define BCM2835_CLOCK_SMI		42
63 #define BCM2835_CLOCK_TEC		43
64 #define BCM2835_CLOCK_DPI		44
65 #define BCM2835_CLOCK_CAM0		45
66 #define BCM2835_CLOCK_CAM1		46
67 #define BCM2835_CLOCK_DSI0E		47
68 #define BCM2835_CLOCK_DSI1E		48
69 #define BCM2835_CLOCK_DSI0P		49
70 #define BCM2835_CLOCK_DSI1P		50
71