blob: 1b11b8cbebc66e319b9eaac7b03ed35fba26d709 [file] [log] [blame]
Kever Yang57d4dbf2017-06-23 17:17:52 +08001/*
2 * (C) Copyright 2017 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 rk322x_syscon_ids[] = {
13 { .compatible = "rockchip,rk3228-grf", .data = ROCKCHIP_SYSCON_GRF },
14 { .compatible = "rockchip,rk3228-msch", .data = ROCKCHIP_SYSCON_MSCH },
15 { }
16};
17
18U_BOOT_DRIVER(syscon_rk322x) = {
19 .name = "rk322x_syscon",
20 .id = UCLASS_SYSCON,
21 .of_match = rk322x_syscon_ids,
22};