2 * Copyright (C) 2016 Atmel Corporation
3 * Wenyou.Yang <wenyou.yang@atmel.com>
5 * SPDX-License-Identifier: GPL-2.0+
9 #include <clk-uclass.h>
10 #include <dm/device.h>
13 DECLARE_GLOBAL_DATA_PTR;
15 static int at91_sckc_clk_bind(struct udevice *dev)
17 return dm_scan_fdt_node(dev, gd->fdt_blob, dev->of_offset, false);
20 static const struct udevice_id at91_sckc_clk_match[] = {
21 { .compatible = "atmel,at91sam9x5-sckc" },
25 U_BOOT_DRIVER(at91_sckc_clk) = {
26 .name = "at91_sckc_clk",
28 .of_match = at91_sckc_clk_match,
29 .bind = at91_sckc_clk_bind,