The GPIO Pin 38 accessible via WKUP I2C0 is used to detect the
daughtercards mounted on the AM654 Base Board. For the daughtercards to be
detected at the SPL stage, add 'bootph-all' property to gpio@38. This is
required for the PCI-USB2 daughtercard to be detected at the A53 SPL
stage followed by A53 SPL updating A53 U-Boot's device-tree by applying the
device-tree overlay corresponding to the PCI-USB2 daughtercard.

Signed-off-by: Siddharth Vadapalli <[email protected]>
---
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi 
b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
index baf5dd562f9..9e5f4b6da10 100644
--- a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
@@ -146,7 +146,9 @@
 };
 
 &wkup_i2c0 {
-       bootph-all;
+       gpio@38 {
+               bootph-all;
+       };
 };
 
 &vdd_mpu {
-- 
2.51.1

Reply via email to