diff options
Diffstat (limited to 'roms/u-boot/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c')
-rw-r--r-- | roms/u-boot/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c b/roms/u-boot/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c new file mode 100644 index 000000000..daf74a0e2 --- /dev/null +++ b/roms/u-boot/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * (C) Copyright 2016 Rockchip Electronics Co., Ltd + */ + +#include <common.h> +#include <asm/arch-rockchip/clock.h> +#include <dm.h> +#include <syscon.h> + +static const struct udevice_id rk3328_syscon_ids[] = { + { .compatible = "rockchip,rk3328-grf", .data = ROCKCHIP_SYSCON_GRF }, + { } +}; + +U_BOOT_DRIVER(rockchip_rk3328_grf) = { + .name = "rockchip_rk3328_grf", + .id = UCLASS_SYSCON, + .of_match = rk3328_syscon_ids, +}; |