From 148447d28838ed9fc117157b5b7a35043b8e9413 Mon Sep 17 00:00:00 2001
From: Marek Vasut <marex@denx.de>
Date: Mon, 16 Oct 2023 00:41:14 +0200
Subject: [PATCH] arm64: dts: imx8mp: Make GPIO3 available early in U-Boot
 proper on i.MX8MP DHCOM

The GPIO3 has to be available early during U-Boot proper start up for
DRAM size detect to work correctly. The GPIO3 is currently available in
SPL and late in U-Boot proper, which is insufficient. Add the missing
bootph-all to make the GPIO3 available also early in U-Boot proper.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 arch/arm/dts/imx8mp-dhcom-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/imx8mp-dhcom-u-boot.dtsi b/arch/arm/dts/imx8mp-dhcom-u-boot.dtsi
index a29db0ddd3..b05be57e71 100644
--- a/arch/arm/dts/imx8mp-dhcom-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-dhcom-u-boot.dtsi
@@ -42,6 +42,7 @@
 };
 
 &gpio3 {
+	bootph-all;
 	bootph-pre-ram;
 };
 
-- 
2.39.5