Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Andy Yan | 2d982da | 2017-06-01 18:00:55 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2016 Rockchip Electronics Co., Ltd |
Andy Yan | 2d982da | 2017-06-01 18:00:55 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <common.h> |
| 7 | #include <dm.h> |
| 8 | #include <syscon.h> |
Kever Yang | 9fbe17c | 2019-03-28 11:01:23 +0800 | [diff] [blame] | 9 | #include <asm/arch-rockchip/clock.h> |
Andy Yan | 2d982da | 2017-06-01 18:00:55 +0800 | [diff] [blame] | 10 | |
| 11 | static const struct udevice_id rv1108_syscon_ids[] = { |
| 12 | { .compatible = "rockchip,rv1108-grf", .data = ROCKCHIP_SYSCON_GRF }, |
| 13 | { } |
| 14 | }; |
| 15 | |
| 16 | U_BOOT_DRIVER(syscon_rv1108) = { |
| 17 | .name = "rv1108_syscon", |
| 18 | .id = UCLASS_SYSCON, |
| 19 | .of_match = rv1108_syscon_ids, |
| 20 | }; |