From e1958506ae384fabdbe000c8b3055e1618d97bab Mon Sep 17 00:00:00 2001 From: Leonard Crestez Date: Mon, 6 May 2019 22:22:14 +0300 Subject: plat: imx8mq: gpc: Enable all power domain by default This is similar to imx8mm and allows uboot to run fastboot over USB otg. There is a different set of power domains on 8mq but same bits covers all off them. Signed-off-by: Leonard Crestez Change-Id: I1151c2bc2d32b1e02b4db16285b3d30cabc0d64d --- plat/imx/imx8m/imx8mq/gpc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plat/imx/imx8m/imx8mq') diff --git a/plat/imx/imx8m/imx8mq/gpc.c b/plat/imx/imx8m/imx8mq/gpc.c index 02c640b5..107b5391 100644 --- a/plat/imx/imx8m/imx8mq/gpc.c +++ b/plat/imx/imx8m/imx8mq/gpc.c @@ -162,4 +162,7 @@ void imx_gpc_init(void) */ mmio_clrbits_32(IMX_SRC_BASE + SRC_OTG1PHY_SCR, 0x1); mmio_clrbits_32(IMX_SRC_BASE + SRC_OTG2PHY_SCR, 0x1); + + /* enable all the power domain by default */ + mmio_write_32(IMX_GPC_BASE + PU_PGC_UP_TRG, 0x3fcf); } -- cgit v1.2.3