From patchwork Sat Nov 19 12:31:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Renze Nicolai X-Patchwork-Id: 23267 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp693037wrr; Sat, 19 Nov 2022 04:41:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf54Elp1TrenKGa1NtTUQGaIOH4Sic3zmlQx8rOmjWpZ5OR631HMgOx7FJgQPzNBH5znU56i X-Received: by 2002:a17:906:52c8:b0:7ad:ba1e:1bac with SMTP id w8-20020a17090652c800b007adba1e1bacmr9378449ejn.528.1668861711208; Sat, 19 Nov 2022 04:41:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668861711; cv=none; d=google.com; s=arc-20160816; b=lh8iFT8mHg7s2iWaiajZZNwmtn4DVRcTStMkQWeobJdma7hPw2fNMOLZ+cHVZAQ4nb dwSjMY0uo1b38tBHJE5jnw6H6EkCRmP5YqvlujSSJtGFkl/Px9cnXY4jXSWwwTb38KjR f+SsV9FzEgGA6JiH6PsTawp1o6kPz9NMYjtaAPL4cRA3uLVJN69IHZz9R8qKNAiJT0pD 5bECDJIp/3T9D9Sv6zZ/N7XizSOXa3zr2s971cBikSWT2RYCCL4nVYnoLqr/Si4nfggx WPEmbj+aDb8JDBTIJ1OT20H1EfPFdCkpxzGd4IJMd1T/3PJ5ZfYBRzClabk/VxOhqI/5 Fq+g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=bpf1U5ZNzVK9pzx1rylksBPln4lzU3jirSA2lRvULvc=; b=cuMN3gsMAaYotZQo3ZENxJVrVo9KxjSKYn1DdONWlbvES2AEPBxb241tp2KbB5nvRu T3jx3M+hcG6Nc8onXK6xL5XWOK2nUHAOww4bP+KKdMZDz9YnT53BvTnP7GNeY6OqiJWb AxkOfTjLkDTgkdXCEx8fCts841yj1gfFP1YMPDx2ncKBrRRPZVMWDu/kg5SGguh2rCGK rHaD64EJNQSP3QGn/u3g/K7/UnbHl0mI/ylinjNlU9pgLqjeB/PyOPWB7GQrdDjeu5HM Lk/K7amoVhUHG9jT4zXphDBdzF7cEQoc6opMJrH7OPMtxMVj3blYYQqDJjNwMBa6q/ku Hydg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@rnplus.nl header.s=dkim header.b="mF/JbqFD"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a0564020e0700b00468d58b2535si1018960edh.445.2022.11.19.04.41.26; Sat, 19 Nov 2022 04:41:51 -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="mF/JbqFD"; 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 S233728AbiKSMcO (ORCPT + 99 others); Sat, 19 Nov 2022 07:32:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231959AbiKSMcL (ORCPT ); Sat, 19 Nov 2022 07:32:11 -0500 Received: from mail.rnplus.nl (mail.rnplus.nl [178.251.25.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D68CF8B843 for ; Sat, 19 Nov 2022 04:32:10 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.rnplus.nl (Postfix) with ESMTP id AF01837866F for ; Sat, 19 Nov 2022 12:37:07 +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 uqGstaFmtzzE for ; Sat, 19 Nov 2022 13:37:07 +0100 (CET) Received: from werkpc.localnet (87-101-2-254.dsl.cambrium.nl [87.101.2.254]) by mail.rnplus.nl (Postfix) with ESMTPSA id 49A4737865F; Sat, 19 Nov 2022 13:36:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rnplus.nl; s=dkim; t=1668861418; bh=akAXi1MFXUANjNwzEmt7q8xYQob8p69iSgdJ0x2khrI=; h=From:To:Cc:Subject:Date; b=mF/JbqFDoYM1R08D6utag0UJUG5j85cYBGMZ2P7aqt9t0v6LIyiR+j19thvILdsXz 2Rxs2WOYyw17dwfyX6mGps/mzsOBwCtLxJpdDxGzRLVhv96BYJLdwtwSuMQR/+y8lW 670XSpOy/D6eaA4hX66KMB6poQezps+MDefc4+WY= From: Renze Nicolai To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Andre Przywara , Conley Lee , Andrew Lunn , krzysztof.kozlowski@linaro.org Cc: linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] arm64: allwinner: a64: add device tree for SOPINE on Pine64 Clusterboard Date: Sat, 19 Nov 2022 13:31:59 +0100 Message-ID: <3351526.aeNJFYEL58@werkpc> MIME-Version: 1.0 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=unavailable 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749928337476113676?= X-GMAIL-MSGID: =?utf-8?q?1749928337476113676?= The Pine64 SOPINE Clusterboard is a mini-ITX sized board capable of hosting up-to 7 SOPINE modules. It is largely compatible with the SOPINE baseboard but it omits most of the in- and output interfaces. Also The Clusterboard needs a tx delay of 500ps for ethernet to work. Add a device tree for SOPINE on the Pine64 Clusterboard. Signed-off-by: Renze Nicolai --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-a64-sopine-clusterboard.dts | 16 ++++++++++++++++ 2 files changed, 17 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..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" + +/ { + model = "SOPINE with clusterboard"; + compatible = "pine64,sopine-clusterboard", "pine64,sopine", + "allwinner,sun50i-a64"; +}; + +&emac { + allwinner,tx-delay-ps = <500>; +};