arm64: dts: ti: k3-am62-lp-sk: Add bootph flag to support sd boot
Subsystems (2)
PATCH 1/1 arm64: dts: ti: k3-am62-lp-sk: Add bootph flag to support sd boot
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.
--- arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts +12 -0
@@ -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 */ };
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
Signature · 1 line
2.48.0
Hi Nishanth,
Quoted 5 lines · Judith Mendez
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.
please ignore this patch, I will be adding it to this patch series when I respin v2:
https://lore.kernel.org/linux-devicetree/[email protected]/
Thanks,
~ Judith