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