xref: /linux/include/dt-bindings/clock/microchip,mpfs-clock.h (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
12145bb68SDaire McNamara /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
22145bb68SDaire McNamara /*
32145bb68SDaire McNamara  * Daire McNamara,<daire.mcnamara@microchip.com>
48be99c7bSConor Dooley  * Copyright (C) 2020-2022 Microchip Technology Inc.  All rights reserved.
52145bb68SDaire McNamara  */
62145bb68SDaire McNamara 
72145bb68SDaire McNamara #ifndef _DT_BINDINGS_CLK_MICROCHIP_MPFS_H_
82145bb68SDaire McNamara #define _DT_BINDINGS_CLK_MICROCHIP_MPFS_H_
92145bb68SDaire McNamara 
102145bb68SDaire McNamara #define CLK_CPU		0
112145bb68SDaire McNamara #define CLK_AXI		1
122145bb68SDaire McNamara #define CLK_AHB		2
132145bb68SDaire McNamara 
142145bb68SDaire McNamara #define CLK_ENVM	3
152145bb68SDaire McNamara #define CLK_MAC0	4
162145bb68SDaire McNamara #define CLK_MAC1	5
172145bb68SDaire McNamara #define CLK_MMC		6
182145bb68SDaire McNamara #define CLK_TIMER	7
192145bb68SDaire McNamara #define CLK_MMUART0	8
202145bb68SDaire McNamara #define CLK_MMUART1	9
212145bb68SDaire McNamara #define CLK_MMUART2	10
222145bb68SDaire McNamara #define CLK_MMUART3	11
232145bb68SDaire McNamara #define CLK_MMUART4	12
242145bb68SDaire McNamara #define CLK_SPI0	13
252145bb68SDaire McNamara #define CLK_SPI1	14
262145bb68SDaire McNamara #define CLK_I2C0	15
272145bb68SDaire McNamara #define CLK_I2C1	16
282145bb68SDaire McNamara #define CLK_CAN0	17
292145bb68SDaire McNamara #define CLK_CAN1	18
302145bb68SDaire McNamara #define CLK_USB		19
312145bb68SDaire McNamara #define CLK_RESERVED	20
322145bb68SDaire McNamara #define CLK_RTC		21
332145bb68SDaire McNamara #define CLK_QSPI	22
342145bb68SDaire McNamara #define CLK_GPIO0	23
352145bb68SDaire McNamara #define CLK_GPIO1	24
362145bb68SDaire McNamara #define CLK_GPIO2	25
372145bb68SDaire McNamara #define CLK_DDRC	26
382145bb68SDaire McNamara #define CLK_FIC0	27
392145bb68SDaire McNamara #define CLK_FIC1	28
402145bb68SDaire McNamara #define CLK_FIC2	29
412145bb68SDaire McNamara #define CLK_FIC3	30
422145bb68SDaire McNamara #define CLK_ATHENA	31
432145bb68SDaire McNamara #define CLK_CFM		32
442145bb68SDaire McNamara 
458be99c7bSConor Dooley #define CLK_RTCREF	33
468be99c7bSConor Dooley #define CLK_MSSPLL	34
47*c886b729SConor Dooley #define CLK_MSSPLL0	34
48*c886b729SConor Dooley #define CLK_MSSPLL1	35
49*c886b729SConor Dooley #define CLK_MSSPLL2	36
50*c886b729SConor Dooley #define CLK_MSSPLL3	37
51*c886b729SConor Dooley /* 38 is reserved for MSS PLL internals */
528be99c7bSConor Dooley 
53b4b02524SConor Dooley /* Clock Conditioning Circuitry Clock IDs */
54b4b02524SConor Dooley 
55b4b02524SConor Dooley #define CLK_CCC_PLL0		0
56b4b02524SConor Dooley #define CLK_CCC_PLL1		1
57b4b02524SConor Dooley #define CLK_CCC_DLL0		2
58b4b02524SConor Dooley #define CLK_CCC_DLL1		3
59b4b02524SConor Dooley 
60b4b02524SConor Dooley #define CLK_CCC_PLL0_OUT0	4
61b4b02524SConor Dooley #define CLK_CCC_PLL0_OUT1	5
62b4b02524SConor Dooley #define CLK_CCC_PLL0_OUT2	6
63b4b02524SConor Dooley #define CLK_CCC_PLL0_OUT3	7
64b4b02524SConor Dooley 
65b4b02524SConor Dooley #define CLK_CCC_PLL1_OUT0	8
66b4b02524SConor Dooley #define CLK_CCC_PLL1_OUT1	9
67b4b02524SConor Dooley #define CLK_CCC_PLL1_OUT2	10
68b4b02524SConor Dooley #define CLK_CCC_PLL1_OUT3	11
69b4b02524SConor Dooley 
70b4b02524SConor Dooley #define CLK_CCC_DLL0_OUT0	12
71b4b02524SConor Dooley #define CLK_CCC_DLL0_OUT1	13
72b4b02524SConor Dooley 
73b4b02524SConor Dooley #define CLK_CCC_DLL1_OUT0	14
74b4b02524SConor Dooley #define CLK_CCC_DLL1_OUT1	15
75b4b02524SConor Dooley 
762145bb68SDaire McNamara #endif	/* _DT_BINDINGS_CLK_MICROCHIP_MPFS_H_ */
77