12c74b539SEric Anholt /*
22c74b539SEric Anholt  * Copyright (C) 2015 Broadcom Corporation
32c74b539SEric Anholt  *
42c74b539SEric Anholt  * This program is free software; you can redistribute it and/or
52c74b539SEric Anholt  * modify it under the terms of the GNU General Public License as
62c74b539SEric Anholt  * published by the Free Software Foundation version 2.
72c74b539SEric Anholt  *
82c74b539SEric Anholt  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
92c74b539SEric Anholt  * kind, whether express or implied; without even the implied warranty
102c74b539SEric Anholt  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
112c74b539SEric Anholt  * GNU General Public License for more details.
122c74b539SEric Anholt  */
132c74b539SEric Anholt 
142c74b539SEric Anholt #define BCM2835_PLLA			0
152c74b539SEric Anholt #define BCM2835_PLLB			1
162c74b539SEric Anholt #define BCM2835_PLLC			2
172c74b539SEric Anholt #define BCM2835_PLLD			3
182c74b539SEric Anholt #define BCM2835_PLLH			4
192c74b539SEric Anholt 
202c74b539SEric Anholt #define BCM2835_PLLA_CORE		5
212c74b539SEric Anholt #define BCM2835_PLLA_PER		6
222c74b539SEric Anholt #define BCM2835_PLLB_ARM		7
232c74b539SEric Anholt #define BCM2835_PLLC_CORE0		8
242c74b539SEric Anholt #define BCM2835_PLLC_CORE1		9
252c74b539SEric Anholt #define BCM2835_PLLC_CORE2		10
262c74b539SEric Anholt #define BCM2835_PLLC_PER		11
272c74b539SEric Anholt #define BCM2835_PLLD_CORE		12
282c74b539SEric Anholt #define BCM2835_PLLD_PER		13
292c74b539SEric Anholt #define BCM2835_PLLH_RCAL		14
302c74b539SEric Anholt #define BCM2835_PLLH_AUX		15
312c74b539SEric Anholt #define BCM2835_PLLH_PIX		16
322c74b539SEric Anholt 
332c74b539SEric Anholt #define BCM2835_CLOCK_TIMER		17
342c74b539SEric Anholt #define BCM2835_CLOCK_OTP		18
352c74b539SEric Anholt #define BCM2835_CLOCK_UART		19
362c74b539SEric Anholt #define BCM2835_CLOCK_VPU		20
372c74b539SEric Anholt #define BCM2835_CLOCK_V3D		21
382c74b539SEric Anholt #define BCM2835_CLOCK_ISP		22
392c74b539SEric Anholt #define BCM2835_CLOCK_H264		23
402c74b539SEric Anholt #define BCM2835_CLOCK_VEC		24
412c74b539SEric Anholt #define BCM2835_CLOCK_HSM		25
422c74b539SEric Anholt #define BCM2835_CLOCK_SDRAM		26
432c74b539SEric Anholt #define BCM2835_CLOCK_TSENS		27
442c74b539SEric Anholt #define BCM2835_CLOCK_EMMC		28
452c74b539SEric Anholt #define BCM2835_CLOCK_PERI_IMAGE	29
46cfbab8fbSRemi Pommarel #define BCM2835_CLOCK_PWM		30
4733b68960SMartin Sperl #define BCM2835_CLOCK_PCM		31
4872843695SMartin Sperl 
4972843695SMartin Sperl #define BCM2835_PLLA_DSI0		32
5072843695SMartin Sperl #define BCM2835_PLLA_CCP2		33
5172843695SMartin Sperl #define BCM2835_PLLD_DSI0		34
5272843695SMartin Sperl #define BCM2835_PLLD_DSI1		35
53d3d6f15fSMartin Sperl 
54d3d6f15fSMartin Sperl #define BCM2835_CLOCK_AVEO		36
55d3d6f15fSMartin Sperl #define BCM2835_CLOCK_DFT		37
56d3d6f15fSMartin Sperl #define BCM2835_CLOCK_GP0		38
57d3d6f15fSMartin Sperl #define BCM2835_CLOCK_GP1		39
58d3d6f15fSMartin Sperl #define BCM2835_CLOCK_GP2		40
59d3d6f15fSMartin Sperl #define BCM2835_CLOCK_SLIM		41
60d3d6f15fSMartin Sperl #define BCM2835_CLOCK_SMI		42
61d3d6f15fSMartin Sperl #define BCM2835_CLOCK_TEC		43
62d3d6f15fSMartin Sperl #define BCM2835_CLOCK_DPI		44
63d3d6f15fSMartin Sperl #define BCM2835_CLOCK_CAM0		45
64d3d6f15fSMartin Sperl #define BCM2835_CLOCK_CAM1		46
65d3d6f15fSMartin Sperl #define BCM2835_CLOCK_DSI0E		47
66d3d6f15fSMartin Sperl #define BCM2835_CLOCK_DSI1E		48
678a39e9faSEric Anholt #define BCM2835_CLOCK_DSI0P		49
688a39e9faSEric Anholt #define BCM2835_CLOCK_DSI1P		50
69