Skip to content

Commit 4299f85

Browse files
lpovlsenbebarino
authored andcommitted
dt-bindings: clock: sparx5: Add bindings include file
The Sparx5 support 9 different clock outputs. This include file has defines for each supported clock ordinal. Signed-off-by: Lars Povlsen <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent b3a9e3b commit 4299f85

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
2+
/*
3+
* Copyright (c) 2019 Microchip Inc.
4+
*
5+
* Author: Lars Povlsen <[email protected]>
6+
*/
7+
8+
#ifndef _DT_BINDINGS_CLK_SPARX5_H
9+
#define _DT_BINDINGS_CLK_SPARX5_H
10+
11+
#define CLK_ID_CORE 0
12+
#define CLK_ID_DDR 1
13+
#define CLK_ID_CPU2 2
14+
#define CLK_ID_ARM2 3
15+
#define CLK_ID_AUX1 4
16+
#define CLK_ID_AUX2 5
17+
#define CLK_ID_AUX3 6
18+
#define CLK_ID_AUX4 7
19+
#define CLK_ID_SYNCE 8
20+
21+
#define N_CLOCKS 9
22+
23+
#endif

0 commit comments

Comments
 (0)