[PATCH v3 1/4] riscv: dts: starfive: jh7110-common: add CPU BUS PERH QSPI clocks to syscrg
Emil Renner Berthing
emil.renner.berthing at canonical.com
Thu May 15 10:09:03 PDT 2025
E Shattow wrote:
> Add syscrg clock assignments for CPU, BUS, PERH, and QSPI as required by
> boot loader before kernel.
>
> Signed-off-by: E Shattow <e at freeshell.de>
Thanks!
Reviewed-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
> ---
> arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> index c2f70f5e2918..f1489e9bb83e 100644
> --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> @@ -353,9 +353,17 @@ &spi0 {
> };
>
> &syscrg {
> - assigned-clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>,
> + assigned-clocks = <&syscrg JH7110_SYSCLK_CPU_ROOT>,
> + <&syscrg JH7110_SYSCLK_BUS_ROOT>,
> + <&syscrg JH7110_SYSCLK_PERH_ROOT>,
> + <&syscrg JH7110_SYSCLK_QSPI_REF>,
> + <&syscrg JH7110_SYSCLK_CPU_CORE>,
> <&pllclk JH7110_PLLCLK_PLL0_OUT>;
> - assigned-clock-rates = <500000000>, <1500000000>;
> + assigned-clock-parents = <&pllclk JH7110_PLLCLK_PLL0_OUT>,
> + <&pllclk JH7110_PLLCLK_PLL2_OUT>,
> + <&pllclk JH7110_PLLCLK_PLL2_OUT>,
> + <&syscrg JH7110_SYSCLK_QSPI_REF_SRC>;
> + assigned-clock-rates = <0>, <0>, <0>, <0>, <500000000>, <1500000000>;
> };
>
> &sysgpio {
> --
> 2.49.0
>
More information about the linux-riscv
mailing list