summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c
blob: 9a2c88d6dc9e466a3cd32be71c6c0e594cbf1e35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <common.h>
#include <asm/arch/clock.h>
#include <dm.h>
#include <syscon.h>

static const struct udevice_id rk3328_syscon_ids[] = {
	{ .compatible = "rockchip,rk3328-grf", .data = ROCKCHIP_SYSCON_GRF },
	{ }
};

U_BOOT_DRIVER(syscon_rk3328) = {
	.name = "rk3328_syscon",
	.id = UCLASS_SYSCON,
	.of_match = rk3328_syscon_ids,
};