blob: 8117895434c658d6ee7af4d3ebf3fca6b37c300e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Kever Yangaa827752017-11-28 16:04:16 +08002/*
3 * (C) Copyright 2017 Rockchip Electronics Co., Ltd
Kever Yangaa827752017-11-28 16:04:16 +08004 */
5
6#include <common.h>
7#include <dm.h>
8#include <syscon.h>
9#include <asm/arch/clock.h>
10
11static const struct udevice_id rk3128_syscon_ids[] = {
12 { .compatible = "rockchip,rk3128-grf", .data = ROCKCHIP_SYSCON_GRF },
13 { }
14};
15
16U_BOOT_DRIVER(syscon_rk3128) = {
17 .name = "rk3128_syscon",
18 .id = UCLASS_SYSCON,
19 .of_match = rk3128_syscon_ids,
20};