Skip to content

Commit 724a671

Browse files
E ShattowConchuOD
authored andcommitted
riscv: dts: starfive: jh7110-common: add CPU BUS PERH QSPI clocks to syscrg
Add syscrg clock assignments for CPU, BUS, PERH, and QSPI as required by boot loader before kernel. Signed-off-by: E Shattow <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 71385a8 commit 724a671

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

arch/riscv/boot/dts/starfive/jh7110-common.dtsi

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,17 @@
354354
};
355355

356356
&syscrg {
357-
assigned-clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>,
357+
assigned-clocks = <&syscrg JH7110_SYSCLK_CPU_ROOT>,
358+
<&syscrg JH7110_SYSCLK_BUS_ROOT>,
359+
<&syscrg JH7110_SYSCLK_PERH_ROOT>,
360+
<&syscrg JH7110_SYSCLK_QSPI_REF>,
361+
<&syscrg JH7110_SYSCLK_CPU_CORE>,
358362
<&pllclk JH7110_PLLCLK_PLL0_OUT>;
359-
assigned-clock-rates = <500000000>, <1500000000>;
363+
assigned-clock-parents = <&pllclk JH7110_PLLCLK_PLL0_OUT>,
364+
<&pllclk JH7110_PLLCLK_PLL2_OUT>,
365+
<&pllclk JH7110_PLLCLK_PLL2_OUT>,
366+
<&syscrg JH7110_SYSCLK_QSPI_REF_SRC>;
367+
assigned-clock-rates = <0>, <0>, <0>, <0>, <500000000>, <1500000000>;
360368
};
361369

362370
&sysgpio {

0 commit comments

Comments
 (0)