70 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_BCM281XX_H8#define _CLOCK_BCM281XX_H9 10/*11 * This file defines the values used to specify clocks provided by12 * the clock control units (CCUs) on Broadcom BCM281XX family SoCs.13 */14 15/*16 * These are the bcm281xx CCU device tree "compatible" strings.17 * We're stuck with using "bcm11351" in the string because wild18 * cards aren't allowed, and that name was the first one defined19 * in this family of devices.20 */21#define BCM281XX_DT_ROOT_CCU_COMPAT "brcm,bcm11351-root-ccu"22#define BCM281XX_DT_AON_CCU_COMPAT "brcm,bcm11351-aon-ccu"23#define BCM281XX_DT_HUB_CCU_COMPAT "brcm,bcm11351-hub-ccu"24#define BCM281XX_DT_MASTER_CCU_COMPAT "brcm,bcm11351-master-ccu"25#define BCM281XX_DT_SLAVE_CCU_COMPAT "brcm,bcm11351-slave-ccu"26 27/* root CCU clock ids */28 29#define BCM281XX_ROOT_CCU_FRAC_1M 030#define BCM281XX_ROOT_CCU_CLOCK_COUNT 131 32/* aon CCU clock ids */33 34#define BCM281XX_AON_CCU_HUB_TIMER 035#define BCM281XX_AON_CCU_PMU_BSC 136#define BCM281XX_AON_CCU_PMU_BSC_VAR 237#define BCM281XX_AON_CCU_CLOCK_COUNT 338 39/* hub CCU clock ids */40 41#define BCM281XX_HUB_CCU_TMON_1M 042#define BCM281XX_HUB_CCU_CLOCK_COUNT 143 44/* master CCU clock ids */45 46#define BCM281XX_MASTER_CCU_SDIO1 047#define BCM281XX_MASTER_CCU_SDIO2 148#define BCM281XX_MASTER_CCU_SDIO3 249#define BCM281XX_MASTER_CCU_SDIO4 350#define BCM281XX_MASTER_CCU_USB_IC 451#define BCM281XX_MASTER_CCU_HSIC2_48M 552#define BCM281XX_MASTER_CCU_HSIC2_12M 653#define BCM281XX_MASTER_CCU_CLOCK_COUNT 754 55/* slave CCU clock ids */56 57#define BCM281XX_SLAVE_CCU_UARTB 058#define BCM281XX_SLAVE_CCU_UARTB2 159#define BCM281XX_SLAVE_CCU_UARTB3 260#define BCM281XX_SLAVE_CCU_UARTB4 361#define BCM281XX_SLAVE_CCU_SSP0 462#define BCM281XX_SLAVE_CCU_SSP2 563#define BCM281XX_SLAVE_CCU_BSC1 664#define BCM281XX_SLAVE_CCU_BSC2 765#define BCM281XX_SLAVE_CCU_BSC3 866#define BCM281XX_SLAVE_CCU_PWM 967#define BCM281XX_SLAVE_CCU_CLOCK_COUNT 1068 69#endif /* _CLOCK_BCM281XX_H */70