xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/microchip,mpfs-clock.h (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c9ccf3a3SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2c9ccf3a3SEmmanuel Vadot /*
3c9ccf3a3SEmmanuel Vadot  * Daire McNamara,<daire.mcnamara@microchip.com>
4c9ccf3a3SEmmanuel Vadot  * Copyright (C) 2020-2022 Microchip Technology Inc.  All rights reserved.
5c9ccf3a3SEmmanuel Vadot  */
6c9ccf3a3SEmmanuel Vadot 
7c9ccf3a3SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_MICROCHIP_MPFS_H_
8c9ccf3a3SEmmanuel Vadot #define _DT_BINDINGS_CLK_MICROCHIP_MPFS_H_
9c9ccf3a3SEmmanuel Vadot 
10c9ccf3a3SEmmanuel Vadot #define CLK_CPU		0
11c9ccf3a3SEmmanuel Vadot #define CLK_AXI		1
12c9ccf3a3SEmmanuel Vadot #define CLK_AHB		2
13c9ccf3a3SEmmanuel Vadot 
14c9ccf3a3SEmmanuel Vadot #define CLK_ENVM	3
15c9ccf3a3SEmmanuel Vadot #define CLK_MAC0	4
16c9ccf3a3SEmmanuel Vadot #define CLK_MAC1	5
17c9ccf3a3SEmmanuel Vadot #define CLK_MMC		6
18c9ccf3a3SEmmanuel Vadot #define CLK_TIMER	7
19c9ccf3a3SEmmanuel Vadot #define CLK_MMUART0	8
20c9ccf3a3SEmmanuel Vadot #define CLK_MMUART1	9
21c9ccf3a3SEmmanuel Vadot #define CLK_MMUART2	10
22c9ccf3a3SEmmanuel Vadot #define CLK_MMUART3	11
23c9ccf3a3SEmmanuel Vadot #define CLK_MMUART4	12
24c9ccf3a3SEmmanuel Vadot #define CLK_SPI0	13
25c9ccf3a3SEmmanuel Vadot #define CLK_SPI1	14
26c9ccf3a3SEmmanuel Vadot #define CLK_I2C0	15
27c9ccf3a3SEmmanuel Vadot #define CLK_I2C1	16
28c9ccf3a3SEmmanuel Vadot #define CLK_CAN0	17
29c9ccf3a3SEmmanuel Vadot #define CLK_CAN1	18
30c9ccf3a3SEmmanuel Vadot #define CLK_USB		19
31c9ccf3a3SEmmanuel Vadot #define CLK_RESERVED	20
32c9ccf3a3SEmmanuel Vadot #define CLK_RTC		21
33c9ccf3a3SEmmanuel Vadot #define CLK_QSPI	22
34c9ccf3a3SEmmanuel Vadot #define CLK_GPIO0	23
35c9ccf3a3SEmmanuel Vadot #define CLK_GPIO1	24
36c9ccf3a3SEmmanuel Vadot #define CLK_GPIO2	25
37c9ccf3a3SEmmanuel Vadot #define CLK_DDRC	26
38c9ccf3a3SEmmanuel Vadot #define CLK_FIC0	27
39c9ccf3a3SEmmanuel Vadot #define CLK_FIC1	28
40c9ccf3a3SEmmanuel Vadot #define CLK_FIC2	29
41c9ccf3a3SEmmanuel Vadot #define CLK_FIC3	30
42c9ccf3a3SEmmanuel Vadot #define CLK_ATHENA	31
43c9ccf3a3SEmmanuel Vadot #define CLK_CFM		32
44c9ccf3a3SEmmanuel Vadot 
45c9ccf3a3SEmmanuel Vadot #define CLK_RTCREF	33
46c9ccf3a3SEmmanuel Vadot #define CLK_MSSPLL	34
47c9ccf3a3SEmmanuel Vadot 
48*7ef62cebSEmmanuel Vadot /* Clock Conditioning Circuitry Clock IDs */
49*7ef62cebSEmmanuel Vadot 
50*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL0		0
51*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL1		1
52*7ef62cebSEmmanuel Vadot #define CLK_CCC_DLL0		2
53*7ef62cebSEmmanuel Vadot #define CLK_CCC_DLL1		3
54*7ef62cebSEmmanuel Vadot 
55*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL0_OUT0	4
56*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL0_OUT1	5
57*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL0_OUT2	6
58*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL0_OUT3	7
59*7ef62cebSEmmanuel Vadot 
60*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL1_OUT0	8
61*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL1_OUT1	9
62*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL1_OUT2	10
63*7ef62cebSEmmanuel Vadot #define CLK_CCC_PLL1_OUT3	11
64*7ef62cebSEmmanuel Vadot 
65*7ef62cebSEmmanuel Vadot #define CLK_CCC_DLL0_OUT0	12
66*7ef62cebSEmmanuel Vadot #define CLK_CCC_DLL0_OUT1	13
67*7ef62cebSEmmanuel Vadot 
68*7ef62cebSEmmanuel Vadot #define CLK_CCC_DLL1_OUT0	14
69*7ef62cebSEmmanuel Vadot #define CLK_CCC_DLL1_OUT1	15
70*7ef62cebSEmmanuel Vadot 
71c9ccf3a3SEmmanuel Vadot #endif	/* _DT_BINDINGS_CLK_MICROCHIP_MPFS_H_ */
72