[RFC 3/3] riscv: dts: starfive: Add VisionFive 2 Lite board device tree
Vivian Wang
wangruikang at iscas.ac.cn
Thu Aug 21 07:08:21 PDT 2025
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:
> +
> +&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