From nobody Thu Apr 9 14:58:08 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 BEE76C43217 for ; Sun, 6 Nov 2022 21:42:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230175AbiKFVmZ (ORCPT ); Sun, 6 Nov 2022 16:42:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230003AbiKFVmX (ORCPT ); Sun, 6 Nov 2022 16:42:23 -0500 X-Greylist: delayed 400 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 06 Nov 2022 13:42:19 PST Received: from mail.rnplus.nl (mail.rnplus.nl [178.251.25.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A292BC35 for ; Sun, 6 Nov 2022 13:42:18 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.rnplus.nl (Postfix) with ESMTP id D1194378512 for ; Sun, 6 Nov 2022 21:40:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at rnplus.nl Received: from mail.rnplus.nl ([127.0.0.1]) by localhost (mail.rnplus.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wnTg8K98V6Em for ; Sun, 6 Nov 2022 22:40:34 +0100 (CET) Received: from mail.rnplus.nl (mail.rnplus.nl [178.251.25.70]) by mail.rnplus.nl (Postfix) with ESMTPSA id C89BE377D7B; Sun, 6 Nov 2022 22:40:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rnplus.nl; s=dkim; t=1667770831; bh=dposmZziBXGFSWdzBvqK+nAEyqiV2Mu12CTImtW/j7w=; h=Date:From:To:Cc:Subject; b=Po4Xek5z4pauwchoKhdq1zRYHYTObF6PXHPFDlG+aoondykkaZv1N3lifChu4I3aL jLKiavQvcb+aDx8fR+ByeZsIMoq+EP/2ilsafVjJIOtWX32DpxZIoSNM1obj7pclxo p4yvqN2Zt8B7R57yLkuGSBiNtXoUuVyASEGFjYhc= MIME-Version: 1.0 Date: Sun, 06 Nov 2022 22:40:30 +0100 From: renze@rnplus.nl To: linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Subject: [PATCH] arm64: allwinner: a64: add device tree for SoPine with clusterboard User-Agent: RN+ Webmail Message-ID: X-Sender: renze@rnplus.nl Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8"; format="flowed" The Pine64 clusterboard needs a to have the tx delay changed to 500ps for ethernet to work. This solution was described by multiple people on the Pine64 forum years ago and nobody has submitted it. Add a device tree for SoPine with the clusterboard. Signed-off-by: Renze Nicolai --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../dts/allwinner/sun50i-a64-sopine-clusterboard.dts | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644=20 arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-clusterboard.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile=20 b/arch/arm64/boot/dts/allwinner/Makefile index 6a96494a2e0a..15b011d1aaea 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_SUNXI) +=3D=20 sun50i-a64-pinephone-1.2.dtb dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-pinetab.dtb dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-pinetab-early-adopter.dtb dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-sopine-baseboard.dtb +dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-sopine-clusterboard.dtb dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-teres-i.dtb dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a100-allwinner-perf1.dtb dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-h5-bananapi-m2-plus.dtb diff --git=20 a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-clusterboard.dts=20 b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-clusterboard.dts new file mode 100644 index 000000000000..6f8020a22670 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-clusterboard.dts @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2022 Renze Nicolai + +/dts-v1/; + +#include "sun50i-a64-sopine-baseboard.dts" + +&emac { + allwinner,tx-delay-ps =3D <500>; +}; --=20 2.38.1