1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * This header provides constants for MPC512x clock specs in DT bindings.
4  */
5 
6 #ifndef _DT_BINDINGS_CLOCK_MPC512x_CLOCK_H
7 #define _DT_BINDINGS_CLOCK_MPC512x_CLOCK_H
8 
9 #define MPC512x_CLK_DUMMY		0
10 #define MPC512x_CLK_REF			1
11 #define MPC512x_CLK_SYS			2
12 #define MPC512x_CLK_DIU			3
13 #define MPC512x_CLK_VIU			4
14 #define MPC512x_CLK_CSB			5
15 #define MPC512x_CLK_E300		6
16 #define MPC512x_CLK_IPS			7
17 #define MPC512x_CLK_FEC			8
18 #define MPC512x_CLK_SATA		9
19 #define MPC512x_CLK_PATA		10
20 #define MPC512x_CLK_NFC			11
21 #define MPC512x_CLK_LPC			12
22 #define MPC512x_CLK_MBX_BUS		13
23 #define MPC512x_CLK_MBX			14
24 #define MPC512x_CLK_MBX_3D		15
25 #define MPC512x_CLK_AXE			16
26 #define MPC512x_CLK_USB1		17
27 #define MPC512x_CLK_USB2		18
28 #define MPC512x_CLK_I2C			19
29 #define MPC512x_CLK_MSCAN0_MCLK		20
30 #define MPC512x_CLK_MSCAN1_MCLK		21
31 #define MPC512x_CLK_MSCAN2_MCLK		22
32 #define MPC512x_CLK_MSCAN3_MCLK		23
33 #define MPC512x_CLK_BDLC		24
34 #define MPC512x_CLK_SDHC		25
35 #define MPC512x_CLK_PCI			26
36 #define MPC512x_CLK_PSC_MCLK_IN		27
37 #define MPC512x_CLK_SPDIF_TX		28
38 #define MPC512x_CLK_SPDIF_RX		29
39 #define MPC512x_CLK_SPDIF_MCLK		30
40 #define MPC512x_CLK_SPDIF		31
41 #define MPC512x_CLK_AC97		32
42 #define MPC512x_CLK_PSC0_MCLK		33
43 #define MPC512x_CLK_PSC1_MCLK		34
44 #define MPC512x_CLK_PSC2_MCLK		35
45 #define MPC512x_CLK_PSC3_MCLK		36
46 #define MPC512x_CLK_PSC4_MCLK		37
47 #define MPC512x_CLK_PSC5_MCLK		38
48 #define MPC512x_CLK_PSC6_MCLK		39
49 #define MPC512x_CLK_PSC7_MCLK		40
50 #define MPC512x_CLK_PSC8_MCLK		41
51 #define MPC512x_CLK_PSC9_MCLK		42
52 #define MPC512x_CLK_PSC10_MCLK		43
53 #define MPC512x_CLK_PSC11_MCLK		44
54 #define MPC512x_CLK_PSC_FIFO		45
55 #define MPC512x_CLK_PSC0		46
56 #define MPC512x_CLK_PSC1		47
57 #define MPC512x_CLK_PSC2		48
58 #define MPC512x_CLK_PSC3		49
59 #define MPC512x_CLK_PSC4		50
60 #define MPC512x_CLK_PSC5		51
61 #define MPC512x_CLK_PSC6		52
62 #define MPC512x_CLK_PSC7		53
63 #define MPC512x_CLK_PSC8		54
64 #define MPC512x_CLK_PSC9		55
65 #define MPC512x_CLK_PSC10		56
66 #define MPC512x_CLK_PSC11		57
67 #define MPC512x_CLK_SDHC2		58
68 #define MPC512x_CLK_FEC2		59
69 #define MPC512x_CLK_OUT0_CLK		60
70 #define MPC512x_CLK_OUT1_CLK		61
71 #define MPC512x_CLK_OUT2_CLK		62
72 #define MPC512x_CLK_OUT3_CLK		63
73 #define MPC512x_CLK_CAN_CLK_IN		64
74 
75 #define MPC512x_CLK_LAST_PUBLIC		64
76 
77 #endif
78