Skip to content

Commit 229eeb0

Browse files
robimarkoclaudiubeznea
authored andcommitted
arm64: dts: microchip: add LAN969x clock header file
LAN969x uses hardware clock indexes, so document theses in a header to make them humanly readable. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Link: https://lore.kernel.org/r/20260302112153.464422-4-robert.marko@sartura.hr Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
1 parent 6de23f8 commit 229eeb0

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
2+
3+
#ifndef _DTS_CLK_LAN9691_H
4+
#define _DTS_CLK_LAN9691_H
5+
6+
#define GCK_ID_QSPI0 0
7+
#define GCK_ID_QSPI2 1
8+
#define GCK_ID_SDMMC0 2
9+
#define GCK_ID_SDMMC1 3
10+
#define GCK_ID_MCAN0 4
11+
#define GCK_ID_MCAN1 5
12+
#define GCK_ID_FLEXCOM0 6
13+
#define GCK_ID_FLEXCOM1 7
14+
#define GCK_ID_FLEXCOM2 8
15+
#define GCK_ID_FLEXCOM3 9
16+
#define GCK_ID_TIMER 10
17+
#define GCK_ID_USB_REFCLK 11
18+
19+
/* Gate clocks */
20+
#define GCK_GATE_USB_DRD 12
21+
#define GCK_GATE_MCRAMC 13
22+
#define GCK_GATE_HMATRIX 14
23+
24+
#endif

0 commit comments

Comments
 (0)