blob: 28dd8cb20a53401cf201ef51ab15bd7d189dbcec [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Kever Yangec02b3c2017-02-23 15:37:51 +08002/*
3 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
Kever Yangec02b3c2017-02-23 15:37:51 +08004 */
5
6#include <common.h>
7#include <asm/arch/clock.h>
8#include <dm.h>
9#include <syscon.h>
10
11static const struct udevice_id rk3328_syscon_ids[] = {
12 { .compatible = "rockchip,rk3328-grf", .data = ROCKCHIP_SYSCON_GRF },
Kever Yange100a6d2017-09-06 15:58:25 +080013 { }
Kever Yangec02b3c2017-02-23 15:37:51 +080014};
15
16U_BOOT_DRIVER(syscon_rk3328) = {
17 .name = "rk3328_syscon",
18 .id = UCLASS_SYSCON,
19 .of_match = rk3328_syscon_ids,
20};