~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: c2fd16079902950043e0bf45fa93c1d9cf2645e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0+
/*
 * (C) Copyright 2015 Rockchip Electronics Co., Ltd
 */

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

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

U_BOOT_DRIVER(syscon_rk3036) = {
	.name = "rk3036_syscon",
	.id = UCLASS_SYSCON,
	.of_match = rk3036_syscon_ids,
};