#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#define USIAU0_RSTCTRL …
#define USIBU1_RSTCTRL …
#define USIBU2_RSTCTRL …
#define USIBU3_RSTCTRL …
#define IIC0_RSTCTRL …
#define IIC1_RSTCTRL …
#define STI_RSTCTRL …
#define STI_CLKSEL …
static DEFINE_SPINLOCK(lock);
static void __iomem *smu_base;
static void __init emev2_smu_write(unsigned long value, int offs)
{ … }
static const struct of_device_id smu_id[] __initconst = …;
static void __init emev2_smu_init(void)
{ … }
static void __init emev2_smu_clkdiv_init(struct device_node *np)
{ … }
CLK_OF_DECLARE(emev2_smu_clkdiv, "renesas,emev2-smu-clkdiv",
emev2_smu_clkdiv_init);
static void __init emev2_smu_gclk_init(struct device_node *np)
{ … }
CLK_OF_DECLARE(emev2_smu_gclk, "renesas,emev2-smu-gclk", emev2_smu_gclk_init);