linux/include/dt-bindings/clock/bcm21664.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2013 Broadcom Corporation
 * Copyright 2013 Linaro Limited
 */

#ifndef _CLOCK_BCM21664_H
#define _CLOCK_BCM21664_H

/*
 * This file defines the values used to specify clocks provided by
 * the clock control units (CCUs) on Broadcom BCM21664 family SoCs.
 */

/* bcm21664 CCU device tree "compatible" strings */
#define BCM21664_DT_ROOT_CCU_COMPAT
#define BCM21664_DT_AON_CCU_COMPAT
#define BCM21664_DT_MASTER_CCU_COMPAT
#define BCM21664_DT_SLAVE_CCU_COMPAT

/* root CCU clock ids */

#define BCM21664_ROOT_CCU_FRAC_1M
#define BCM21664_ROOT_CCU_CLOCK_COUNT

/* aon CCU clock ids */

#define BCM21664_AON_CCU_HUB_TIMER
#define BCM21664_AON_CCU_CLOCK_COUNT

/* master CCU clock ids */

#define BCM21664_MASTER_CCU_SDIO1
#define BCM21664_MASTER_CCU_SDIO2
#define BCM21664_MASTER_CCU_SDIO3
#define BCM21664_MASTER_CCU_SDIO4
#define BCM21664_MASTER_CCU_SDIO1_SLEEP
#define BCM21664_MASTER_CCU_SDIO2_SLEEP
#define BCM21664_MASTER_CCU_SDIO3_SLEEP
#define BCM21664_MASTER_CCU_SDIO4_SLEEP
#define BCM21664_MASTER_CCU_CLOCK_COUNT

/* slave CCU clock ids */

#define BCM21664_SLAVE_CCU_UARTB
#define BCM21664_SLAVE_CCU_UARTB2
#define BCM21664_SLAVE_CCU_UARTB3
#define BCM21664_SLAVE_CCU_BSC1
#define BCM21664_SLAVE_CCU_BSC2
#define BCM21664_SLAVE_CCU_BSC3
#define BCM21664_SLAVE_CCU_BSC4
#define BCM21664_SLAVE_CCU_CLOCK_COUNT

#endif /* _CLOCK_BCM21664_H */