blob: c2fd16079902950043e0bf45fa93c1d9cf2645e5 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
huang linb17b2422015-11-17 14:20:19 +08002/*
3 * (C) Copyright 2015 Rockchip Electronics Co., Ltd
huang linb17b2422015-11-17 14:20:19 +08004 */
5
6#include <common.h>
7#include <dm.h>
8#include <syscon.h>
Kever Yang9fbe17c2019-03-28 11:01:23 +08009#include <asm/arch-rockchip/clock.h>
huang linb17b2422015-11-17 14:20:19 +080010
11static const struct udevice_id rk3036_syscon_ids[] = {
12 { .compatible = "rockchip,rk3036-grf", .data = ROCKCHIP_SYSCON_GRF },
13 { }
14};
15
16U_BOOT_DRIVER(syscon_rk3036) = {
17 .name = "rk3036_syscon",
18 .id = UCLASS_SYSCON,
19 .of_match = rk3036_syscon_ids,
20};