Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4139038rwo; Tue, 25 Jul 2023 00:52:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlECgaaEbVmlOXAVxNnIvbulYeAYwHJ8db+RgZg5TgbEsscuaiuK0/zLIwq0j9rANoXLSdN5 X-Received: by 2002:a17:906:1098:b0:98c:e72c:6b83 with SMTP id u24-20020a170906109800b0098ce72c6b83mr10878544eju.45.1690271550135; Tue, 25 Jul 2023 00:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690271550; cv=none; d=google.com; s=arc-20160816; b=DuPN+p31Z4AP3frfb+Lgo8rd+hs9P+CKSd8d/4XczJZXHTEIKscOvt+9IlzV5esOi5 oK57HLETmtSSMv7WpLhdCENe0RZcTyc2cKBMCu2oZTARIA1sMtaGVKDI74UZzigK5Jac JBlXk4Hyn8m728hx0BEhnxIq6QZcrTlSETAFXLkKpM7xnZN3zJrDtEk4T6vsNVluSFR4 yODHdju/tSA+ONljamk+SJA2piClUK+9lVVAv21mHa9X9QQaFZfAtIWReHMc++vzlzDz D5ftvB0R1HTS/yLNcm3OUytOt8UgXey/RsyWImU/czZzL1rfEOp1cktxPTXdPWWoGa3y opeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=j3n8/C6kslaNgxRqEREft0Omj57XGkNbOzgr2kuPYBs=; fh=mUT7Y+2LdkdiGLQDRoijp/vQ7weuacM9/nx8j3ZlnBs=; b=DGl3IozVVxtNxXpCcnOK9H0mBNsyoPX0q+LfDqRztiJl+KLv4sw3w6gKePjx8vc57I R0suTmmZhyFHChofcOWSLED3kxpLWCf7BOZyk4/+ZMVgY3ZYgbFuZ05hYVwpusRPlBEB gvJKENBz4fzrdsJS5FdR6PBX5wsFiYPGV1yfWSoyx9dUf8tOQntorFLu1H7ubiu2kOAs VMOCDBMnH+g29eZUGzWiqygNc7GXPTmmvYGoeIHI5DhBsuN5v2FykFqlByraTyN6ZDsU Mhq085e4VljHr83AeLUuYO1Czyx3+aG+8FTFZl/IC+pbkGJ9k3O5qWdwUk+5RWX8wAyP /WDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020a17090637d000b0098296d092ffsi7566610ejc.330.2023.07.25.00.52.05; Tue, 25 Jul 2023 00:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229959AbjGYHep (ORCPT + 99 others); Tue, 25 Jul 2023 03:34:45 -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 Content-Type: text/plain 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.3b.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 @@ }; &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>; }; &phy1 { + motorcomm,tx-clk-adj-enabled; + motorcomm,tx-clk-100-inverted; + motorcomm,rx-clk-drv-microamp = <3970>; + motorcomm,rx-data-drv-microamp = <2910>; rx-internal-delay-ps = <300>; tx-internal-delay-ps = <0>; }; -- 2.17.1