summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-03-30 18:24:21 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-04-19 12:48:45 +0200
commit8b3f2eb7d8912204bda2d914b8a9a1ce1c31bb5c (patch)
tree85440fb6051efb06bb984462a46ba7f68cfae22c
parent67d5b4a42b123c02a20963b260908f449a0004c8 (diff)
riscv: dts: jh7110: add bootph-pre-ram for &pllclk
Since commit f98cd471f06b ("clk: clk-composite: Resolve parent clock by name") the StarFive VisionFive 2 board fails to boot. Before that patch the SPL debug UART showed warnings like: clk_register: failed to get pll0_out device (parent of perh_root) clk_register: failed to get pll0_out device (parent of qspi_ref_src) clk_register: failed to get pll0_out device (parent of usb_125m) clk_register: failed to get pll0_out device (parent of gmac_src) clk_register: failed to get pll0_out device (parent of gmac1_gtxclk) clk_register: failed to get pll0_out device (parent of gmac0_gtxclk) The &pllclk clock needs to be enabled early. Fixes: f98cd471f06b ("clk: clk-composite: Resolve parent clock by name") Suggested-by: Marek Vasut <marex@denx.de> Tested-by: Yao Zi <ziyao@disroot.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--arch/riscv/dts/jh7110-u-boot.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/dts/jh7110-u-boot.dtsi b/arch/riscv/dts/jh7110-u-boot.dtsi
index ce7d9e16961..a9e318c4a31 100644
--- a/arch/riscv/dts/jh7110-u-boot.dtsi
+++ b/arch/riscv/dts/jh7110-u-boot.dtsi
@@ -102,6 +102,10 @@
bootph-pre-ram;
};
+&pllclk {
+ bootph-pre-ram;
+};
+
&syscrg {
bootph-pre-ram;
};