blob: daf74a0e2d370fca68b4795541cad2d12607b5d3 [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
Walter Lozano2901ac62020-06-25 01:10:04 -030016U_BOOT_DRIVER(rockchip_rk3328_grf) = {
17 .name = "rockchip_rk3328_grf",
Kever Yangec02b3c2017-02-23 15:37:51 +080018 .id = UCLASS_SYSCON,
19 .of_match = rk3328_syscon_ids,
20};