blob: d68fbf1bd2514e11181e48041a539f5db09e10ab [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Andy Yan2d982da2017-06-01 18:00:55 +08002/*
3 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
Andy Yan2d982da2017-06-01 18:00:55 +08004 */
5
Andy Yan2d982da2017-06-01 18:00:55 +08006#include <dm.h>
7#include <syscon.h>
Kever Yang9fbe17c2019-03-28 11:01:23 +08008#include <asm/arch-rockchip/clock.h>
Andy Yan2d982da2017-06-01 18:00:55 +08009
10static const struct udevice_id rv1108_syscon_ids[] = {
11 { .compatible = "rockchip,rv1108-grf", .data = ROCKCHIP_SYSCON_GRF },
12 { }
13};
14
15U_BOOT_DRIVER(syscon_rv1108) = {
16 .name = "rv1108_syscon",
17 .id = UCLASS_SYSCON,
18 .of_match = rv1108_syscon_ids,
19};