Re: [PATCH] arm64: dts: qcom: ipq5210: add the bootph-all property
From: Kathiravan Thirumoorthy
Date: Fri Apr 10 2026 - 04:41:36 EST
On 4/9/2026 3:33 PM, Krzysztof Kozlowski wrote:
On 09/04/2026 11:28, Kathiravan Thirumoorthy wrote:
Add the bootph-all property to the nodes which are utilized by theUh oh, so it started for qcom too? I really don't like how these bootph
bootloaders.
properties spread all over, so please provide arguments - which pure
upstream bootloaders exactly and why exactly these nodes.
This is needed for U-Boot SPL for IPQ5210 [1].
[1] - https://lore.kernel.org/u-boot/20260408091136.2794546-1-varadarajan.narayanan@xxxxxxxxxxxxxxxx/
Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>Since when do we add bootph-all to chosen? Which broken bootloader
---
arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts | 5 +++++
arch/arm64/boot/dts/qcom/ipq5210.dtsi | 10 ++++++++++
2 files changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
index 941f866ecfe9..56dbc506da78 100644
--- a/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
@@ -17,6 +17,7 @@ aliases {
chosen {
stdout-path = "serial0";
+ bootph-all;
ignores chosen?
This really makes me wonder that you do all this for some downstream forks.
U-Boot doesn't need it, but U-Boot SPL needs it.
};And that's a pin, not a device. What is the point of marking it? The
};
@@ -41,6 +42,7 @@ qup_uart1_default_state: qup-uart1-default-state {
function = "qup_se1";
drive-strength = <6>;
bias-pull-down;
+ bootph-all;
};
device needing this pin will have phandle which must pull the node.
This is because of the fdtgrep tool's limitations, which removes these nodes in the final DTB if this property is not present.
Best regards,
Krzysztof