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