diff --git a/plat/rockchip/rk3399/drivers/pmu/m0_ctl.c b/plat/rockchip/rk3399/drivers/pmu/m0_ctl.c
index 11bc0eaefb18638cd302ba88fff58181a6ac90a6..66f3a19c864883fa552f0379b3a693ab9ea5b73d 100644
--- a/plat/rockchip/rk3399/drivers/pmu/m0_ctl.c
+++ b/plat/rockchip/rk3399/drivers/pmu/m0_ctl.c
@@ -53,7 +53,8 @@ void m0_init(void)
 				      0xf, 0));
 
 	/* gating disable for M0 */
-	mmio_write_32(PMUCRU_BASE + PMUCRU_GATEDIS_CON0, BIT_WITH_WMSK(0));
+	mmio_write_32(PMUCRU_BASE + PMUCRU_GATEDIS_CON0,
+		      BITS_WITH_WMASK(0x3, 0x3, 0));
 
 	/*
 	 * To switch the parent to xin24M and div == 1,