From patchwork Sat Nov 19 12:31:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Renze Nicolai X-Patchwork-Id: 23266 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp691897wrr; Sat, 19 Nov 2022 04:38:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf72MlvFU5mQOowws973NjnFiNcX5Sa1Bj3kd+Fpve0dbWc0HRsQd0feo82ryBerqZTtrIXN X-Received: by 2002:a63:470e:0:b0:440:69bc:c972 with SMTP id u14-20020a63470e000000b0044069bcc972mr10307879pga.86.1668861511038; Sat, 19 Nov 2022 04:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668861511; cv=none; d=google.com; s=arc-20160816; b=qav2j8NjAn0QhRHyYjojThge9vUvREYTtNJpYTSxDqiG0k27hAYI70jdIVoOfoRw8/ j6brY2kWdOwMBPlpZmIuJqI6+FEjaYuOoxzDGRCo8F1a52a8pNOKKNOwtfaG9V7Zu42Y BU2ioMhEGi0AoOLaZQK7OCHGyg2yB9OoE1FDQVgPAww+ywnhENklYywDPV6dPWeGOWml 18t9dJeitKNBpB4rH+7NPSZlpILE5U4pB0FqBgCMDTYFBnTU3SsQSXm0hnGL9HhlksWi aFmQHWw6Jjsyri/kpAjiS0mA/+oYhsF0FlXc8LFhI553jtMmd3YGPD4rOcOCoJy0tOR8 ZPsA== 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=emIhdi2K3rPnreB4TyuWWksHKXQFA6Y4GfW+vWsF1MU=; b=Cx4s6zUI8dHjbJS8gzaNWpUmctAno34CBymb1OWb2qPGckpOKJiSP7kJOk0JtTu3a5 Gil5gpsCg1o8Nh2V23AqkJ6RHNrOF0BoJA8O/INk2XixKHFQPgp2mf+6oBLggtXzZwrZ AfcDFVRlGf5E3/dq2GseyANJ+4gAyhO/Fg/KTbT1gL7vIdl8nc4E+FL1qLmARUoXsGIX kPCBN9JAYPWJ4U6FjrGe1zfmgyFtlHNaRRwhLrocBd13D73rpn8sC5u+qcQlGx6oW8DQ DmtQ2n77goCFZGzYmnxlX0WuNxlMr1gbzhLEcx6L3L6Ufy1C3y6/BEvnzuyO4nwS5UhP WQCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@rnplus.nl header.s=dkim header.b=fpxK4Kgj; 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 u6-20020a170902b28600b00188ffe7f69fsi3701030plr.251.2022.11.19.04.38.17; Sat, 19 Nov 2022 04:38:31 -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=fpxK4Kgj; 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 S233572AbiKSMcK (ORCPT + 99 others); Sat, 19 Nov 2022 07:32:10 -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 S231959AbiKSMcI (ORCPT ); Sat, 19 Nov 2022 07:32:08 -0500 Received: from mail.rnplus.nl (mail.rnplus.nl [178.251.25.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20CED8B103 for ; Sat, 19 Nov 2022 04:32:08 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.rnplus.nl (Postfix) with ESMTP id E9AC6378664 for ; Sat, 19 Nov 2022 12:37:04 +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 oTq_foI5nZAB for ; Sat, 19 Nov 2022 13:37:04 +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 3D73A36029F; Sat, 19 Nov 2022 13:36:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rnplus.nl; s=dkim; t=1668861417; bh=rnG8sjo/N3gTRU0atyYSvZpaMO5aKRCHC8hx6dCfNsE=; h=From:To:Cc:Subject:Date; b=fpxK4KgjWViOlXnlBjEEy2YEb2hZuAUnNLl3toymLyva58BxU+zYL3SuWWrQUshOt JSPeVNrgtK3BoV/gLVvgzXB7Cu3sPtYprICV25y1GU/xMxZYZoA5+xXkQ9LT/k/u3E TiUxjDRC0lBXDSPPikIl7rBNnI0/JEX9dlie14/4= 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 1/2] dt-bindings: arm: sunxi: add binding for SOPINE on Pine64 Clusterboard Date: Sat, 19 Nov 2022 13:31:57 +0100 Message-ID: <3007229.e9J7NaK4W3@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?1749928127546868612?= X-GMAIL-MSGID: =?utf-8?q?1749928127546868612?= 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 binding for SOPINE on the Pine64 Clusterboard. Reviewed-by: Samuel Holland Signed-off-by: Renze Nicolai --- Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/ devicetree/bindings/arm/sunxi.yaml index 3ad1cd50e3fe..00bb4cdfa77f 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml @@ -736,6 +736,12 @@ properties: - const: pine64,sopine - const: allwinner,sun50i-a64 + - description: Pine64 SOPINE Clusterboard + items: + - const: pine64,sopine-clusterboard + - const: pine64,sopine + - const: allwinner,sun50i-a64 + - description: PineRiver Mini X-Plus items: - const: pineriver,mini-xplus 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>; +};