main_gpio1 controls the voltage for the SDcard from 3.3v to 1.8v.
This is required for proper operation of SDcard through various boot
stages.

Fixes the following seen in the boot log:
failed to set vqmmc-voltage to 3.3V

Signed-off-by: Nishanth Menon <[email protected]>
---
Changes Since v1:
- None

V1: https://lore.kernel.org/r/[email protected]

Side note: patch was posted to upstream linux kernel:
https://lore.kernel.org/all/[email protected]/

I had originally thought it was OK to delay this patch, but the error
messages in boot log is annoying.

 arch/arm/dts/k3-am67a-beagley-ai-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/k3-am67a-beagley-ai-u-boot.dtsi 
b/arch/arm/dts/k3-am67a-beagley-ai-u-boot.dtsi
index 6c52038cdcaf..6330ca93fc74 100644
--- a/arch/arm/dts/k3-am67a-beagley-ai-u-boot.dtsi
+++ b/arch/arm/dts/k3-am67a-beagley-ai-u-boot.dtsi
@@ -53,6 +53,10 @@
        status = "disabled";
 };
 
+&main_gpio1 {
+       bootph-all;
+};
+
 #if IS_ENABLED(CONFIG_TARGET_J722S_R5_BEAGLEY_AI)
 
 &binman {
-- 
2.47.0

Reply via email to