xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/microchip,lan966x.h (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1*e67e8565SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*e67e8565SEmmanuel Vadot /*
3*e67e8565SEmmanuel Vadot  * Copyright (c) 2021 Microchip Inc.
4*e67e8565SEmmanuel Vadot  *
5*e67e8565SEmmanuel Vadot  * Author: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
6*e67e8565SEmmanuel Vadot  */
7*e67e8565SEmmanuel Vadot 
8*e67e8565SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_LAN966X_H
9*e67e8565SEmmanuel Vadot #define _DT_BINDINGS_CLK_LAN966X_H
10*e67e8565SEmmanuel Vadot 
11*e67e8565SEmmanuel Vadot #define GCK_ID_QSPI0		0
12*e67e8565SEmmanuel Vadot #define GCK_ID_QSPI1		1
13*e67e8565SEmmanuel Vadot #define GCK_ID_QSPI2		2
14*e67e8565SEmmanuel Vadot #define GCK_ID_SDMMC0		3
15*e67e8565SEmmanuel Vadot #define GCK_ID_PI		4
16*e67e8565SEmmanuel Vadot #define GCK_ID_MCAN0		5
17*e67e8565SEmmanuel Vadot #define GCK_ID_MCAN1		6
18*e67e8565SEmmanuel Vadot #define GCK_ID_FLEXCOM0		7
19*e67e8565SEmmanuel Vadot #define GCK_ID_FLEXCOM1		8
20*e67e8565SEmmanuel Vadot #define GCK_ID_FLEXCOM2		9
21*e67e8565SEmmanuel Vadot #define GCK_ID_FLEXCOM3		10
22*e67e8565SEmmanuel Vadot #define GCK_ID_FLEXCOM4		11
23*e67e8565SEmmanuel Vadot #define GCK_ID_TIMER		12
24*e67e8565SEmmanuel Vadot #define GCK_ID_USB_REFCLK	13
25*e67e8565SEmmanuel Vadot 
26*e67e8565SEmmanuel Vadot /* Gate clocks */
27*e67e8565SEmmanuel Vadot #define GCK_GATE_UHPHS		14
28*e67e8565SEmmanuel Vadot #define GCK_GATE_UDPHS		15
29*e67e8565SEmmanuel Vadot #define GCK_GATE_MCRAMC		16
30*e67e8565SEmmanuel Vadot #define GCK_GATE_HMATRIX	17
31*e67e8565SEmmanuel Vadot 
32*e67e8565SEmmanuel Vadot #define N_CLOCKS		18
33*e67e8565SEmmanuel Vadot 
34*e67e8565SEmmanuel Vadot #endif
35