[PATCH] riscv: dts: jh7110: Enable PLL node in SPL

Bo Gan
2024-03-06T03:00:33Z

Previously PLL node was missing from SPL dts. This caused BUS_ROOT
to stay on OSC clock (24Mhz). As a result, all peripherals have to
run at a much lower frequency, and loading from sdcard/emmc is slow.
Thus, enabling PLL node in dts to fix this.

Signed-off-by: Bo Gan <ganboing@gmail.com>
---
arch/riscv/dts/jh7110-u-boot.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/riscv/dts/jh7110-u-boot.dtsi b/arch/riscv/dts/jh7110-u-boot.dtsi
index 2f560e7..c09d5c9 100644
--- a/arch/riscv/dts/jh7110-u-boot.dtsi
+++ b/arch/riscv/dts/jh7110-u-boot.dtsi
@@ -93,6 +93,10 @@
bootph-pre-ram;
};

+&pllclk {
+ bootph-pre-ram;
+};
+
&S7_0 {
status = "okay";
};
--
2.7.4