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>
This commit is contained in:
Robert Marko 2026-03-02 12:20:11 +01:00 committed by Claudiu Beznea
parent 6de23f81a5
commit 229eeb0ad9

View File

@ -0,0 +1,24 @@
/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
#ifndef _DTS_CLK_LAN9691_H
#define _DTS_CLK_LAN9691_H
#define GCK_ID_QSPI0 0
#define GCK_ID_QSPI2 1
#define GCK_ID_SDMMC0 2
#define GCK_ID_SDMMC1 3
#define GCK_ID_MCAN0 4
#define GCK_ID_MCAN1 5
#define GCK_ID_FLEXCOM0 6
#define GCK_ID_FLEXCOM1 7
#define GCK_ID_FLEXCOM2 8
#define GCK_ID_FLEXCOM3 9
#define GCK_ID_TIMER 10
#define GCK_ID_USB_REFCLK 11
/* Gate clocks */
#define GCK_GATE_USB_DRD 12
#define GCK_GATE_MCRAMC 13
#define GCK_GATE_HMATRIX 14
#endif