From patchwork Fri Aug 4 09:00:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 131069 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp158888vqb; Fri, 4 Aug 2023 03:18:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdPgF+3dsOLmNr6dvLcd63qW2g+o+z8waUxrKonpe8Vl8O4wYUw4/cHQrmDmECmq5ctlam X-Received: by 2002:a17:903:18c:b0:1bc:532f:1bf8 with SMTP id z12-20020a170903018c00b001bc532f1bf8mr179270plg.45.1691144281886; Fri, 04 Aug 2023 03:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691144281; cv=none; d=google.com; s=arc-20160816; b=Bg6pcw4EfRkV0qpUlx1bRO/HLCxPpB/jA4nRfTa81tjO6vSncBNHPF8f0ZEHpYqvTR 3sGN430E4Uiha5FWjoAnd6xA97HONj6cPO82IfEEwKUxWPC/02Q/7r3cRu97LL2n4v1/ 3ymMbi5xKnw1hrr6dJaZap82Yvn+fBsf8BqNDnpEEsM6C847bilXrCWOOya4EZsS8HWZ AtJZL1xlcS+wCXaKI3NAKZ9DsCnv8k6cogaBBoduAm0rTMjwuJdbXj5WltJVrwkFqF/n Wn4WLPHfj2An9ShjEsi8+xCFlKeCxn9UsCwS7llgC5F1yrjjIAbOjTJs5ruyjqdn4umX iY8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=G96HVMbLI1rU6p4k3yG0aS8re6ZL3+6cwgPKnuBJvBs=; fh=f9Mlq71jO0P7J3OtefO4ZnEFbK4huw+XuuGloH0xTY0=; b=0zVqF2CDfzyJkFEKbvZPgt7VqTa/dx+jbTr4nnpBOiv2huD6+4TiHs99//4gEzWdd/ 76VnAH8lwhagiHsOzMxWJAz6RY78noiEmRR2o9VSPAe9gAT8d3VNydv5cU7++yuvcFub 0nNf98MwGIJanpbRSbbFmMZXcLYNEH/2ExsJRtmFzYECGsgr98/jv5Qf8CNl0RAnzegH ZkWXHIIbQ2GY5hw0CYHzI5W2nOtIKBP85TSv/kLUTMszr3mzI6cHhGPqlboqnuXy9Ngn f+0BPKewpuwz2lwhcsmhnE17xg7P52vdkK0hUx4W0mebRtWW9r2rCMZKe3q6vgZdx/Fg DYfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@biqu3d.com header.s=tfld2305 header.b=d2a8Mij6; 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=biqu3d.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kp15-20020a170903280f00b001b9ffda162csi1423034plb.441.2023.08.04.03.17.48; Fri, 04 Aug 2023 03:18:01 -0700 (PDT) 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=@biqu3d.com header.s=tfld2305 header.b=d2a8Mij6; 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=biqu3d.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjHDJGa (ORCPT + 99 others); Fri, 4 Aug 2023 05:06:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjHDJGC (ORCPT ); Fri, 4 Aug 2023 05:06:02 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40C19558A for ; Fri, 4 Aug 2023 02:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biqu3d.com; s=tfld2305; t=1691139763; bh=G96HVMbLI1rU6p4k3yG0aS8re6ZL3+6cwgPKnuBJvBs=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=d2a8Mij6o+w//GVdCOO2xmlVgiODZsipnzTmi4dJOBlnGPWpmruZqE/89lHs6jCNS Zyt9LeTzwl25NcfGhLrQq4sGWg0vKNuTFcOi09W94DOWetCvQn2ulDOLHR5FYQ3jA9 3o2lDOF2y8BsbROPJmpIWgPhPPkw/e296A9xMvts= X-QQ-mid: bizesmtp65t1691139711trsfg9py Received: from localhost.localdomain ( [178.41.211.221]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 04 Aug 2023 17:01:36 +0800 (CST) X-QQ-SSF: 01400000000000404000000A0000000 X-QQ-FEAT: 3M0okmaRx3iNoq7ZaVT6vK4nsgC5VWMtIff9yGzFL4IQNx1BhKVoI9bhHacUg 3ZoLXNYsxaUbFMvFwLKXiIzyJB1VeQhw8oU81RgwJFhT7p8swrE+wuUDXW/cmQipS5EEyN/ MnWKlx7j9bzWitRjfDUEUXj2Ukr9uUc8/KVAeg+VHlrwNZ+Ruog6e+E3dk0mf8rgaXvC5Ls qPdSLq3JpxDYxIDB4hOCNS5eHSMDg7gYX76KCtyuCfh8G60GcbKuwG125+Il2Ndr0QK6GMk PET7JhqT+SWSpQLMTtYyQPfDyIgtk7TCJ8o3c8qLyiP1Q/hVWjvT4s9ROiHuxmRGAps9PTv yPJGQhDO6nRxcn9/OCXN1uNet6XTBR1ZZomQZoy9EO4O9aIt2CrKvd+DKupezhuxbltMgnw X-QQ-GoodBg: 2 X-BIZMAIL-ID: 17424578226797176994 From: Martin Botka To: martin.botka1@gmail.com Cc: Konrad Dybcio , AngeloGioacchino Del Regno , Marijn Suijten , Jami Kettunen , Paul Bouchara , Martin Botka , Andre Przywara , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Icenowy Zheng , Andrew Lunn , Ludwig Kormann , Heiko Stuebner , Shawn Guo , Bjorn Andersson , Chris Morgan , Jagan Teki , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add BigTreeTech Date: Fri, 4 Aug 2023 11:00:29 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230804090102.273029-1-martin@biqu3d.com> References: <20230804090102.273029-1-martin@biqu3d.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:biqu3d.com:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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: INBOX X-GMAIL-THRID: 1773293306588612618 X-GMAIL-MSGID: 1773293306588612618 From: Martin Botka BigTreeTech is a company based in Shenzhen that makes 3D printers and accessories. Add prefix for it. Signed-off-by: Martin Botka Reviewed-by: Andre Przywara Reviewed-by: Krzysztof Kozlowski --- Changes in V2: - Fix alphabetical order Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index af60bf1a6664..a1f3bb7be860 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -192,6 +192,8 @@ patternProperties: description: BeagleBoard.org Foundation "^bhf,.*": description: Beckhoff Automation GmbH & Co. KG + "^bigtreetech,.*": + description: Shenzhen BigTree Tech Co., LTD "^bitmain,.*": description: Bitmain Technologies "^blutek,.*": From patchwork Fri Aug 4 09:00:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 131048 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp138011vqb; Fri, 4 Aug 2023 02:33:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtB99Y4BRNWiYuSiOC5Benng9uVeG0SFjuPUVzZ9XjS1YG83FQfwulp87uGS0rOB2ER/kS X-Received: by 2002:a50:ef0d:0:b0:51d:ece5:afd9 with SMTP id m13-20020a50ef0d000000b0051dece5afd9mr967056eds.21.1691141587337; Fri, 04 Aug 2023 02:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691141587; cv=none; d=google.com; s=arc-20160816; b=nUTrgPjRe9qwf12GC96kJx3qAxOJJcW1U2NkHK8UNFaE+gLJ53CcDGH014NQkzvl/t Aol5BGJWAXjpO9yQwDW9Z9yZxHVvQ8WP8NyweKfd9QgQGfIFWfkX/XbGHaEZBK1IqfJH AsG/bVd3sBDnawowKgG9Erwl9tSRFKtxttC/+QVHiCihSPwOHWtf8/VP3xzEeIE2zlmj rfdMuJwnOYTBgFQ04DoyzPGQjmQJnpsefLOOeLOQefB1wcQwuccCFK+n6g53QJI6FARw /14xc8lPQQ6NY02J3XLZ1nv7IYhYNODQ+p28T8r7Sz/MkAC1BKOLmrVXkOdBz0LKl2yG qDPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JgVNZzIhlR6H9gFXmbCf8H3Qt2YzotlwqrsJXwmccCo=; fh=Sx1qZkAhOcK1VS4eolCtSAkT6dawesctK1qcrBY4hK8=; b=wqdHKIyFoniXZ0vjjgZorrtak/u/x5D0H4uOX9c0oQvgJBgW8vXzjVzz3NXv+SBLOO 7wcPg4hsnYiNQlMELmaUnLqjmKb7KaHhPqlSKSzg9tLtZBSJNuDhPJGt2TMI9rwPl0a/ C7TfhA3akAWMMzgnRE6XTaeWOxsxrUA63yxj/QaQL8jXy3B75rJGLvLZxj8lDMD/wu2W vJdJ+OLaNfbnla9yw5ulwHMJyuGXSNnjxdS9DJdTvJDujrYm9WMsxtWFIJl924lW9+MH 1Vn02zohc/JJZC7KDU/J13cuB+601J1Bg5lBK5dH+DITC4c69qgPo/Dkm8FZzuL5WmhC Nqmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@biqu3d.com header.s=tfld2305 header.b=A0Ai0juR; 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=biqu3d.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020aa7df85000000b00523140fa8f7si1296980edy.13.2023.08.04.02.32.44; Fri, 04 Aug 2023 02:33:07 -0700 (PDT) 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=@biqu3d.com header.s=tfld2305 header.b=A0Ai0juR; 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=biqu3d.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230116AbjHDJGe (ORCPT + 99 others); Fri, 4 Aug 2023 05:06:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbjHDJGD (ORCPT ); Fri, 4 Aug 2023 05:06:03 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B4AA4EF6 for ; Fri, 4 Aug 2023 02:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biqu3d.com; s=tfld2305; t=1691139773; bh=JgVNZzIhlR6H9gFXmbCf8H3Qt2YzotlwqrsJXwmccCo=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=A0Ai0juRZcD+mX+0pFlu3RxVK3Q4uJWRvp1KZTn1Lnmcn/TM8W7+Ca8fohlt0OPGw vHa1/OJnXUABwN78JRhlK4qdGcROYQedocdT04Lvrq/L/Vdc9ZddmflON00c9YZ+wS CyJZoRbPfxbV4c96Im/wiAzvXFe51WVhALIFuENI= X-QQ-mid: bizesmtp65t1691139730to70lhm5 Received: from localhost.localdomain ( [178.41.211.221]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 04 Aug 2023 17:01:54 +0800 (CST) X-QQ-SSF: 01400000000000404000000A0000000 X-QQ-FEAT: bhet8yMU7vnuaKYQvQUAFldXCMttqStdUfNe0fI+vevf21iJgX6Wayc84GUXt +uw0N5BbrA0/8LtvzWgTmd9CV/6OsJfOaYKX7Hjs9i3yF4wyESfhn//IUYV8QfGXeUSHt40 HMAeNP/VRFqWvSmNQNsWwjPwe/fY9MoO6wcQOMLzykEWIIdAjYLdDpBfU1QgbzcC37Mp4W3 Op2I1V07yB4rpnuAuPsGd/iGDTRhD6ThMfc0n5ucWeTAp96ctfmEqdweB647obnRf5qX8wG T+wqxccTYeDAwXSDWsbVA5wKvAvuZUn1et7rWznIf6KVas6wOtInyCPQbsAY/7izjCqyfD3 3a8RP4K/T3NVfxoRmZ19kMJwwix035x+y2hOrPOmjyh219jgKE2vN+q7rGWNBWNL6ODcdcl X-QQ-GoodBg: 2 X-BIZMAIL-ID: 7036281750618526681 From: Martin Botka To: martin.botka1@gmail.com Cc: Konrad Dybcio , AngeloGioacchino Del Regno , Marijn Suijten , Jami Kettunen , Paul Bouchara , Martin Botka , Andre Przywara , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Andrew Lunn , Icenowy Zheng , Ludwig Kormann , Heiko Stuebner , Shawn Guo , Bjorn Andersson , Chris Morgan , Jagan Teki , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] dt-bindings: arm: sunxi: Add BigTreeTech boards Date: Fri, 4 Aug 2023 11:00:30 +0200 Message-ID: <7029E91796EC6A20+20230804090102.273029-3-martin@biqu3d.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230804090102.273029-1-martin@biqu3d.com> References: <20230804090102.273029-1-martin@biqu3d.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:biqu3d.com:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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: INBOX X-GMAIL-THRID: 1773290481085147610 X-GMAIL-MSGID: 1773290481085147610 From: Martin Botka Add name & compatible for BigTreeTech Manta boards and BigTreeTech Pi Signed-off-by: Martin Botka Reviewed-by: Krzysztof Kozlowski --- Changes in V2: - Remove CB1 SoM as its own entry - Squash BTT Pi and manta patches into 1 Documentation/devicetree/bindings/arm/sunxi.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml index ee8fdd2da869..b90d2a7dbe2d 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml @@ -151,6 +151,17 @@ properties: - const: roofull,beelink-x2 - const: allwinner,sun8i-h3 + - description: BigTreeTech Manta M4/8P + items: + - const: bigtreetech,cb1-manta + - const: bigtreetech,cb1 + - const: allwinner,sun50i-h616 + + - description: BigTreeTech Pi + items: + - const: bigtreetech,pi + - const: allwinner,sun50i-h616 + - description: Chuwi V7 CW0825 items: - const: chuwi,v7-cw0825 From patchwork Fri Aug 4 09:00:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 131062 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp154065vqb; Fri, 4 Aug 2023 03:08:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFU2tq7Th4BCHRtml+ZRs5IHqNE5ovHvQ+T/fzQgtR26OL7rDBY6rvytysrEBEXiOGOZ9oS X-Received: by 2002:a05:6808:1b20:b0:3a7:4fa4:edf8 with SMTP id bx32-20020a0568081b2000b003a74fa4edf8mr1731897oib.33.1691143693953; Fri, 04 Aug 2023 03:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691143693; cv=none; d=google.com; s=arc-20160816; b=bFb7a5QYaySNE8dM1fIdZInAgjH74N+yWLPIV/r0yAGdoIfFOD6IbOHUtIaU+Hz9G9 Y63FoNhJJ4BLpPwaGxuLcX5GnJFXWctyyydOFNxdHRwDzGfFqG3xtMi7jhO/jKxanTJI punS84n/kTvcvcsM0cBdnTT7PKgirEIQyhsFqoqGudf0FkakMtIa9eZOpcd/ba5hNifx NSXCw4AWCYizV3C3ThnADpuahPKOqKkIM6TikDB+fduBQw2qtyyURCAPnZAAT57j4Vqu hN7t2JOrfp74ngsiLxAickS02YM0a8pdpDK4HDCCsuU+EZuqCBzzhxG+O65/P8+usLC8 X99A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dJ3h4qLVIpu1qncR7l8Ehi3Br/d5WZX7tMOrAT26j14=; fh=YA3ruec3gow+VjC+aaGpCdAsl16/r+IA0bP4ODp4Kkg=; b=VVQCPx6EN4gKli8EASCLm9sDUfZ+RTGCIT1z3FmGtdV6DnGKGx8LPz6p8Z0aYEcy3H 5topWoDg0KfNzhYIhs9RTq9TXG0xWozwsTaE8t+4wuEz87PH1Z2I5zI5ZW6aF6wX+T1b gdSZrCODDS2CZamVON6yAstv3YQEzYzE5CiDNZEfj4LBjTaUK2GpjYEtsKuHFvw3EB3s rQzEd7sW5lesdLYMnjDgt2/nomEgG6p65b4c0OIlaoIY0bJVzm7os5merFQdp8g8+/fw YSC+MHRCcUPqtZ7A+0qg5N6vbIHolrYwiC9IgHBSVSNexK71DZsuWlkAGXkqoPjLtQgd +7sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@biqu3d.com header.s=tfld2305 header.b=JFiWCpw0; 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=biqu3d.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me3-20020a17090b17c300b002681895d0d9si4950922pjb.120.2023.08.04.03.08.00; Fri, 04 Aug 2023 03:08:13 -0700 (PDT) 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=@biqu3d.com header.s=tfld2305 header.b=JFiWCpw0; 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=biqu3d.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229698AbjHDJGu (ORCPT + 99 others); Fri, 4 Aug 2023 05:06:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbjHDJGN (ORCPT ); Fri, 4 Aug 2023 05:06:13 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2FD755A9 for ; Fri, 4 Aug 2023 02:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biqu3d.com; s=tfld2305; t=1691139804; bh=dJ3h4qLVIpu1qncR7l8Ehi3Br/d5WZX7tMOrAT26j14=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=JFiWCpw0dbdC3Podt1gTCJGZZ98dIBaB483u2/9DOuuf9EjqDkyB6/PtonkYFlyF2 Ni/JxPhYDeRYuIh5o9AsAEiTQjVgGv+9ieBj79y8IkvuMkXrBkvTpWmxjMxKDBm5ak DVpGMTEr2azvni3jups/SpxyRVWdd23X//BvQiCk= X-QQ-mid: bizesmtp65t1691139748tzdhs3pm Received: from localhost.localdomain ( [178.41.211.221]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 04 Aug 2023 17:02:13 +0800 (CST) X-QQ-SSF: 01400000000000404000000A0000000 X-QQ-FEAT: LE7C6P2vL8S6FFIfVMvVB6s/vrbXnkeVEzZUihDw00jE+fATrT8Ggybxfz3kw zqVVrh3fXrNTmkSWDr0gAs2TCyfqL6plUQWb6AG72RC8qYfAehEYInlPxMrTqUr7peE50Sj 3TVzMmne1vyx5EU0E4LvxSpLH/BXX9h9gl6ZMTsvwRmIdL8mvOPDkY/hn1DEkoUXzIPEKU5 KA/gv9tPh79S39yrL+F3elCY7x0awN0hgqrteWVrOv7rNsNFBFctPp2GM+VHEnvzc9pBiFB ycwcNUkRvyHyb1ZxdCfQEomXuUCn7s05wdbDqerRVfnD5Jm2jr9VongIZ4SihGh3aunoQNx W+l5og7hFdI6FwWgYl66I5MHCyxZ1lsrce9ObtcqHDz5EZKyXoitVn28htgBtjiVGEiFNMc X-QQ-GoodBg: 2 X-BIZMAIL-ID: 14703739668246563900 From: Martin Botka To: martin.botka1@gmail.com Cc: Konrad Dybcio , AngeloGioacchino Del Regno , Marijn Suijten , Jami Kettunen , Paul Bouchara , Martin Botka , Andre Przywara , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Icenowy Zheng , Ludwig Kormann , Andrew Lunn , Heiko Stuebner , Shawn Guo , Bjorn Andersson , Chris Morgan , Jagan Teki , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support Date: Fri, 4 Aug 2023 11:00:31 +0200 Message-ID: <3DE536B6217490F4+20230804090102.273029-4-martin@biqu3d.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230804090102.273029-1-martin@biqu3d.com> References: <20230804090102.273029-1-martin@biqu3d.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:biqu3d.com:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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: INBOX X-GMAIL-THRID: 1773292690303563099 X-GMAIL-MSGID: 1773292690303563099 From: Martin Botka CB1 is Compute Module style board that plugs into Rpi board style adapter or Manta 3D printer boards (M4P/M8P). The SoM features: - H616 SoC - 1GiB of RAM - AXP313A PMIC - RTL8189FTV WiFi Boards feature: - 4x USB via USB2 hub (usb1 on SoM). - SDcard slot for loading images. - Ethernet port wired to the internal PHY. (100M) - 2x HDMI 2.0. (Only 1 usable on CB1) - Power and Status LEDs. (Only Status LED usable on CB1) - 40 pin GPIO header Currently working: - Booting - USB (USB-OTG doesnt work) - UART - MMC - Status LED - WiFi (RTL8189FS via out of tree driver) I didnt want to duplicate things so the manta DTS can also be used on BTT pi4b adapter. CB1 SoM has its own DTSI file in case other boards shows up that accept this SoM. Signed-off-by: Martin Botka --- Changes in V2: - Fixed whitespace errors - Move UART into carrier boards and BTT Pi - Remove usb1-vbus regulator - Fix ranges and naming of AXP313A rails - Add comment specifying why broken-cd in mmc0 is needed - Rename sdio_wifi to wifi - Specify in commit description that USB-OTG doesnt work arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h616-bigtreetech-cb1-manta.dts | 35 +++++ .../sun50i-h616-bigtreetech-cb1.dtsi | 142 ++++++++++++++++++ 3 files changed, 178 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index 6a96494a2e0a..7b386428510b 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -38,5 +38,6 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-model-b.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6-mini.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-bigtreetech-cb1-manta.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-orangepi-zero2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-x96-mate.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts new file mode 100644 index 000000000000..9a30d7d627d9 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2023 Martin Botka . + */ + +/dts-v1/; + +#include "sun50i-h616-bigtreetech-cb1.dtsi" + +/ { + compatible = "bigtreetech,cb1-manta", "allwinner,sun50i-h616"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&ehci1 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ph_pins>; + status = "okay"; +}; + diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi new file mode 100644 index 000000000000..669c05f642dd --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi @@ -0,0 +1,142 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2023 Martin Botka . + */ + +/dts-v1/; + +#include "sun50i-h616.dtsi" + +#include +#include +#include + +/ { + model = "BigTreeTech CB1" + + aliases { + ethernet0 = &rtl8189ftv; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ + }; + }; + + reg_vcc5v: regulator-vcc5v { + /* board wide 5V supply from carrier boards */ + compatible = "regulator-fixed"; + regulator-name = "vcc-5v"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + reg_vcc33_wifi: vcc33-wifi { + /* Always on 3.3V regulator for WiFi */ + compatible = "regulator-fixed"; + regulator-name = "vcc33-wifi"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + vin-supply = <®_vcc5v>; + }; + + reg_vcc_wifi_io: vcc-wifi-io { + /* Always on 1.8V/300mA regulator for WiFi */ + compatible = "regulator-fixed"; + regulator-name = "vcc-wifi-io"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + vin-supply = <®_vcc33_wifi>; + }; + + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&rtc 1>; + clock-names = "ext_clock"; + reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */ + post-power-on-delay-ms = <200>; + }; +}; + +&mmc0 { + vmmc-supply = <®_dldo1>; + /* Card detection pin is not connected */ + broken-cd; + bus-width = <4>; + status = "okay"; +}; + +&mmc1 { + vmmc-supply = <®_vcc33_wifi>; + vqmmc-supply = <®_vcc_wifi_io>; + mmc-pwrseq = <&wifi_pwrseq>; + bus-width = <4>; + non-removable; + mmc-ddr-1_8v; + status = "okay"; + + rtl8189ftv: wifi@1 { + reg = <1>; + }; +}; + +&r_i2c { + status = "okay"; + + axp313a: pmic@36 { + compatible = "x-powers,axp313a"; + reg = <0x36>; + interrupt-controller; + #interrupt-cells = <1>; + + regulators{ + reg_dcdc1: dcdc1 { + regulator-name = "vdd-gpu-sys"; + regulator-min-microvolt = <810000>; + regulator-max-microvolt = <990000>; + regulator-always-on; + }; + + reg_dcdc2: dcdc2 { + regulator-name = "vdd-cpu"; + regulator-min-microvolt = <810000>; + regulator-max-microvolt = <1100000>; + regulator-ramp-delay = <200>; + regulator-always-on; + }; + + reg_dcdc3: dcdc3 { + regulator-name = "vcc-dram"; + regulator-min-microvolt = <1350000>; + regulator-max-microvolt = <1350000>; + regulator-always-on; + }; + + reg_aldo1: aldo1 { + regulator-name = "vcc-1v8-pll"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + reg_dldo1: dldo1 { + regulator-name = "vcc-3v3-io"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; + }; +}; + +&usbphy { + status = "okay"; +}; From patchwork Fri Aug 4 09:00:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 131049 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp138343vqb; Fri, 4 Aug 2023 02:33:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/xu2qEM50UcuwNCPu8flaYgxRDtJQaWDGZWG3oHvfJ794/qwbUlobOo3Q12F/FK9wSCL8 X-Received: by 2002:a05:6a20:7f85:b0:13e:427e:ff18 with SMTP id d5-20020a056a207f8500b0013e427eff18mr1504499pzj.62.1691141639201; Fri, 04 Aug 2023 02:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691141639; cv=none; d=google.com; s=arc-20160816; b=sFxiYisD2s4bTVcfrkYLe0WWLxLMTNAKts+jGiNxqjSBotv+YMeYcVDnOYbmhhBXYy XKiZZEm8oFevOuqtTSrPhqi0tlwmd8YTpSzNdX42PwEu69hrbUAFBWgdGN0yRVD2zcYt gv5ngNWX847DkmygfvZKXwQtpxwGGaFMUNC6UX40AqVGaWMQYd8Y0e9QE/4Sm7h+EcRq rIFrAI/BBQFp4R3BZY90OQwnlyMVbSCQLo/iQinwdj5BLIXi3dGnMXPKHTqSvpNrxTXI /bT3plYVjoq96jSAz0bNn2V2+ujcMLW52pjyT6sLzp2qIQGH1mJ/4uwwK5CtFEyC3Dtu 2Ugw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BXFUbvZvZy3aiIGANo/QIT5geUFli3L/HkMpNAYXsLY=; fh=FoE5eKfirOTz+pVu+6KkamnuyxyVCuLGv4cW5wWOYcE=; b=WxRU3K9hJAtUXpQbaHl0/gGO7DSp7F8w9BdkCO0+WGbqwSqsj7H7Qh3JtP9mL/tePH BQEL6MJrtiUETF9O4LCweOQ/z/2nKE9jdkmZgc0feB4UrYybvhlB0264Qw+hUULOIbG/ Qiz2TjNA8+VhI0u41PPi074LSIvDbFBr7AbPng/ZjCyHx2l0G/VuXQR6DPN4voU2RRaU x3VqAogQK2ZwzzgbuNsKKpo/VUmbcqwLuZMzN1Evq0zwFWHndWuX19hDRF6lOmECxxUK f54ES98pgRKQ+5efBwKXq53JiBiqntWRh5Cj0IkHv2v5pnIRLKDttwcLmfB1vaiKrOwl xv3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@biqu3d.com header.s=tfld2305 header.b=JRrP5jXp; 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=biqu3d.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n49-20020a056a000d7100b006765f19e46bsi1404089pfv.147.2023.08.04.02.33.44; Fri, 04 Aug 2023 02:33:59 -0700 (PDT) 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=@biqu3d.com header.s=tfld2305 header.b=JRrP5jXp; 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=biqu3d.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229837AbjHDJGy (ORCPT + 99 others); Fri, 4 Aug 2023 05:06:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230086AbjHDJGP (ORCPT ); Fri, 4 Aug 2023 05:06:15 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C957055AF for ; Fri, 4 Aug 2023 02:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biqu3d.com; s=tfld2305; t=1691139809; bh=BXFUbvZvZy3aiIGANo/QIT5geUFli3L/HkMpNAYXsLY=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=JRrP5jXpHk/Ue3yWX9UkoNIuAyfibjVCs23sHDBODNHB1qU/xuhsG00a6Y/IfFipY xVcJaT+ScwhowAoFkRuxzH8tyeWDHUPc/Rkj2vDw/axdM67Bxy1TNa/Pp2bEyrEohX UJTcY8nQqrFga0gYdooov9lVByR5uVzSguWx3MYM= X-QQ-mid: bizesmtp65t1691139767tq4i37au Received: from localhost.localdomain ( [178.41.211.221]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 04 Aug 2023 17:02:32 +0800 (CST) X-QQ-SSF: 01400000000000404000000A0000000 X-QQ-FEAT: ed3fCvOSdPtJDkZ/c3tNaOzkym+MgZuZlMJAJbbrgUA1gld8FFB1m+uXrhgAm rb1MFqSWKqyx8Wmna6eUnIakQcpPquRSLI3ulqB6qr2z12nGJW6Dv3TgirjQBGNxsbnVK+v XeQsOHac68ESqqvgZaf1wOV0nLeQAAVeRam38KKLFIXIAfzDE4UjGcwUjMgcqk9aOx8nZGY V/5e38+vz2yDKSzMsQTy0y2Ck8zXy7G3c07hEwVhu5S2EqZ3B1tDvNb0rTTbRk0DBza4StB Z9sHwe3Px02mjNs6/9ORDkUoI1ddO0Toi0D2FGvp0sRHufuQK89da8mlmogDc71lo87w18H J9+d+mkg2Mtiz/aoWZjnT4KDtvjQ1L5FfJHj+6Vr++VMjmTIyEP8c3Y9FVKlOpmEPPouBwk X-QQ-GoodBg: 2 X-BIZMAIL-ID: 226659804070956941 From: Martin Botka To: martin.botka1@gmail.com Cc: Konrad Dybcio , AngeloGioacchino Del Regno , Marijn Suijten , Jami Kettunen , Paul Bouchara , Martin Botka , Andre Przywara , Martin Botka , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Andrew Lunn , Icenowy Zheng , Ludwig Kormann , Heiko Stuebner , Shawn Guo , Bjorn Andersson , Chris Morgan , Jagan Teki , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] arm64: dts: allwinner: h616: Add BigTreeTech Pi support Date: Fri, 4 Aug 2023 11:00:32 +0200 Message-ID: <92B0AD8F9717BDE3+20230804090102.273029-5-martin@biqu3d.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230804090102.273029-1-martin@biqu3d.com> References: <20230804090102.273029-1-martin@biqu3d.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:biqu3d.com:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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: INBOX X-GMAIL-THRID: 1773290535935678542 X-GMAIL-MSGID: 1773290535935678542 The BigTreeTech Pi is an H616 based board based on CB1. Just in Rpi format board. It features the same internals as BTT CB1 but adds: - Fan port - IR receiver - ADXL345 Accelerometer connector via SPI - 24V DC power supply via terminal plugs - USB to CAN module connector (The actual USB to CAN happens on the external module) List of currently working things is same as BTT CB1 but also: - IR receiver - ADXL345 connector Signed-off-by: Martin Botka --- Changes in V2: - Add UART alongside aliases and chosen for it - Add model string - Enable IR receiver - Enable SPI0 for ADXL345 connector arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-h616-bigtreetech-pi.dts | 68 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index 7b386428510b..0b6232a7f328 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -39,5 +39,6 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-model-b.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6-mini.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-bigtreetech-cb1-manta.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-bigtreetech-pi.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-orangepi-zero2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-x96-mate.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts new file mode 100644 index 000000000000..cbeedf147ab6 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts @@ -0,0 +1,68 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2023 Martin Botka . + */ + +/dts-v1/; + +#include "sun50i-h616-bigtreetech-cb1.dtsi" + +/ { + model = "BigTreeTech Pi" + compatible = "bigtreetech,pi", "allwinner,sun50i-h616"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&ehci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&ir { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + +&ohci3 { + status = "okay"; +}; + +&spi0 { + /* SPI connection for onboard connector for ADXL345 accelerometer */ + status = "okay"; +} + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ph_pins>; + status = "okay"; +};