blob: 8a0eceb17877b15495ea4d56a91ff675ea3892a3 [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>
Kever Yang9fbe17c2019-03-28 11:01:23 +08007#include <asm/arch-rockchip/clock.h>
Kever Yangec02b3c2017-02-23 15:37:51 +08008#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};