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