[RFC 3/3] riscv: dts: starfive: Add VisionFive 2 Lite board device tree

Hal Feng hal.feng at starfivetech.com
Thu Aug 21 19:13:34 PDT 2025


> On 21.08.25 22:08, Vivian Wang wrote:
> On 8/21/25 18:09, Hal Feng wrote:
> > [...]
> > +++ b/arch/riscv/boot/dts/starfive/jh7110s-starfive-visionfive-2-lite.
> > +++ dts
> > @@ -0,0 +1,152 @@
> > +// SPDX-License-Identifier: GPL-2.0 OR MIT
> > +/*
> > + * Copyright (C) 2025 StarFive Technology Co., Ltd.
> > + * Copyright (C) 2025 Hal Feng <hal.feng at starfivetech.com>  */
> > +
> > +/dts-v1/;
> > +#include "jh7110-common.dtsi"
> > +
> > +/ {
> > +	model = "StarFive VisionFive 2 Lite";
> > +	compatible = "starfive,visionfive-2-lite", "starfive,jh7110s"; };
> 
> Might need to add starfive,jh7110s to:
> 
>   drivers/cpufreq/cpufreq-dt-platdev.c
> 
> So that it can use the opp stuff here:

Good catch. Thanks for your review.

Best regards,
Hal

> 
> > +
> > +&cpu_opp {
> > +	opp-312500000 {
> > +		opp-hz = /bits/ 64 <312500000>;
> > +		opp-microvolt = <800000>;
> > +	};
> > +	opp-417000000 {
> > +		opp-hz = /bits/ 64 <417000000>;
> > +		opp-microvolt = <800000>;
> > +	};
> > +	opp-625000000 {
> > +		opp-hz = /bits/ 64 <625000000>;
> > +		opp-microvolt = <800000>;
> > +	};
> > +	opp-1250000000 {
> > +		opp-hz = /bits/ 64 <1250000000>;
> > +		opp-microvolt = <1000000>;
> > +	};
> > +};
> > +> [...]



More information about the linux-riscv mailing list