Now that the zynqmp pinctrl driver supports the tri-state registers, this patch
makes sure that the pins requiring output-enable are configured appropriately
for the KR260 Starter Kit.

Without this patch, the USB to SD card bridge on the KR260 starter kit is not
enabled correctly when booting via SPL.  This causes u-boot to fail to detect
the SD card interface.

Signed-off-by: Neal Frager <neal.fra...@amd.com>
---
 arch/arm/dts/zynqmp-sck-kr-g-revB.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dts 
b/arch/arm/dts/zynqmp-sck-kr-g-revB.dts
index 1ebbe683f3..104e67ddf8 100644
--- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dts
+++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dts
@@ -248,6 +248,7 @@
                conf-tx {
                        pins = "MIO36";
                        bias-disable;
+                       output-enable;
                };
 
                mux {
@@ -299,6 +300,7 @@
                conf-bootstrap {
                        pins = "MIO45", "MIO47", "MIO49";
                        bias-disable;
+                       output-enable;
                        low-power-disable;
                };
 
@@ -306,6 +308,7 @@
                        pins = "MIO38", "MIO39", "MIO40",
                                "MIO41", "MIO42", "MIO43";
                        bias-disable;
+                       output-enable;
                        low-power-enable;
                };
 
@@ -314,6 +317,7 @@
                        slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                        bias-disable;
+                       output-enable;
                };
 
                mux-mdio {
@@ -344,6 +348,7 @@
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                        "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       output-enable;
                        drive-strength = <4>;
                        slew-rate = <SLEW_RATE_SLOW>;
                };
@@ -371,6 +376,7 @@
                        pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71",
                        "MIO72", "MIO73", "MIO74", "MIO75";
                        bias-disable;
+                       output-enable;
                        drive-strength = <4>;
                        slew-rate = <SLEW_RATE_SLOW>;
                };
-- 
2.25.1

Reply via email to