From patchwork Thu Jan 26 04:57:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 48491 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp98911wrn; Wed, 25 Jan 2023 20:58:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXvit6cA91vBOLhNlUjruSxnZloNZ7xa6YQ0AK21lZSygT11Sve6q9E0HZYqScTzC2Mvvo4Y X-Received: by 2002:a17:906:9f07:b0:877:60d7:3181 with SMTP id fy7-20020a1709069f0700b0087760d73181mr29864261ejc.17.1674709125390; Wed, 25 Jan 2023 20:58:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674709125; cv=none; d=google.com; s=arc-20160816; b=JYjMxA+AnXvp/9FJa74fgi3opGsVdj4F5UAwW059pthZNqd3/q3Fw30GcXUZFx+RTY d4fmqZyDqXllclWL3+8gwMaMS4QHdwi7nJkFwExNh2ekzRuc9zwyzBlYNnQYh0A/9cMr 261rpJIZg0oPxbEtMBWLifyvb38bu/PhMwmIHqy1Wipnw1RIQ6UkKaZtrl13Tc5hiCss DDLp/pRAu4sDa+vhdf10/Fb9zJmGvCAt4g4StJVxYQzfbBaRcuixHnDvIXyGk3XzsbhP aTyGtAI4IB1+G6nX6np58mW/PJGSppr/x3mjOIv8PkqCVAq7TxhWhbAOoaDW+8Vm7M/t Z7Wg== 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=1ImKfp6mi3k5y3IxQlr3G7vHr9aqIhKTT53gvo+gyWE=; b=R/LPT6xQZF9eMPEZ4tdeU7QB6LRqTmyQbS/rUpuDFsdXb6b1KnFkqIanDVsc2e/LkJ aYSZEwWMHILGCNdqzU/1t7OOy124NI87xIsZL+hrZl7NubP9m/corvxon5nI0ne2HAEm Fu9JEN7Rz/+p3jdqy75ZER741U9/A69ID8kQuJ8Z4XumDzrL/oI8acSDXnpCup1z8kjh gi4uffyQt5NlUk0oVgHa1Zmir5/Y3qUVe+OPRtv3tiUGLmI+/hnobcriE2bMn8rsfe7R eZzVn4n1KXVp6lksaPr9q0URBHIc+k3ZF6vYEoUxYDzIY/Uiqev/HMucB/K3iE7MB3PJ SBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=hhcBO559; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=KvFit1lr; 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 ge5-20020a170907908500b007ae94428c13si52734ejb.525.2023.01.25.20.58.22; Wed, 25 Jan 2023 20:58:45 -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=fm1 header.b=hhcBO559; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=KvFit1lr; 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 S235756AbjAZE5y (ORCPT + 99 others); Wed, 25 Jan 2023 23:57:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230244AbjAZE5n (ORCPT ); Wed, 25 Jan 2023 23:57:43 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2CD95689E; Wed, 25 Jan 2023 20:57:42 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1EEF15C01A7; Wed, 25 Jan 2023 23:57:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 25 Jan 2023 23:57:42 -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=fm1; t=1674709062; x=1674795462; bh=1I mKfp6mi3k5y3IxQlr3G7vHr9aqIhKTT53gvo+gyWE=; b=hhcBO5594PxuoNyFDW H69ldQx9OIrTw1o6Prp/uDZzoBJvVa9R/X+xpknKnTQmH06Hg5nmTI4Va3sWkIxK fTZ/R37r9EpDbR79rbIPMINoWMITMguqRJErOYim5xew5JxntYawld9jV4Fy8Igb b8q2BRieftj1/E+bARukzf8asV4aj3XFAKb39dtWB5gv+9qcu4FTEG3EtOFIa3ZN CjAExxzj7nw724fmJdYW6UqiXW1AALsauJ3BDTIU9F24nDauqM3irW2BGQPAj5f8 eAo3WOeO0modqrrSGHgSIf3yL4AefqT3gf97QFtLkrEkGOAVixso7VtwTTxalzjH zUnw== 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=fm3; t=1674709062; x=1674795462; bh=1ImKfp6mi3k5y 3IxQlr3G7vHr9aqIhKTT53gvo+gyWE=; b=KvFit1lrT4uVUKDgzJ6l39Mthrz+4 hsCEydgQOJcN0vaTjGue/KEzVb+piFgLnFLbBqTllzlucGWfZiJK0byye9NVdK8v ON1E2IkXxZNhnhCvDQipKm3E4B8jmPAyaSA4p2whn/GkGP1dQmM4jTmSKSm/1Dd4 CL+pPqNKijDMM9uMJMLED/zi8S2gnzcNeJVCW9dq91vYd/XT7JEnlM3e4V9wP2+m wFp41ou8dSmuD8ShgGaelXfUtpsQdLrM/g/Ri8u/sy2GYHaHVeDra1/SdaXabdJI sZh1zcccrLPLa7cZMtSwvllHjM29gSHoI/T7y2GiKfnTdS+ENfnGrVmJg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvfedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepgffhvefhgfehjeehgfekheeuffegheffjeegheeuudeufeffhffh ueeihfeufffhnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrghmuhgvlhesshhh ohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Jan 2023 23:57:40 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , linux-sunxi@lists.linux.dev Cc: linux-riscv@lists.infradead.org, Heiko Stuebner , Palmer Dabbelt , Conor Dooley , Jisheng Zhang , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andre Przywara , Rob Herring , linux-arm-kernel@lists.infradead.org, Samuel Holland , Palmer Dabbelt , Rob Herring , Conor Dooley , Guo Ren , Heiko Stuebner Subject: [PATCH v5 03/11] dt-bindings: riscv: Add Allwinner D1/D1s board compatibles Date: Wed, 25 Jan 2023 22:57:30 -0600 Message-Id: <20230126045738.47903-4-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20230126045738.47903-1-samuel@sholland.org> References: <20230126045738.47903-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_H2,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?1756059795736142369?= X-GMAIL-MSGID: =?utf-8?q?1756059795736142369?= Several SoMs and boards are available that feature the Allwinner D1 or D1s SoC. Document their compatible strings. Acked-by: Palmer Dabbelt Acked-by: Rob Herring Reviewed-by: Conor Dooley Reviewed-by: Guo Ren Reviewed-by: Heiko Stuebner Signed-off-by: Samuel Holland --- (no changes since v2) 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 + +...