Kever Yang | ec02b3c | 2017-02-23 15:37:51 +0800 | [diff] [blame^] | 1 | /* |
2 | * (C) Copyright 2016 Rockchip Electronics Co., Ltd | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
7 | #include <common.h> | ||||
8 | #include <asm/arch/clock.h> | ||||
9 | #include <dm.h> | ||||
10 | #include <syscon.h> | ||||
11 | |||||
12 | static const struct udevice_id rk3328_syscon_ids[] = { | ||||
13 | { .compatible = "rockchip,rk3328-grf", .data = ROCKCHIP_SYSCON_GRF }, | ||||
14 | }; | ||||
15 | |||||
16 | U_BOOT_DRIVER(syscon_rk3328) = { | ||||
17 | .name = "rk3328_syscon", | ||||
18 | .id = UCLASS_SYSCON, | ||||
19 | .of_match = rk3328_syscon_ids, | ||||
20 | }; |