diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2016-08-16 17:58:10 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-09-22 07:32:22 -0600 |
commit | c55e30eb83f100753f3ed92c10ca3789c68fb8aa (patch) | |
tree | 1cf4aa22a9f29d25cfbd41528f9439b39272f24e /arch | |
parent | a2ed3f452dd1cf4982fe46d5111d200909786686 (diff) | |
download | u-boot-imx-c55e30eb83f100753f3ed92c10ca3789c68fb8aa.zip u-boot-imx-c55e30eb83f100753f3ed92c10ca3789c68fb8aa.tar.gz u-boot-imx-c55e30eb83f100753f3ed92c10ca3789c68fb8aa.tar.bz2 |
rk3399: syscon: add support for pmugrf
pmugrf is a module like grf which contain some of the iomux registers
and other registers.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-rockchip/clock.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/clock.h b/arch/arm/include/asm/arch-rockchip/clock.h index 21edbc2..804c77b 100644 --- a/arch/arm/include/asm/arch-rockchip/clock.h +++ b/arch/arm/include/asm/arch-rockchip/clock.h @@ -16,6 +16,7 @@ enum { ROCKCHIP_SYSCON_GRF, ROCKCHIP_SYSCON_SGRF, ROCKCHIP_SYSCON_PMU, + ROCKCHIP_SYSCON_PMUGRF, }; /* Standard Rockchip clock numbers */ diff --git a/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c b/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c index 2d81c55..2cef68b 100644 --- a/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c +++ b/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c @@ -11,6 +11,7 @@ static const struct udevice_id rk3399_syscon_ids[] = { { .compatible = "rockchip,rk3399-grf", .data = ROCKCHIP_SYSCON_GRF }, + { .compatible = "rockchip,rk3399-pmugrf", .data = ROCKCHIP_SYSCON_PMUGRF }, }; U_BOOT_DRIVER(syscon_rk3399) = { |