Skip to content

Commit 265d27c

Browse files
kavyasreekotagirinoglitch
authored andcommitted
dt-bindings: clock: lan966x: Add binding includes for lan966x SoC clock IDs
LAN966X supports 14 clock outputs for its peripherals. This include file is introduced to use identifiers for clocks. Signed-off-by: Kavyasree Kotagiri <[email protected]> Acked-by: Rob Herring <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fa55b7d commit 265d27c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* Copyright (c) 2021 Microchip Inc.
4+
*
5+
* Author: Kavyasree Kotagiri <[email protected]>
6+
*/
7+
8+
#ifndef _DT_BINDINGS_CLK_LAN966X_H
9+
#define _DT_BINDINGS_CLK_LAN966X_H
10+
11+
#define GCK_ID_QSPI0 0
12+
#define GCK_ID_QSPI1 1
13+
#define GCK_ID_QSPI2 2
14+
#define GCK_ID_SDMMC0 3
15+
#define GCK_ID_PI 4
16+
#define GCK_ID_MCAN0 5
17+
#define GCK_ID_MCAN1 6
18+
#define GCK_ID_FLEXCOM0 7
19+
#define GCK_ID_FLEXCOM1 8
20+
#define GCK_ID_FLEXCOM2 9
21+
#define GCK_ID_FLEXCOM3 10
22+
#define GCK_ID_FLEXCOM4 11
23+
#define GCK_ID_TIMER 12
24+
#define GCK_ID_USB_REFCLK 13
25+
26+
#define N_CLOCKS 14
27+
28+
#endif

0 commit comments

Comments
 (0)