linux/drivers/clk/bcm/clk-bcm281xx.c

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

#include "clk-kona.h"
#include "dt-bindings/clock/bcm281xx.h"

#define BCM281XX_CCU_COMMON(_name, _ucase_name)

/* Root CCU */

static struct peri_clk_data frac_1m_data =;

static struct ccu_data root_ccu_data =;

/* AON CCU */

static struct peri_clk_data hub_timer_data =;

static struct peri_clk_data pmu_bsc_data =;

static struct peri_clk_data pmu_bsc_var_data =;

static struct ccu_data aon_ccu_data =;

/* Hub CCU */

static struct peri_clk_data tmon_1m_data =;

static struct ccu_data hub_ccu_data =;

/* Master CCU */

static struct peri_clk_data sdio1_data =;

static struct peri_clk_data sdio2_data =;

static struct peri_clk_data sdio3_data =;

static struct peri_clk_data sdio4_data =;

static struct peri_clk_data usb_ic_data =;

/* also called usbh_48m */
static struct peri_clk_data hsic2_48m_data =;

/* also called usbh_12m */
static struct peri_clk_data hsic2_12m_data =;

static struct ccu_data master_ccu_data =;

/* Slave CCU */

static struct peri_clk_data uartb_data =;

static struct peri_clk_data uartb2_data =;

static struct peri_clk_data uartb3_data =;

static struct peri_clk_data uartb4_data =;

static struct peri_clk_data ssp0_data =;

static struct peri_clk_data ssp2_data =;

static struct peri_clk_data bsc1_data =;

static struct peri_clk_data bsc2_data =;

static struct peri_clk_data bsc3_data =;

static struct peri_clk_data pwm_data =;

static struct ccu_data slave_ccu_data =;

/* Device tree match table callback functions */

static void __init kona_dt_root_ccu_setup(struct device_node *node)
{}

static void __init kona_dt_aon_ccu_setup(struct device_node *node)
{}

static void __init kona_dt_hub_ccu_setup(struct device_node *node)
{}

static void __init kona_dt_master_ccu_setup(struct device_node *node)
{}

static void __init kona_dt_slave_ccu_setup(struct device_node *node)
{}

CLK_OF_DECLARE(bcm281xx_root_ccu, BCM281XX_DT_ROOT_CCU_COMPAT,
			kona_dt_root_ccu_setup);
CLK_OF_DECLARE(bcm281xx_aon_ccu, BCM281XX_DT_AON_CCU_COMPAT,
			kona_dt_aon_ccu_setup);
CLK_OF_DECLARE(bcm281xx_hub_ccu, BCM281XX_DT_HUB_CCU_COMPAT,
			kona_dt_hub_ccu_setup);
CLK_OF_DECLARE(bcm281xx_master_ccu, BCM281XX_DT_MASTER_CCU_COMPAT,
			kona_dt_master_ccu_setup);
CLK_OF_DECLARE(bcm281xx_slave_ccu, BCM281XX_DT_SLAVE_CCU_COMPAT,
			kona_dt_slave_ccu_setup);