Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Kever Yang | aa82775 | 2017-11-28 16:04:16 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Rockchip Electronics Co., Ltd |
Kever Yang | aa82775 | 2017-11-28 16:04:16 +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> |
Kever Yang | aa82775 | 2017-11-28 16:04:16 +0800 | [diff] [blame] | 10 | |
| 11 | static const struct udevice_id rk3128_syscon_ids[] = { |
| 12 | { .compatible = "rockchip,rk3128-grf", .data = ROCKCHIP_SYSCON_GRF }, |
| 13 | { } |
| 14 | }; |
| 15 | |
| 16 | U_BOOT_DRIVER(syscon_rk3128) = { |
| 17 | .name = "rk3128_syscon", |
| 18 | .id = UCLASS_SYSCON, |
| 19 | .of_match = rk3128_syscon_ids, |
| 20 | }; |