diff mbox series

arm64: dts: ti: k3-am62-lp-sk: Add bootph flag to support sd boot

Message ID 20250203215704.1333881-1-jm@ti.com (mailing list archive)
State New
Headers show
Series arm64: dts: ti: k3-am62-lp-sk: Add bootph flag to support sd boot | expand

Commit Message

Judith Mendez Feb. 3, 2025, 9:57 p.m. UTC
In order to boot using SD boot, voltage regulator nodes, io-expander
nodes, and gpio nodes need to be present in all stages of boot in
order to do voltage switching, thus add bootph-all flag to these nodes
to not fail SD boot on am62 lp SK board.

Signed-off-by: Judith Mendez <jm@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)


base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
index 8e9fc00a6b3c7..5f6cc3567cba5 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
@@ -58,6 +58,7 @@  vdd_mmc1: regulator-3 {
 	};
 
 	vddshv_sdio: regulator-4 {
+		bootph-all;
 		compatible = "regulator-gpio";
 		regulator-name = "vddshv_sdio";
 		pinctrl-names = "default";
@@ -74,12 +75,14 @@  vddshv_sdio: regulator-4 {
 
 &main_pmx0 {
 	vddshv_sdio_pins_default: vddshv-sdio-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */
 		>;
 	};
 
 	main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins {
+		bootph-all;
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (C13) UART0_RTSn.GPIO1_23 */
 		>;
@@ -94,6 +97,7 @@  AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (B16) EXTINTn */
 
 &main_i2c1 {
 	exp1: gpio@22 {
+		bootph-all;
 		compatible = "ti,tca6424";
 		reg = <0x22>;
 		gpio-controller;
@@ -229,6 +233,14 @@  &tlv320aic3106 {
 	DVDD-supply = <&buck2_reg>;
 };
 
+&main_gpio0 {
+	bootph-all;
+};
+
+&main_gpio1 {
+	bootph-all;
+};
+
 &gpmc0 {
 	ranges = <0 0 0x00 0x51000000 0x01000000>; /* CS0 space. Min partition = 16MB */
 };