From nobody Sun Feb 8 13:10:53 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7A46C00528 for ; Tue, 25 Jul 2023 07:34:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230130AbjGYHet (ORCPT ); Tue, 25 Jul 2023 03:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbjGYHeD (ORCPT ); Tue, 25 Jul 2023 03:34:03 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D5CF19BA; Tue, 25 Jul 2023 00:32:26 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 1385B81C5; Tue, 25 Jul 2023 15:32:25 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 25 Jul 2023 15:30:41 +0800 Received: from starfive-sdk.starfivetech.com (171.223.208.138) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 25 Jul 2023 15:30:40 +0800 From: Samin Guo To: , , CC: Albert Ou , Palmer Dabbelt , Paul Walmsley , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Emil Renner Berthing , "Emil Renner Berthing" , Samin Guo , Hal Feng Subject: [-next v1 1/1] riscv: dts: starfive: visionfive 2: Add v1.3B gmac phy configuration Date: Tue, 25 Jul 2023 15:30:39 +0800 Message-ID: <20230725073039.14382-2-samin.guo@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230725073039.14382-1-samin.guo@starfivetech.com> References: <20230725073039.14382-1-samin.guo@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add visionfive 2 v1.3B gmac phy configuration, including drive strength and inverting configuration. Reviewed-by: Hal Feng Signed-off-by: Samin Guo --- .../dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3= b.dts b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts index 7bca5d9e8f9b..d4ea4a2c0b9b 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts @@ -25,11 +25,20 @@ }; =20 &phy0 { + motorcomm,tx-clk-adj-enabled; + motorcomm,tx-clk-100-inverted; + motorcomm,tx-clk-1000-inverted; + motorcomm,rx-clk-drv-microamp =3D <3970>; + motorcomm,rx-data-drv-microamp =3D <2910>; rx-internal-delay-ps =3D <1500>; tx-internal-delay-ps =3D <1500>; }; =20 &phy1 { + motorcomm,tx-clk-adj-enabled; + motorcomm,tx-clk-100-inverted; + motorcomm,rx-clk-drv-microamp =3D <3970>; + motorcomm,rx-data-drv-microamp =3D <2910>; rx-internal-delay-ps =3D <300>; tx-internal-delay-ps =3D <0>; }; --=20 2.17.1