blob: 2cef68bc4df45c56e49dd2a686242dba642e6de1 [file] [log] [blame]
Kever Yangca19eac2016-07-29 10:35:25 +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 <dm.h>
9#include <syscon.h>
10#include <asm/arch/clock.h>
11
12static const struct udevice_id rk3399_syscon_ids[] = {
13 { .compatible = "rockchip,rk3399-grf", .data = ROCKCHIP_SYSCON_GRF },
Kever Yange3eba162016-08-16 17:58:10 +080014 { .compatible = "rockchip,rk3399-pmugrf", .data = ROCKCHIP_SYSCON_PMUGRF },
Kever Yangca19eac2016-07-29 10:35:25 +080015};
16
17U_BOOT_DRIVER(syscon_rk3399) = {
18 .name = "rk3399_syscon",
19 .id = UCLASS_SYSCON,
20 .of_match = rk3399_syscon_ids,
21};