Skip to contentSkip to conversation

arm: dts: k3-am654: add vin-supply regulators for DDR

PATCH In review Bryan Brattlof 3 participants 3 messages Oct 3, 2025 – Oct 8, 2025 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: k3-am654: add vin-supply regulators for DDR

As of f98d812e53534 ("power: regulator: Add vin-supply for GPIO and Fixed regulators") we must ensure the parent nodes of a regulator are present in DT if
they are described in the vin-supply property

For the am65x reference board the DRAM chips are fed by the 3v3 rail which is fed by the main 12v rail. Add the bootph properties to these DT nodes to prevent them from being pruned during the SPL build so we can enable power to the DRAM chips

---
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/dts/k3-am654-base-board-u-boot.dtsi +8 -0
index 4fd188fa191b469d69b461b49b17635f914eb53e..baf5dd562f99310f3c8fe1d272cea2fd85164be0 100644
@@ -17,6 +17,14 @@
 	bootph-all;
 };
 
+&evm_12v0 {
+	bootph-all;
+};
+
+&vcc3v3_io {
+	bootph-all;
+};
+
 &vtt_supply {
 	bootph-all;
 };

---
base-commit: aff68c8514858ddd8d2e508d47bede566511521b
change-id: 20251002-654-next-fix-985fc18d370b

Best regards,

Signature · 1 line
Bryan Brattlof <[email protected]>
Tested-by on v1 1/1
#1 lore raw
Quoted 35 lines · Bryan Brattlof

As of f98d812e53534 ("power: regulator: Add vin-supply for GPIO and Fixed regulators") we must ensure the parent nodes of a regulator are present in DT if
they are described in the vin-supply property

For the am65x reference board the DRAM chips are fed by the 3v3 rail which is fed by the main 12v rail. Add the bootph properties to these DT nodes to prevent them from being pruned during the SPL build so we can enable power to the DRAM chips

---
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/dts/k3-am654-base-board-u-boot.dtsi +8 -1
index 4fd188fa191b469d69b461b49b17635f914eb53e..baf5dd562f99310f3c8fe1d272cea2fd85164be0 100644
@@ -17,6 +17,14 @@
 	bootph-all;
 };
 
+&evm_12v0 {
+	bootph-all;
+};
+
+&vcc3v3_io {
+	bootph-all;
+};
+
 &vtt_supply {
 	bootph-all;
 };
 
---
Quoted 2 lines

base-commit: aff68c8514858ddd8d2e508d47bede566511521b
change-id: 20251002-654-next-fix-985fc18d370b

Tom,

we have had a boot regression on AM654x-IDK for a while now. this patch fixes the same.

https://gist.github.com/nmenon/582820aa718a7d2f8939d6676f70d917

Signature · 4 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
https://ti.com/opensource
#2 lore raw
In reply to Bryan Brattlof
Quoted 10 lines · Bryan Brattlof

As of f98d812e53534 ("power: regulator: Add vin-supply for GPIO and Fixed regulators") we must ensure the parent nodes of a regulator are present in DT if
they are described in the vin-supply property

For the am65x reference board the DRAM chips are fed by the 3v3 rail which is fed by the main 12v rail. Add the bootph properties to these DT nodes to prevent them from being pruned during the SPL build so we can enable power to the DRAM chips

[...]

Applied to u-boot/master, thanks!

[1/1] arm: dts: k3-am654: add vin-supply regulators for DDR

      commit: 8a9f2c19d44c8db105d0031efd9a2a43d7d1797f
Signature · 1 line
Tom