Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp818881rwb; Sun, 6 Nov 2022 14:29:40 -0800 (PST) X-Google-Smtp-Source: AMsMyM4ZNe5oN9JYa7BuSiz7WiRY/mxUnvXTn4+GVSpefXYk+eH19UnOiErGqOLJ+zmHKCqF286U X-Received: by 2002:a17:907:a4e:b0:77d:94d:8148 with SMTP id be14-20020a1709070a4e00b0077d094d8148mr43201356ejc.607.1667773780060; Sun, 06 Nov 2022 14:29:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667773780; cv=none; d=google.com; s=arc-20160816; b=SRESN/WJnZkrhGon2E/K4PpneIbcXKnCS18tSTyKQl+xFM5KSVipsxkXwE2SatxRHF MxTOzqPoHe07eu7v8Sn6E3V8/gVo3ur0sBBpfnfg3PKeaovQJUWRc6IL7p6it1RXIkLS B9xNDin2gZxyOOWGz8lJxkn7FzjbQ0ihkNyPORsGpC6sNNzh0evoQxePrBQ7+YZY2I24 HYmIK5uQSF7d73TycrJDo7Ma8QuRn+XH++Wpfo14qCSIpTZxZ8Q0pTpRjUMKJyIRWGo9 V7BxBaWnmGN+7eR5xP80Rne6FvFNe/2LvToPyHIOZNFhnlXMC63v3O/6pnsWmebPC9m9 8Hwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :subject:cc:to:from:date:mime-version:dkim-signature; bh=GlEoLGgHc1aTl/Yt3FBCUDHoKO2X+yJknx/yfROnwfM=; b=h/owtIt3MYvDrmOFJ9jMvBCYuJ0PMRS6px36hLr7M0JLVbazXNuplkjw7O7+ZmsK0c X/iHZp4dTt85AWzCgNjlbrXHTl7OrLeKoBnAUEvniwkZVE5OeUJkAPLrIzNaUcFXpEEI UYho589vlZ1WND87706BbzsxZgl6RENg5xC7YKEWz4XXZtZqfeTLKF2oERUpzlY8s+Oi LG+sRqxtBZsPBoAsUQXaey8ldcL9Eb+4a/DYSaFpc/Gefmjm9a+sgjNSsmySBYL2bMTR YfdW3L8lWp7WGuPzSfIVbVK0LTtyXfZyDNVa5UfA8mJb9SXGtKxevPgNTjOPgJOA/BIJ s+1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@rnplus.nl header.s=dkim header.b=Po4Xek5z; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rnplus.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d32-20020a056402402000b00461e322ec5dsi7387036eda.294.2022.11.06.14.29.01; Sun, 06 Nov 2022 14:29:40 -0800 (PST) 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; dkim=fail header.i=@rnplus.nl header.s=dkim header.b=Po4Xek5z; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rnplus.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbiKFVmY (ORCPT + 95 others); Sun, 6 Nov 2022 16:42:24 -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-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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 arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-clusterboard.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile 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) += sun50i-a64-pinephone-1.2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab-early-adopter.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-clusterboard.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-clusterboard.dts 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 = <500>; +}; -- 2.38.1