From patchwork Fri Nov 25 23:46:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 26161 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4356170wrr; Fri, 25 Nov 2022 15:48:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6GhEiKoueRnqUbslt4fEMxOk0k+ImJl5f0afrFj6Sf9bJrg2nJG0CU9/lIXUwGsuqMJinN X-Received: by 2002:a63:ed4f:0:b0:438:a751:f8fa with SMTP id m15-20020a63ed4f000000b00438a751f8famr36265078pgk.601.1669420110799; Fri, 25 Nov 2022 15:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669420110; cv=none; d=google.com; s=arc-20160816; b=wd7KwINRT5hGiQ42uTeBUUEjBW9eT3zvQhNVBKGL/EPXYheYc5ugSwonVmOq6CtQ19 9ORMg17YiAaDI2ZDv1uWhHzvF4jK6P7IgUJjgPmHPLnEMLo4DpR47QJH87rbyzL9+WGT tchmtfbgnlDRmtXbUDxvzVGUehUz88TfccfaDuakQRi/4joN2+A/QUwX5FpqwEMKa77A bB+rNSo/wP1c/HuuRFTEW8rN2MhXV34LOSVmqXGNgZtzAGsdu4VAcP7vf/Yp7CziHLcz t3YLY9rCyb+zISaQTKrpRCViewMs3+uW5L4j2PYxelW1W1FIeTlA4nlrW87oef80ntKU 9P0Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=kN0WFCG125D5ehSdOWNDPr96iJsAT9nPUC8NxGh4TM8=; b=nfqSlTl8pPmLb+wGvZ/CAKEqPCta+I37MT7QdWy0TcPzajsLPesMrsyGvxrKu3AiII NAhQ8Sr8Xc8tv3SNMARu04XBhMtrEmODbvXkf9sZLpP6s+wbfse46dMteVYCFyKB1NVf KGs+azmR+JY4/+1nVM9VJnSMzDtr6gwZvoU2DiU2aNWBifKPkASQfCcOIWo+9DWcZx8Y YhVKXhBZ+zuArqFZBM3WyoJBmK8kEyX6timleqcFUoczyWlM1IeopQuhu51r+5DlAncU njXkHULzYc08gW7zqeMAvyFm5VBulE0Jqosrew91Pj4GT1DZiyfQxKH5uII7iiPNnZnN Ipsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=Pp3irVqV; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=PMpVovnU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n28-20020a634d5c000000b00476f59d849fsi5122580pgl.601.2022.11.25.15.48.18; Fri, 25 Nov 2022 15:48:30 -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=@sholland.org header.s=fm2 header.b=Pp3irVqV; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=PMpVovnU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230151AbiKYXrR (ORCPT + 99 others); Fri, 25 Nov 2022 18:47:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230116AbiKYXrG (ORCPT ); Fri, 25 Nov 2022 18:47:06 -0500 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8326159FFB; Fri, 25 Nov 2022 15:47:05 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EEFE35C00C8; Fri, 25 Nov 2022 18:47:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 25 Nov 2022 18:47:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1669420024; x=1669506424; bh=kN 0WFCG125D5ehSdOWNDPr96iJsAT9nPUC8NxGh4TM8=; b=Pp3irVqVCSRxnfXPH+ xB9CRTIawHYEgbbHWMbsJZkVX8eEQTN4wk/CxzaVpMJgdXC8cwPGvRKUNItsDbMt 4CFXIyFoKZe+O9UdKvF1v0rOji8TeElbUI/R5ymasUAkhjNU26R06KiQWLbJ4l/y 3Ay5y+QWCBiR7XYot+08Mjiit1cyzuu9uqkhJkfaxluKDd20QJgvQQTAwxItsuTV PzvELlG/G5dehDNmcfiEs+6hrezxdFtUxiYqoxtFrmbWcKWrC+6ehK8By9zf+lTU 7e5D6itIJoN2p0eXsRThhV5Dfq+fRDDKijGtrr9KNYP9/12Jo92S/BVYibNMlqIj UxPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1669420024; x=1669506424; bh=kN0WFCG125D5e hSdOWNDPr96iJsAT9nPUC8NxGh4TM8=; b=PMpVovnUsahjl0PzQ6hiIwUbbmYCG poWN1Um5gg3NDIepxEFfOw3ugZn9GtmbbVldfPV0DnFyMmY/AhZVdRH2mZUNOeqB U+u65hUnPp1Rwh7w/WmTdgfYW0jmJ4m6UxccyuOF78IMEL8PCHZLGULJCRfjC0sp NV/HKsgJEWyY8TVkphZ1UdEbU9TZp6Hx4b5jU+wUyLZINMG0kaeFdPvcKBijrhiI biIvERyuTcnMzQfEMf1dHd4m6tkTofRuSIZy2jh1hqh2C4zuW4YJ2XCrLFItTPEP xIWYq6kL+mRa/VhQHc76iM9X8UNWSPGMisTvLFl+q0nKg7HbBBZxJDJSQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrieeigdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpefghfevhffgheejhefgkeehueffgeehffejgeehueduueeffffhhfeu iefhueffhfenucffohhmrghinhepuggvvhhitggvthhrvggvrdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhho lhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Nov 2022 18:47:03 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , linux-sunxi@lists.linux.dev, Palmer Dabbelt , Conor Dooley , linux-riscv@lists.infradead.org Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Heiko Stuebner , Jisheng Zhang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andre Przywara , Samuel Holland , Albert Ou , Anup Patel , Atish Patra , Christian Hewitt , Conor Dooley , Guo Ren , Heinrich Schuchardt , Linus Walleij , Paul Walmsley , Stanislav Jakubek , Rob Herring Subject: [PATCH v2 03/12] dt-bindings: riscv: Add Allwinner D1/D1s board compatibles Date: Fri, 25 Nov 2022 17:46:47 -0600 Message-Id: <20221125234656.47306-4-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221125234656.47306-1-samuel@sholland.org> References: <20221125234656.47306-1-samuel@sholland.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750513861667401397?= X-GMAIL-MSGID: =?utf-8?q?1750513861667401397?= Several SoMs and boards are available that feature the Allwinner D1 or D1s SoC. Document their compatible strings. Acked-by: Rob Herring Signed-off-by: Samuel Holland Reviewed-by: Guo Ren Reviewed-by: Conor Dooley Reviewed-by: Heiko Stuebner --- Changes in v2: - Add MangoPi MQ (non-Pro) board .../devicetree/bindings/riscv/sunxi.yaml | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/riscv/sunxi.yaml diff --git a/Documentation/devicetree/bindings/riscv/sunxi.yaml b/Documentation/devicetree/bindings/riscv/sunxi.yaml new file mode 100644 index 000000000000..9edb5e5992b1 --- /dev/null +++ b/Documentation/devicetree/bindings/riscv/sunxi.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/sunxi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner RISC-V SoC-based boards + +maintainers: + - Chen-Yu Tsai + - Jernej Skrabec + - Samuel Holland + +description: + Allwinner RISC-V SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Dongshan Nezha STU SoM + items: + - const: 100ask,dongshan-nezha-stu + - const: allwinner,sun20i-d1 + + - description: D1 Nezha board + items: + - const: allwinner,d1-nezha + - const: allwinner,sun20i-d1 + + - description: ClockworkPi R-01 SoM and v3.14 board + items: + - const: clockwork,r-01-clockworkpi-v3.14 + - const: allwinner,sun20i-d1 + + - description: ClockworkPi R-01 SoM, v3.14 board, and DevTerm expansion + items: + - const: clockwork,r-01-devterm-v3.14 + - const: clockwork,r-01-clockworkpi-v3.14 + - const: allwinner,sun20i-d1 + + - description: Lichee RV SoM + items: + - const: sipeed,lichee-rv + - const: allwinner,sun20i-d1 + + - description: Carrier boards for the Lichee RV SoM + items: + - enum: + - sipeed,lichee-rv-86-panel-480p + - sipeed,lichee-rv-86-panel-720p + - sipeed,lichee-rv-dock + - const: sipeed,lichee-rv + - const: allwinner,sun20i-d1 + + - description: MangoPi MQ board + items: + - const: widora,mangopi-mq + - const: allwinner,sun20i-d1s + + - description: MangoPi MQ Pro board + items: + - const: widora,mangopi-mq-pro + - const: allwinner,sun20i-d1 + +additionalProperties: true + +...