xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/marvell,pxa1928.h (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot #ifndef __DTS_MARVELL_PXA1928_CLOCK_H
3*c66ec88fSEmmanuel Vadot #define __DTS_MARVELL_PXA1928_CLOCK_H
4*c66ec88fSEmmanuel Vadot 
5*c66ec88fSEmmanuel Vadot /*
6*c66ec88fSEmmanuel Vadot  * Clock ID values here correspond to the control register offset/4.
7*c66ec88fSEmmanuel Vadot  */
8*c66ec88fSEmmanuel Vadot 
9*c66ec88fSEmmanuel Vadot /* apb peripherals */
10*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_RTC			0x00
11*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TWSI0		0x01
12*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TWSI1		0x02
13*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TWSI2		0x03
14*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TWSI3		0x04
15*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_OWIRE		0x05
16*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_KPC			0x06
17*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TB_ROTARY		0x07
18*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SW_JTAG		0x08
19*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TIMER1		0x09
20*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_UART0		0x0b
21*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_UART1		0x0c
22*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_UART2		0x0d
23*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_GPIO		0x0e
24*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_PWM0		0x0f
25*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_PWM1		0x10
26*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_PWM2		0x11
27*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_PWM3		0x12
28*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SSP0		0x13
29*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SSP1		0x14
30*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SSP2		0x15
31*c66ec88fSEmmanuel Vadot 
32*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TWSI4		0x1f
33*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_TWSI5		0x20
34*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_UART3		0x22
35*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_THSENS_GLOB		0x24
36*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_THSENS_CPU		0x26
37*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_THSENS_VPU		0x27
38*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_THSENS_GC		0x28
39*c66ec88fSEmmanuel Vadot 
40*c66ec88fSEmmanuel Vadot 
41*c66ec88fSEmmanuel Vadot /* axi peripherals */
42*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SDH0		0x15
43*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SDH1		0x16
44*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_USB			0x17
45*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_NAND		0x18
46*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_DMA			0x19
47*c66ec88fSEmmanuel Vadot 
48*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SDH2		0x3a
49*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SDH3		0x3b
50*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_HSIC		0x3e
51*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_SDH4		0x57
52*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_GC3D		0x5d
53*c66ec88fSEmmanuel Vadot #define PXA1928_CLK_GC2D		0x5f
54*c66ec88fSEmmanuel Vadot 
55*c66ec88fSEmmanuel Vadot #endif
56