blob: f81c57a48beef257dac69bfe27b40a955d23e5c2 [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
Kever Yangaa827752017-11-28 16:04:16 +08006#include <dm.h>
7#include <syscon.h>
Kever Yang9fbe17c2019-03-28 11:01:23 +08008#include <asm/arch-rockchip/clock.h>
Kever Yangaa827752017-11-28 16:04:16 +08009
10static const struct udevice_id rk3128_syscon_ids[] = {
11 { .compatible = "rockchip,rk3128-grf", .data = ROCKCHIP_SYSCON_GRF },
12 { }
13};
14
15U_BOOT_DRIVER(syscon_rk3128) = {
16 .name = "rk3128_syscon",
17 .id = UCLASS_SYSCON,
18 .of_match = rk3128_syscon_ids,
19};