55 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2/*3 * Copyright (C) 2013 Broadcom Corporation4 * Copyright 2013 Linaro Limited5 */6 7#ifndef _CLOCK_BCM21664_H8#define _CLOCK_BCM21664_H9 10/*11 * This file defines the values used to specify clocks provided by12 * the clock control units (CCUs) on Broadcom BCM21664 family SoCs.13 */14 15/* bcm21664 CCU device tree "compatible" strings */16#define BCM21664_DT_ROOT_CCU_COMPAT "brcm,bcm21664-root-ccu"17#define BCM21664_DT_AON_CCU_COMPAT "brcm,bcm21664-aon-ccu"18#define BCM21664_DT_MASTER_CCU_COMPAT "brcm,bcm21664-master-ccu"19#define BCM21664_DT_SLAVE_CCU_COMPAT "brcm,bcm21664-slave-ccu"20 21/* root CCU clock ids */22 23#define BCM21664_ROOT_CCU_FRAC_1M 024#define BCM21664_ROOT_CCU_CLOCK_COUNT 125 26/* aon CCU clock ids */27 28#define BCM21664_AON_CCU_HUB_TIMER 029#define BCM21664_AON_CCU_CLOCK_COUNT 130 31/* master CCU clock ids */32 33#define BCM21664_MASTER_CCU_SDIO1 034#define BCM21664_MASTER_CCU_SDIO2 135#define BCM21664_MASTER_CCU_SDIO3 236#define BCM21664_MASTER_CCU_SDIO4 337#define BCM21664_MASTER_CCU_SDIO1_SLEEP 438#define BCM21664_MASTER_CCU_SDIO2_SLEEP 539#define BCM21664_MASTER_CCU_SDIO3_SLEEP 640#define BCM21664_MASTER_CCU_SDIO4_SLEEP 741#define BCM21664_MASTER_CCU_CLOCK_COUNT 842 43/* slave CCU clock ids */44 45#define BCM21664_SLAVE_CCU_UARTB 046#define BCM21664_SLAVE_CCU_UARTB2 147#define BCM21664_SLAVE_CCU_UARTB3 248#define BCM21664_SLAVE_CCU_BSC1 349#define BCM21664_SLAVE_CCU_BSC2 450#define BCM21664_SLAVE_CCU_BSC3 551#define BCM21664_SLAVE_CCU_BSC4 652#define BCM21664_SLAVE_CCU_CLOCK_COUNT 753 54#endif /* _CLOCK_BCM21664_H */55