Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp234544rdg; Tue, 10 Oct 2023 08:48:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGON+eYQPM8bcJPQLigoyKOR9KUlSy3xJO2GBEseQm/j4LIC9OvJNOvNYPhLp8C1/IgZ0b9 X-Received: by 2002:a05:6a00:2406:b0:693:3963:847a with SMTP id z6-20020a056a00240600b006933963847amr17201313pfh.30.1696952930426; Tue, 10 Oct 2023 08:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696952930; cv=none; d=google.com; s=arc-20160816; b=1Cu9WZUacSz/AyfuNrRoaqfxYvWBlnVLXanXadlacWfeIzToH9Lu1l7sfAPj4NQghj lKdqOtqhIxjtPg0CNYudja7aWE2KRUKVW7uMjkrckE+cL3YX/cdqDPRhcThnyq4k5BYP WaAnZJrWmLYwDsBZ9ZPx2aQFqVfpzNkebp1hnH466gcLSbfI5fsYr9lTd1Cm4WSZvkIJ NlDEQTTQp2i3ER026fdXkppGXOKJ7/OvMr9LT5l6vMcDYBkirzsCf6JKg6lzIeaD5Nbn itPhEdkoo3GvuHmgnZMwchPceEUkHhcLS6GGWEWZK4HXv76n6Wt83UEcGPRH87wYfr2l ZlJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=o3kI1eezsAFgS/F4dxGCc89YjmySiezYHAVsF+bRYBs=; fh=VFDI8ygGUq/8xQt3raLZGviK3Q72QwS1T7ESASdcKuQ=; b=AyiGs+OOqMe/STHc2YyqyPoZUIqzat90AofG3HY4/gP/LNipku2fcUIl21iiidNxVW g1NTgenmV0sdCT52EZPR9cwjI5NcGHZWqUZXB6b00t9lIEh7gKQzojlT9LEhMNJQemt3 mGnHhlqPtYW1S5DJg6ZMFySELRSKB/yy6FTwIS58fev0lHqsHhgTIHDzPyq8LKsEU1Fz QjiM4kXjPMAVMBk2qoCs1R0ZCPnTTkOnNSZaFqsuuET1ijelMYQhU2AVIzNo9HZO83NM GfgPR+Yoih/kE2Am7tmtmXicYS+DB+1gpKslc0RxoKmhOLWsekt0Nu8rSWbzRDNk7Rfp /9aQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ei21-20020a056a0080d500b0068ffe38c5ddsi1825346pfb.223.2023.10.10.08.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 08:48:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7218F807280F; Tue, 10 Oct 2023 08:48:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231997AbjJJPsr (ORCPT + 99 others); Tue, 10 Oct 2023 11:48:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231565AbjJJPsq (ORCPT ); Tue, 10 Oct 2023 11:48:46 -0400 X-Greylist: delayed 554 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 10 Oct 2023 08:48:42 PDT Received: from mail-m49197.qiye.163.com (mail-m49197.qiye.163.com [45.254.49.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D91F93; Tue, 10 Oct 2023 08:48:42 -0700 (PDT) Received: from Vostro-3710.lan (unknown [58.61.141.228]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 5D8038000B0; Tue, 10 Oct 2023 23:38:21 +0800 (CST) From: Chukun Pan To: Andre Przywara Cc: Samuel Holland , Jernej Skrabec , Chen-Yu Tsai , Rob Herring , Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH 2/2] arm64: dts: allwinner: h616: update emac properties for Orange Pi Zero 3 Date: Tue, 10 Oct 2023 23:38:12 +0800 Message-Id: <20231010153812.2869633-2-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231010153812.2869633-1-amadeus@jmu.edu.cn> References: <20231010153812.2869633-1-amadeus@jmu.edu.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkZGUwfVkofTEgYQh5DTk4fH1UTARMWGhIXJBQOD1 lXWRgSC1lBWU5DVU1KVUpPSlVJSUNZV1kWGg8SFR0UWUFZT0tIVUpKS0hKQ1VKS0tVS1kG X-HM-Tid: 0a8b1a3d3885b03akuuu5d8038000b0 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MiI6SBw*STw8LhASFhkrExpJ OhQaFBVVSlVKTUJNQk5JSEtJSU1PVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWU5D VU1KVUpPSlVJSUNZV1kIAVlBSU5CTzcG X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 08:48:49 -0700 (PDT) Add the correct delay value to emac. Also add missing mdio properties for the YT8531 PHY (clock output required). With these changes, Ethernet now looks stable. Signed-off-by: Chukun Pan --- arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts index 00fe28caac93..02c7836b624a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts @@ -13,10 +13,14 @@ / { }; &emac0 { + allwinner,rx-delay-ps = <1800>; + allwinner,tx-delay-ps = <700>; phy-supply = <®_dldo1>; }; &ext_rgmii_phy { + motorcomm,keep-pll-enabled; + motorcomm,auto-sleep-disabled; motorcomm,clk-out-frequency-hz = <125000000>; }; -- 2.25.1