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