[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c1396997-fa92-47cd-9bc6-8dcb67e87eb8@iscas.ac.cn>
Date: Thu, 21 Aug 2025 22:08:21 +0800
From: Vivian Wang <wangruikang@...as.ac.cn>
To: Hal Feng <hal.feng@...rfivetech.com>, Conor Dooley <conor+dt@...nel.org>,
Emil Renner Berthing <emil.renner.berthing@...onical.com>,
Heinrich Schuchardt <heinrich.schuchardt@...onical.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Palmer Dabbelt <palmer@...belt.com>, Paul Walmsley
<paul.walmsley@...ive.com>, Albert Ou <aou@...s.berkeley.edu>
Cc: devicetree@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 3/3] riscv: dts: starfive: Add VisionFive 2 Lite board
device tree
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@...rfivetech.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>;
> + };
> +};
> +> [...]
Powered by blists - more mailing lists