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 | |
Tom Rini | abb9a04 | 2024-05-18 20:20:43 -0600 | [diff] [blame] | 6 | #include <common.h> |
Andy Yan | b5e1630 | 2019-11-14 11:21:12 +0800 | [diff] [blame] | 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 | }; |