diff options
author | Tom Rini <trini@konsulko.com> | 2024-10-26 08:10:31 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-26 08:10:31 -0600 |
commit | 8963d433eb5d4a9f3a9def84e9c61a45c13e72bc (patch) | |
tree | 2721b8f554cfe71dfd4f857d71ec7c5cfca29c5e /arch/arm/mach-rockchip/rk3568/rk3568.c | |
parent | 47423b81c2991934152ba9034e63fd7d5c9e88f0 (diff) | |
parent | 7cec3e701940064b2cfc0cf8b80ff24c391c55ec (diff) | |
download | u-boot-8963d433eb5d4a9f3a9def84e9c61a45c13e72bc.tar.gz |
Merge tag 'u-boot-rockchip-20241026' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipWIP/26Oct2024
CI: https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/pipelines/22993
- New boards:
rk3566: Hardkernel ODROID-M1S
rk3588s: Hardkernel ODROID-M2
rk3588: NanoPC-T6 LTS
- Migrate to use USB_DWC3_GENERIC for rk3328
- Other board level config and dts update
Diffstat (limited to 'arch/arm/mach-rockchip/rk3568/rk3568.c')
-rw-r--r-- | arch/arm/mach-rockchip/rk3568/rk3568.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3568/rk3568.c b/arch/arm/mach-rockchip/rk3568/rk3568.c index 768a3739329..c9a32287e92 100644 --- a/arch/arm/mach-rockchip/rk3568/rk3568.c +++ b/arch/arm/mach-rockchip/rk3568/rk3568.c @@ -26,6 +26,8 @@ #define PMU_BASE_ADDR 0xfdd90000 #define PMU_NOC_AUTO_CON0 (0x70) #define PMU_NOC_AUTO_CON1 (0x74) +#define PMU_PWR_GATE_SFTCON (0xa0) +#define PMU_PD_VO_DWN_ENA BIT(7) #define EDP_PHY_GRF_BASE 0xfdcb0000 #define EDP_PHY_GRF_CON0 (EDP_PHY_GRF_BASE + 0x00) #define EDP_PHY_GRF_CON10 (EDP_PHY_GRF_BASE + 0x28) @@ -130,6 +132,10 @@ int arch_cpu_init(void) writel(0x3f3f0707, GRF_BASE + GRF_GPIO1C_DS_1); writel(0x3f3f0707, GRF_BASE + GRF_GPIO1C_DS_2); writel(0x3f3f0707, GRF_BASE + GRF_GPIO1C_DS_3); + + /* Enable VO power domain for display */ + writel((PMU_PD_VO_DWN_ENA << 16), + PMU_BASE_ADDR + PMU_PWR_GATE_SFTCON); #endif return 0; } |