From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795025276; b=Gyx3Ag49OP5Oqf/xuA/RDxMo+IQpqIhO6g79bpDKcpkrqZ4xY6HPcbUyAJekNxGj148m 3BHKQ8HXj57eHyISqXP+OutEvY+w+/n4VqAEtFXoHG/r+4ncGeM281tQOCKn1FG1UGhn0 ok3s2awHmM2L+AXZ6EzUy6IwDgE9DaRals47Kx5AYcBXgqzAc1HwJA3dz1Tt1UKYRC3Nu 1yTH5SISffMykb8j8QVWN2wzSoPY+nd021YHpGJtUh5gT5bSSfudNZGFJhF/v9jaULUIN uFWi44EYMXRwRL1xoOc8jnXrhBQsa/REiuwtoWg7SM30QuFrv+NUEO8BsLUjC8Jn1RA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795025276; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=boUvDESlOf82/icP12QkatGVpVakBje3rQ+dqYRZX0g=; b=RJ23tAmJwp1SWFEHqmXAhL+kHYwnyibbBKwpYsWg5LeBHxqtL/J7DF/lbN0G6fHV6lUn IjxKwtkdWVtDpB0lpD5RnmyXryCff0mWifhJZBya5fbt+80B610Q/2UmhYU3HGn+sRMT2 w4SONF2kn0ZSnALOTzyOLnT3dFuEeJFSLZM1LgPvF1/dGAVw7abiesqtPs2DPycKnw9zZ FOOK7+UIMTz6gSMPQluvm12sAEBr9ZE40LK0BgJAa8Q1pclodQvWLFkkykMM388DLk90q dDlaBYGaMdGMM3AhHvUvpJGE1RrOSJtafHiJB6dBmWZCVgg3pB9s7rGItg9zjTbOMEQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=aGthq+Mv; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12A1A606A333; Wed, 18 Nov 2026 18:07:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=aGthq+Mv Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A6F21F000C5; Wed, 18 Nov 2026 18:07:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795025275; bh=boUvDESlOf82/icP12QkatGVpVakBje3rQ+dqYRZX0g=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=aGthq+Mv7BQufzkuFdIVYyPld6vn+7racGw+x3ZDzc73CNicKpTts4R8HY+cdl1E/ EYOYRap/ePjKd2lbD3cP45rdV9yFA7BefU2bIHZO6KeykleF87vG7sw7kP2s5UTPkh IBNq5TtfG1LNpIdrzeH7XIlXlMfo6CPRIf+SnOEM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Emil Renner Berthing , Matthias Brugger , Hal Feng , Conor Dooley , Sasha Levin Subject: [PATCH 6.18 0980/2151] riscv: dts: starfive: Add common board dtsi for VisionFive 2 Lite variants Date: Wed, 18 Nov 2026 15:45:15 +0100 Message-ID: <20261118150158.185042262@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150121.603863898@linuxfoundation.org> References: <20261118150121.603863898@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hal Feng [ Upstream commit 2ad6d71a0de8b44e6803f11936398b55643c81aa ] Add a common board dtsi for use by VisionFive 2 Lite and VisionFive 2 Lite eMMC. Acked-by: Emil Renner Berthing Tested-by: Matthias Brugger Signed-off-by: Hal Feng Signed-off-by: Conor Dooley Stable-dep-of: 2186ec5f59c2 ("riscv: dts: starfive: Correct pwm nodes") Signed-off-by: Sasha Levin --- .../jh7110-starfive-visionfive-2-lite.dtsi | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtsi diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtsi new file mode 100644 index 0000000000000..f8797a666dbf5 --- /dev/null +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtsi @@ -0,0 +1,161 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2025 StarFive Technology Co., Ltd. + * Copyright (C) 2025 Hal Feng + */ + +/dts-v1/; +#include "jh7110-common.dtsi" + +/ { + vcc_3v3_pcie: regulator-vcc-3v3-pcie { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&sysgpio 27 GPIO_ACTIVE_HIGH>; + regulator-name = "vcc_3v3_pcie"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&cpu_opp { + /delete-node/ opp-375000000; + /delete-node/ opp-500000000; + /delete-node/ opp-750000000; + /delete-node/ opp-1500000000; + + 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>; + }; +}; + +&gmac0 { + starfive,tx-use-rgmii-clk; + assigned-clocks = <&aoncrg JH7110_AONCLK_GMAC0_TX>; + assigned-clock-parents = <&aoncrg JH7110_AONCLK_GMAC0_RMII_RTX>; + status = "okay"; +}; + +&i2c0 { + status = "okay"; +}; + +&mmc1 { + max-frequency = <50000000>; + keep-power-in-suspend; + non-removable; +}; + +&pcie1 { + vpcie3v3-supply = <&vcc_3v3_pcie>; + status = "okay"; +}; + +&phy0 { + motorcomm,tx-clk-adj-enabled; + motorcomm,tx-clk-100-inverted; + motorcomm,tx-clk-1000-inverted; + motorcomm,rx-clk-drv-microamp = <3970>; + motorcomm,rx-data-drv-microamp = <2910>; + rx-internal-delay-ps = <1500>; + tx-internal-delay-ps = <1500>; +}; + +&pwm { + status = "okay"; +}; + +&spi0 { + status = "okay"; +}; + +&syscrg { + assigned-clock-rates = <0>, <0>, <0>, <0>, <500000000>, <1250000000>; +}; + +&sysgpio { + uart1_pins: uart1-0 { + tx-pins { + pinmux = ; + bias-disable; + drive-strength = <12>; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; + + rx-pins { + pinmux = ; + bias-pull-up; + drive-strength = <2>; + input-enable; + input-schmitt-enable; + slew-rate = <0>; + }; + + cts-pins { + pinmux = ; + input-enable; + }; + + rts-pins { + pinmux = ; + input-enable; + }; + }; + + usb0_pins: usb0-0 { + power-pins { + pinmux = ; + input-disable; + }; + + switch-pins { + pinmux = ; + input-disable; + }; + }; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; + status = "okay"; +}; + +&usb0 { + dr_mode = "host"; + pinctrl-names = "default"; + pinctrl-0 = <&usb0_pins>; + status = "okay"; +}; + +&usb_cdns3 { + phys = <&usbphy0>, <&pciephy0>; + phy-names = "cdns3,usb2-phy", "cdns3,usb3-phy"; +}; -- 2.53.0