Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2785673rwb; Mon, 7 Nov 2022 18:27:52 -0800 (PST) X-Google-Smtp-Source: AMsMyM7Z4j9bIYZfL5HdmWiBP061q1bXJl9cOMRP536tVdXsM3OlWrFyex/HG+M9ABYMopVH73R5 X-Received: by 2002:a17:90a:f414:b0:212:cacf:42c3 with SMTP id ch20-20020a17090af41400b00212cacf42c3mr72378864pjb.198.1667874472555; Mon, 07 Nov 2022 18:27:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667874472; cv=pass; d=google.com; s=arc-20160816; b=ChGfY6WV28NZBRTLOrrs1V+TMGvWfHFfmkfZN3P3FMFZTt9g2DE+e5nJu8R2iLyBoH muE6CNR85DLg8FtlpFmknSqPh6+2U3N2m9rjBZfWJi4aIzvBLmaZ7Khwv1DEB6zDx1NU tYyah+FYQdU++5woz3agRZMBfZJ6swSrVH4pevTna0+E/evANBVsXRJYsKgvAPoAO76x aAcsWtPy8YaoUgZdZPXXeKNNzXtfdShH7emZLr9B4TsufoVAmBbw9kkvxHernncBNxeG qsd6BtGthsbrz31R72JhU3+wPOjFlHERC3MvYy8ESOXEubkR+chqJQe8ZnC9+t2+WELR HEAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:organization:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature; bh=bWSow0ANRbgZL+RpPiwpQoWZxSeKC1ZJf+WW9du0GoQ=; b=S1C7IIREAFdjN6SAd/XAy54MwdBOi3Etu96rrVBgVAnFTf2sZi+gpyhsu/eY4jDmko UJ1e9f0x8OQxRSZWeXCVnsp6paHby+IWb+ysbyAuDiCpFYx+NbNLiCawPre7C0i8YQ+M kXaUhfcy0CCCXk0k1Qcn2iqK9Txph2TGUrTH5Cfh64GSaZIaIHXsuQLB7bxiQ4QxG34W ZrpS90t0zn3Pn1keXx20zhSvq9z3RLtBokG4WOMbRbu88b+e2P92V3JaD8jpffH+JBwQ 4wxvFmwePGV2ew3n/Wd5mZGo8/8ZkKBcZ4HB5/GHqk3MOFRarfd5SGgncA9epf5BZzkd qh+Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail header.b=DsPm34O2; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 z64-20020a636543000000b0046f71a7292dsi12831953pgb.384.2022.11.07.18.27.35; Mon, 07 Nov 2022 18:27:52 -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=pass header.i=@icenowy.me header.s=zmail header.b=DsPm34O2; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 S232936AbiKHBec (ORCPT + 93 others); Mon, 7 Nov 2022 20:34:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231796AbiKHBea (ORCPT ); Mon, 7 Nov 2022 20:34:30 -0500 Received: from sender4-op-o18.zoho.com (sender4-op-o18.zoho.com [136.143.188.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76779E6; Mon, 7 Nov 2022 17:34:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667871240; cv=none; d=zohomail.com; s=zohoarc; b=hYnDcG3IUi2Ki1Z9MH7oJY6XcT3e6Ni25zdj7tgu1X6Ingy9wqrJEWctWM1RPgcLEm38BJ1CchDqGLGMApBSGG5AF44pqM1D//aO7+FfGXHMufKCPumvxwyXpEcRyzSDXvelP3qqIwzFQe7ur6F7sS1iPsXA+G/q669ty/7+NY4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1667871240; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=bWSow0ANRbgZL+RpPiwpQoWZxSeKC1ZJf+WW9du0GoQ=; b=GnCZUIn6vVdh/hyI22q1ZfSx2UxHv+el5LQ2Mc2z0NvJj7/GQE/Ci3EPSwdE/Fo2KIj+K+czVRCcruydY06m/J5iN503a/fDxeoO2AeXWTS5NbYrEfSBqIX/SvVb5wiFLzQyDJqZQ4cFtp0h76sgfSf/U4zArjasbd7qS8dY0vo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1667871240; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=Message-ID:Subject:Subject:From:From:To:To:Cc:Cc:Date:Date:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:MIME-Version:Message-Id:Reply-To; bh=bWSow0ANRbgZL+RpPiwpQoWZxSeKC1ZJf+WW9du0GoQ=; b=DsPm34O2/9q5MaN31669a52IxxaOMzZwIPBZEL8oS0nzuCvw3mLfXOJO4zfvZb/P /7razN4vVgVy8aL0kSm60zYb7yVqOMuWNyDib6i9hduTFXl0O4rzmRhzl8N+xK7TcSz QImmjbxKlcmzAq+r0stL5AEDG/1wpaTgoDZxa7eQ= Received: from edelgard.fodlan.icenowy.me (112.94.103.200 [112.94.103.200]) by mx.zohomail.com with SMTPS id 1667871237476152.56577536025281; Mon, 7 Nov 2022 17:33:57 -0800 (PST) Message-ID: <6b11ee97ebf53dd30bab14c9c40ef8f073a616aa.camel@icenowy.me> Subject: Re: [PATCH v2] arm64: allwinner: a64: add device tree for SoPine with clusterboard From: Icenowy Zheng To: Renze Nicolai , Krzysztof Kozlowski Cc: linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Date: Tue, 08 Nov 2022 09:33:51 +0800 In-Reply-To: References: <334c5f69-2f25-aeb1-b87f-500cf2a6c205@linaro.org> Organization: Anthon Open-Source Community Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 MIME-Version: 1.0 X-ZohoMailClient: External X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 =E5=9C=A8 2022-11-07=E6=98=9F=E6=9C=9F=E4=B8=80=E7=9A=84 21:55 +0100=EF=BC= =8CRenze Nicolai=E5=86=99=E9=81=93=EF=BC=9A > Hello Krzysztof, >=20 > Thank you for your feedback! I've fixed the indentation and I've > added=20 > the compatible and model elements. One small issue, I think the clusterboard has one node that comes with eMMC, which is different from other nodes. Should these have different DT's ? >=20 > Greetings, > Renze Nicolai >=20 >=20 > 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. >=20 > Add a device tree for SoPine with the clusterboard. >=20 > Signed-off-by: Renze Nicolai > --- > =C2=A0 arch/arm64/boot/dts/allwinner/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 + > =C2=A0 .../allwinner/sun50i-a64-sopine-clusterboard.dts | 16 > ++++++++++++++++ > =C2=A0 2 files changed, 17 insertions(+) > =C2=A0 create mode 100644=20 > arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-clusterboard.dts >=20 > 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 > =C2=A0 dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-pinetab.dtb > =C2=A0 dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-pinetab-early-adopter.dtb > =C2=A0 dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-sopine-baseboard.dtb > +dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-sopine-clusterboard.dtb > =C2=A0 dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a64-teres-i.dtb > =C2=A0 dtb-$(CONFIG_ARCH_SUNXI) +=3D sun50i-a100-allwinner-perf1.dtb > =C2=A0 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..f75325d43d76 > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine- > clusterboard.dts > @@ -0,0 +1,16 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +// Copyright (c) 2022 Renze Nicolai > + > +/dts-v1/; > + > +#include "sun50i-a64-sopine-baseboard.dts" > + > +/ { > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0model =3D "SoPine with cluster= board"; > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0compatible =3D "pine64,sopine-= clusterboard", "pine64,sopine", > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "allwinner,sun50i-a64"; > +}; > + > +&emac { > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0allwinner,tx-delay-ps =3D <500= >; > +};