xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/marvell,mmp2.h (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2c66ec88fSEmmanuel Vadot #ifndef __DTS_MARVELL_MMP2_CLOCK_H
3c66ec88fSEmmanuel Vadot #define __DTS_MARVELL_MMP2_CLOCK_H
4c66ec88fSEmmanuel Vadot 
5c66ec88fSEmmanuel Vadot /* fixed clocks and plls */
6c66ec88fSEmmanuel Vadot #define MMP2_CLK_CLK32			1
7c66ec88fSEmmanuel Vadot #define MMP2_CLK_VCTCXO			2
8c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1			3
9c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_2			8
10c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_4			9
11c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_8			10
12c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_16		11
13c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_3			12
14c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_6			13
15c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_12		14
16c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_20		15
17c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2			16
18c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_2			17
19c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_4			18
20c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_8			19
21c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_16		20
22c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_3			21
23c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_6			22
24c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_12		23
25c66ec88fSEmmanuel Vadot #define MMP2_CLK_VCTCXO_2		24
26c66ec88fSEmmanuel Vadot #define MMP2_CLK_VCTCXO_4		25
27c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART_PLL		26
28c66ec88fSEmmanuel Vadot #define MMP2_CLK_USB_PLL		27
29c66ec88fSEmmanuel Vadot #define MMP3_CLK_PLL1_P			28
30c66ec88fSEmmanuel Vadot #define MMP3_CLK_PLL2_P			29
31c66ec88fSEmmanuel Vadot #define MMP3_CLK_PLL3			30
32c66ec88fSEmmanuel Vadot #define MMP2_CLK_I2S0			31
33c66ec88fSEmmanuel Vadot #define MMP2_CLK_I2S1			32
34c66ec88fSEmmanuel Vadot 
35*c9ccf3a3SEmmanuel Vadot /* apb peripherals */
36c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI0			60
37c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI1			61
38c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI2			62
39c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI3			63
40c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI4			64
41c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI5			65
42c66ec88fSEmmanuel Vadot #define MMP2_CLK_GPIO			66
43c66ec88fSEmmanuel Vadot #define MMP2_CLK_KPC			67
44c66ec88fSEmmanuel Vadot #define MMP2_CLK_RTC			68
45c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM0			69
46c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM1			70
47c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM2			71
48c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM3			72
49c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART0			73
50c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART1			74
51c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART2			75
52c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART3			76
53c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP0			77
54c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP1			78
55c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP2			79
56c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP3			80
57c66ec88fSEmmanuel Vadot #define MMP2_CLK_TIMER			81
58c66ec88fSEmmanuel Vadot #define MMP2_CLK_THERMAL0		82
59c66ec88fSEmmanuel Vadot #define MMP3_CLK_THERMAL1		83
60c66ec88fSEmmanuel Vadot #define MMP3_CLK_THERMAL2		84
61c66ec88fSEmmanuel Vadot #define MMP3_CLK_THERMAL3		85
62c66ec88fSEmmanuel Vadot 
63*c9ccf3a3SEmmanuel Vadot /* axi peripherals */
64c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH0			101
65c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH1			102
66c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH2			103
67c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH3			104
68c66ec88fSEmmanuel Vadot #define MMP2_CLK_USB			105
69c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0			106
70c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0_MUX		107
71c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0_SPHY		108
72c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP1			109
73c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP1_MUX		110
74c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC_ARBITER		111
75c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0			112
76c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0_MIX		113
77c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0_PHY		114
78c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0_SPHY		115
79c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1			116
80c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1_MIX		117
81c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1_PHY		118
82c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1_SPHY		119
83c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0_LCDC		120
84c66ec88fSEmmanuel Vadot #define MMP2_CLK_USBHSIC0		121
85c66ec88fSEmmanuel Vadot #define MMP2_CLK_USBHSIC1		122
86c66ec88fSEmmanuel Vadot #define MMP2_CLK_GPU_BUS		123
87c66ec88fSEmmanuel Vadot #define MMP3_CLK_GPU_BUS		MMP2_CLK_GPU_BUS
88c66ec88fSEmmanuel Vadot #define MMP2_CLK_GPU_3D			124
89c66ec88fSEmmanuel Vadot #define MMP3_CLK_GPU_3D			MMP2_CLK_GPU_3D
90c66ec88fSEmmanuel Vadot #define MMP3_CLK_GPU_2D			125
91c66ec88fSEmmanuel Vadot #define MMP3_CLK_SDH4			126
92c66ec88fSEmmanuel Vadot #define MMP2_CLK_AUDIO			127
93c66ec88fSEmmanuel Vadot 
94c66ec88fSEmmanuel Vadot #endif
95