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

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

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

#define BCM21664_CCU_COMMON(_name, _capname)

/* 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 ccu_data aon_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 sdio1_sleep_data =;

static struct peri_clk_data sdio2_sleep_data =;

static struct peri_clk_data sdio3_sleep_data =;

static struct peri_clk_data sdio4_sleep_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 bsc1_data =;

static struct peri_clk_data bsc2_data =;

static struct peri_clk_data bsc3_data =;

static struct peri_clk_data bsc4_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_master_ccu_setup(struct device_node *node)
{}

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

CLK_OF_DECLARE(bcm21664_root_ccu, BCM21664_DT_ROOT_CCU_COMPAT,
			kona_dt_root_ccu_setup);
CLK_OF_DECLARE(bcm21664_aon_ccu, BCM21664_DT_AON_CCU_COMPAT,
			kona_dt_aon_ccu_setup);
CLK_OF_DECLARE(bcm21664_master_ccu, BCM21664_DT_MASTER_CCU_COMPAT,
			kona_dt_master_ccu_setup);
CLK_OF_DECLARE(bcm21664_slave_ccu, BCM21664_DT_SLAVE_CCU_COMPAT,
			kona_dt_slave_ccu_setup);