From nobody Sat Feb 7 22:07:18 2026 Received: from freeshell.de (freeshell.de [116.202.128.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DBC1194AE6; Tue, 26 Nov 2024 07:39:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.202.128.144 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732606794; cv=none; b=OVsrnnSRiGNUNvvRPOp6eOLvummvTKCA4AZAcUJZKni6+cz6nbBkXoIRmklEJTMTesyAj4ALIuG/nqlh2rA0snUof7OCcHmxxKncEI7m4X2zqZmHmbQNkxYNzjDsCibAt8tKyJA4+LHOkKZnssFs1CZGfIpSqA1F+QIq6fTIjKE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732606794; c=relaxed/simple; bh=i0DnHgfiOxaD3VM7M7nCkry3/nTB2faZKjZOguAk5m4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RN7/mqmQlK1f/tFNrtgIEbDP1UTD21e1orxVpX0Cn0QyIA45Im1GEKHIR6KgXyV9x7Je+0VXxzSXISoC8JaRax8rq1F5iNCjwNxqdZs0972dmEnzR5sLIkxXZI6l+8CIBt3Q9qDfyjxeBGFbfoJXTJJ8Sb6M59uCpJG28VfKU6c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=freeshell.de; spf=pass smtp.mailfrom=freeshell.de; arc=none smtp.client-ip=116.202.128.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=freeshell.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freeshell.de Received: from hay.lan. (unknown [IPv6:2605:59c8:31de:bf00:6ecf:39ff:fe00:8375]) (Authenticated sender: e) by freeshell.de (Postfix) with ESMTPSA id 5E39DB2C2215; Tue, 26 Nov 2024 08:39:40 +0100 (CET) From: E Shattow To: Henry Bell Cc: E Shattow , Conor Dooley , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/1] riscv: dts: starfive: jh7110-pine64-star64: enable usb0 host function Date: Mon, 25 Nov 2024 23:38:17 -0800 Message-ID: <20241126073836.17208-2-e@freeshell.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241126073836.17208-1-e@freeshell.de> References: <20241126073836.17208-1-e@freeshell.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Pine64 Star64 set JH7110 on-chip USB host mode and vbus pin assignment Signed-off-by: E Shattow Reviewed-by: Emil Renner Berthing --- .../boot/dts/starfive/jh7110-pine64-star64.dts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dts b/arch/r= iscv/boot/dts/starfive/jh7110-pine64-star64.dts index fe4a490ecc61..b764d4d92fd9 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dts +++ b/arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dts @@ -80,7 +80,23 @@ &spi0 { status =3D "okay"; }; =20 +&sysgpio { + usb0_pins: usb0-0 { + vbus-pins { + pinmux =3D ; + bias-disable; + input-disable; + input-schmitt-disable; + slew-rate =3D <0>; + }; + }; +}; + &usb0 { - dr_mode =3D "peripheral"; + dr_mode =3D "host"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&usb0_pins>; status =3D "okay"; }; --=20 2.45.2