Files
linux/include/dt-bindings/clock/microchip,lan966x.h
T
Horatiu Vultur 51d0a37dde dt-bindings: clock: lan966x: Extend includes with clock gates
On lan966x it is allow to control the clock to some peripherals like
USB. So extend the include file with these clocks.

Acked-by: Rob Herring <[email protected]>
Signed-off-by: Horatiu Vultur <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2021-12-08 11:19:20 +01:00

35 lines
762 B
C

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* Copyright (c) 2021 Microchip Inc.
*
* Author: Kavyasree Kotagiri <[email protected]>
*/
#ifndef _DT_BINDINGS_CLK_LAN966X_H
#define _DT_BINDINGS_CLK_LAN966X_H
#define GCK_ID_QSPI0 0
#define GCK_ID_QSPI1 1
#define GCK_ID_QSPI2 2
#define GCK_ID_SDMMC0 3
#define GCK_ID_PI 4
#define GCK_ID_MCAN0 5
#define GCK_ID_MCAN1 6
#define GCK_ID_FLEXCOM0 7
#define GCK_ID_FLEXCOM1 8
#define GCK_ID_FLEXCOM2 9
#define GCK_ID_FLEXCOM3 10
#define GCK_ID_FLEXCOM4 11
#define GCK_ID_TIMER 12
#define GCK_ID_USB_REFCLK 13
/* Gate clocks */
#define GCK_GATE_UHPHS 14
#define GCK_GATE_UDPHS 15
#define GCK_GATE_MCRAMC 16
#define GCK_GATE_HMATRIX 17
#define N_CLOCKS 18
#endif