From patchwork Mon Aug 14 08:07:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 135211 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2595620vqi; Mon, 14 Aug 2023 01:18:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0UtFPRqHuB7xA2YUqd7xOP/XnLuy31CkDxJ8j4+luJ7VEetzLcqqlIjbp+IGGTKoqPjHW X-Received: by 2002:a17:90a:64c1:b0:267:eeee:ab17 with SMTP id i1-20020a17090a64c100b00267eeeeab17mr6398309pjm.45.1692001118786; Mon, 14 Aug 2023 01:18:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692001118; cv=none; d=google.com; s=arc-20160816; b=BUCIs5zYQu366CqhmdcVqvVXCRwRIqpRqKeeEtiuh65tRTYg+TKilIHxUW8huVj/Eo TFhMM5HZMnzQGffjNHFdecoMlOuIZUyhs2uLCuFGvfDVtVUeBkgPqZWN8Oxqsw3l7TsA b4SnlzQ/49dEHe4bBaRf08kwRuApQbx1hJQD9fv4xoQQB3ta9xS3e5lGLM25Cm02DLy+ 1I2DFHbqDhrJmwqp0qAYE+Dx07WcrBy4z72g6Wj0UglhKpg6uGjkO0eXVtzxXMaqhXCD EnLEo3T7FdvWOjENct1ERci+UmHxr3lKcH7W6KixVe3/s3drI+jQsR3ry1vHVkkVc/RG NkNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=GLUjZVpFg80R6YQfYb9BHVsuyBgzsMn1OnoGwwJorLE=; fh=ypBDA8o/lbZuVPPqDPDkL43h9KCH495Yvezd17V/OBc=; b=Q+dy+3AodjoWOVhEaJ268bAwtqXenxiqI+jtvjdtbpRke/dspON9Jr2fTLzm2TfGuB AqYumVv8YEx5vZF8hEaZLZ+lF2y3roIABToz7820kz/sUOsYYkxCDxXJPeAbH+bYEWL2 qv+1Mmim6ma6bYpbbyuS4Dt58VM96DhHMvEArp/x3iBJqT45omX86TCPrcfYH9xLvyrS OTXUoHcYFkDN/Au6i6cyUix0Rva3o0MBXrMJB40x24D/FwLPevmzrwgHIZb25s6Z2Vzq R98RQzGdLWLS114rLcwAtcuIzX7uuvHhk0LGDmq6gb3Pfmno7FmI177GZXUHrVB4ynM3 Mj2Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg4-20020a170902fb8400b001b89b1b9a01si7532364plb.194.2023.08.14.01.18.24; Mon, 14 Aug 2023 01:18:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234484AbjHNIHi (ORCPT + 99 others); Mon, 14 Aug 2023 04:07:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234453AbjHNIHN (ORCPT ); Mon, 14 Aug 2023 04:07:13 -0400 Received: from relay04.th.seeweb.it (relay04.th.seeweb.it [IPv6:2001:4b7a:2000:18::165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 245A8D2 for ; Mon, 14 Aug 2023 01:07:10 -0700 (PDT) Received: from [192.168.2.137] (bband-dyn221.178-41-211.t-com.sk [178.41.211.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id A97F91F53B; Mon, 14 Aug 2023 10:07:07 +0200 (CEST) From: Martin Botka Date: Mon, 14 Aug 2023 10:07:03 +0200 Subject: [PATCH v5 1/4] dt-bindings: vendor-prefixes: Add BigTreeTech MIME-Version: 1.0 Message-Id: <20230814-b4-cb1-v5-1-92135086dee4@somainline.org> References: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> In-Reply-To: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara , Alan Ma , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Krzysztof Kozlowski , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692000426; l=1057; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=RUWZj81bsc4vcSBum5JUlIQ+fy7HYU2LxqxOUFlV7M4=; b=d6lH22g63bns6ANBbiNipfO7tSWVHhCXDDpTwu5qZh9Z4ID6PP5Zefqs1mvTDvBcBo9wrZJ4p GvCevtFZY/3C/51eVC0jjMcPw670sxYt48XB2od8tWJ6ESftElf0NQ9 X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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: INBOX X-GMAIL-THRID: 1774191765259509581 X-GMAIL-MSGID: 1774191765259509581 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 Acked-by: Jernej Skrabec --- 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 Mon Aug 14 08:07:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 135217 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2601515vqi; Mon, 14 Aug 2023 01:33:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWX6PJLLeG4REi40y+X1e6SlQoqBWGqMKor2RImdY0Ew2ztiNPcNKIAn2S1B2Eyt3DYUOa X-Received: by 2002:a17:907:2cd3:b0:998:de72:4c89 with SMTP id hg19-20020a1709072cd300b00998de724c89mr8210218ejc.50.1692001999370; Mon, 14 Aug 2023 01:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692001999; cv=none; d=google.com; s=arc-20160816; b=fOTEW3x/+5si6ZB+lwxrXijhyebCILED3lUnSXbmUGY0lDakgXq0AnToALUS7ev7Qk QaqHruTOMClW/y0W6fOFw5HP5Y3rOFVL8wgr+mpPQ9m/PVpvJn1J57P1jwMBmZ6CUaaI uWmJeAIiGrzwiDbU/HdBXD+D2cuAah94Rbj1hC7GnaaCdOPY60yXmN8q3xWQBUTVkScl fcky8fNRu9RfiRKhTRQfWPchYj9nErQcOMRGILySipC4ZDpwfJ3B0nr1K6SQaSyfulxK m+zHTvPBgpSJ9SuyO3+zmap02pWBxEJpIpdp0SYXjyhl+F0knYY3UKZU/PzaWk58+AZZ wdTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=KevyNvT+LODt5quC/KyARu7T9sImgnF+ao6Plo5Bb88=; fh=ypBDA8o/lbZuVPPqDPDkL43h9KCH495Yvezd17V/OBc=; b=UJkOPt1258KSZHJegyDhy3hVyCkTzEy0u9uKzxgOoKxhU7YmClt32E7Y3y26Tofn6K GWSZXy1i7l4HPjWWE3R/6ThVrQ2wFlxDFcswTK6KuREkMEv9tzqlis5Aoj6GUFhqP8gL uEWfGQImKV+rMZlKMnHiV8HyZmTBS2oMTeAcv0p9isX26D73laI9+r4IOyqytv9j7TFc nwybpzgaJyAAfKx4R0H6b1Uu1AobrmsY5PbS2TebpIH3l+QAFgsPf1y4wP+M81maX2Sf wQQ+1vuoViUzoNZqbW1FKn0VPUQCYVKX62vW/3/FACwaSsBOu8m6mMvlXwfxuAeLe3l1 aI5A== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r18-20020a170906c29200b0098e0739532fsi7118604ejz.732.2023.08.14.01.32.55; Mon, 14 Aug 2023 01:33:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234495AbjHNIHk (ORCPT + 99 others); Mon, 14 Aug 2023 04:07:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234450AbjHNIHN (ORCPT ); Mon, 14 Aug 2023 04:07:13 -0400 Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [IPv6:2001:4b7a:2000:18::162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAD4EA6; Mon, 14 Aug 2023 01:07:10 -0700 (PDT) Received: from [192.168.2.137] (bband-dyn221.178-41-211.t-com.sk [178.41.211.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 514261F540; Mon, 14 Aug 2023 10:07:08 +0200 (CEST) From: Martin Botka Date: Mon, 14 Aug 2023 10:07:04 +0200 Subject: [PATCH v5 2/4] dt-bindings: arm: sunxi: Add BigTreeTech boards MIME-Version: 1.0 Message-Id: <20230814-b4-cb1-v5-2-92135086dee4@somainline.org> References: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> In-Reply-To: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara , Alan Ma , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Krzysztof Kozlowski , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692000426; l=1182; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=qtqWQccplJuFFEgG0lgMMMT5+E2RuoC7YtAGYvsMFyc=; b=DoPds3Cj5GLOvwXsztjCtAmOkVbKYKP7s7zzhU1WPHOKDoZBeyAD/DTzDbM9Q06D3wBxyqx8x M+LYi36USiXC/723xkRkAA+D/7lroNcu8pU6gqtVWsp3ufAY4mtZFgX X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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: INBOX X-GMAIL-THRID: 1774192688047804751 X-GMAIL-MSGID: 1774192688047804751 Add name & compatible for BigTreeTech Manta boards and BigTreeTech Pi Signed-off-by: Martin Botka Reviewed-by: Krzysztof Kozlowski Acked-by: Jernej Skrabec --- 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 Mon Aug 14 08:07:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 135212 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2595903vqi; Mon, 14 Aug 2023 01:19:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEveOtWbgtTJYx7PyIpcRPop+JUyP+x7nHCgJJyFKHWanA8TO6hiih/Qokwn49qt6CvcJC7 X-Received: by 2002:a17:90a:294e:b0:262:ded7:63d with SMTP id x14-20020a17090a294e00b00262ded7063dmr6413968pjf.17.1692001159771; Mon, 14 Aug 2023 01:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692001159; cv=none; d=google.com; s=arc-20160816; b=i1NLuOASd9OCHax9Wk/AZ/3GuiNwh0L10bf/tHpY5uoBD8Hi0xX0Dxg1449EyzPyPA hkIFD92Tvbt2SXUv5Jyman1fBtJiKe6suMPHV2eNxkCiabeFGmU55/1nAl0ROTz8FxIA C0iBNlrqekWngSf2UriJGNUy3dQdg8Q5Zh2HoWkdj3CaFehcAgzheflh995+3lpQqC/k S7l4ozzhaslSKxCMjBKrPKy4rj3aXqNmfGgmEn+lm55GUoC9swlqTORysMkFS7D87eeN tkKllNJpwtg4fO9AgRsDdYnvghgavYo8sMNbtsKG4n6Yq4Hb/mrZH0OMcMd9DB0/aJWh Jq6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=ljlgq/mueK4iwvTsf2xzedKjRvdr1Vx+GpMblja8RnU=; fh=ypBDA8o/lbZuVPPqDPDkL43h9KCH495Yvezd17V/OBc=; b=mr/IFd8CxamHLHOU4eWoPr+7EtGXF2a4OOna0duwXWULWeAu3uMu+5550ouHybcZ6a qHnczmp+H3e4Z8z3r9eJTFxtETCRxTmu8bPukEt8b6twPu8B4Gf/OdJkjXtas5yknfGW FV13OvpRVCZ4iEg/Iddnh7OsSHw7KTblBOUcEHofd2kfkBXvikEiFrf+eCs56KTM1/8P Xb6vQ0nu6yVhQe8kBSy34AamWgif9W+vznVZtDi5woLBjilzK+14HXuwsfd0W3LRtHCO 0iMTvpeM8b5N+HZZdCID5J9brkhFJs/ju1cc2ijqQIwKBfTbxyEHy/KqPTTPKMXi4L1E o/Vg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca18-20020a17090af31200b00262dc058680si7606428pjb.123.2023.08.14.01.19.06; Mon, 14 Aug 2023 01:19:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234551AbjHNIHq (ORCPT + 99 others); Mon, 14 Aug 2023 04:07:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234456AbjHNIHN (ORCPT ); Mon, 14 Aug 2023 04:07:13 -0400 Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [IPv6:2001:4b7a:2000:18::162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 230D2DA for ; Mon, 14 Aug 2023 01:07:10 -0700 (PDT) Received: from [192.168.2.137] (bband-dyn221.178-41-211.t-com.sk [178.41.211.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id EB7D41F547; Mon, 14 Aug 2023 10:07:08 +0200 (CEST) From: Martin Botka Date: Mon, 14 Aug 2023 10:07:05 +0200 Subject: [PATCH v5 3/4] arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support MIME-Version: 1.0 Message-Id: <20230814-b4-cb1-v5-3-92135086dee4@somainline.org> References: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> In-Reply-To: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara , Alan Ma , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Krzysztof Kozlowski , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692000426; l=6249; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=PWDahy0DDl5h7OsMMRbBnHSAIjH6nSVBOg8QZT9EiT0=; b=1oRSSVW5TeCtHCbhZNgwZIOtT66Q2hyIeFa++NN+B+Cavcxjyc6pq3POVlTwbU00rXAJwdudT rJ4ytogeNbsB2vIEtrQ3RoBYr6AQzm8HPcFZbLhOdleqUU3mQkM+5T6 X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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: INBOX X-GMAIL-THRID: 1774191808450038438 X-GMAIL-MSGID: 1774191808450038438 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 - 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 Reviewed-by: Andre Przywara Reviewed-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h616-bigtreetech-cb1-manta.dts | 35 ++++++ .../dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi | 138 +++++++++++++++++++++ 3 files changed, 174 insertions(+) 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..dbce61b355d6 --- /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" + +/ { + model = "BigTreeTech CB1"; + compatible = "bigtreetech,cb1-manta", "bigtreetech,cb1", "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..1fed2b46cfe8 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi @@ -0,0 +1,138 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2023 Martin Botka . + */ + +/dts-v1/; + +#include "sun50i-h616.dtsi" + +#include +#include +#include + +/ { + 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 { + 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 { + 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 = <1500000>; + 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 Mon Aug 14 08:07:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 135210 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2595484vqi; Mon, 14 Aug 2023 01:18:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0qpq/n+dbgDnMzwqanVi9qKAnkHuJezpYZkbu4CPu4s3pWPJzkLKExlRBy57qLmh+kYu5 X-Received: by 2002:a05:6a20:3c87:b0:13d:7432:ed63 with SMTP id b7-20020a056a203c8700b0013d7432ed63mr9793075pzj.8.1692001099884; Mon, 14 Aug 2023 01:18:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692001099; cv=none; d=google.com; s=arc-20160816; b=IXM9mRkog/cdo9/H1/T1Iz3wpqctF4woIAteEjmC/hZRJi2ZFY6EX7Fuok3UjwRZd+ oRnRsneI0LjaH5yMXtrLhdsCoCBmyDYXHSmRCRtAlyG4wRM3FX+AjyULyY+TncJv2ArD 84U/ULbeMukW50Ee41rDGbt7rzzsftAYaWkKXbBm2S6tFIXylIU2vC63eHVGh/T565KV 5M60YF2B7kW3GMDGJ9WSZB8iptt3IGUJJUzOm0UyR59VUClzo+petFxAGz2fHx7pHQ5k 5UkFhX/T07q2//DHuz/mP9t58Wmcd+B75djOp1ZtBuET2Eew+NBjki1NVnLPkjoFdhYQ tL5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=jkHkSSP3BcPUEVdYcqeaddVCY3Vcm9Xv1jDJHrwiWuo=; fh=ypBDA8o/lbZuVPPqDPDkL43h9KCH495Yvezd17V/OBc=; b=z/OQssTY6Umz6Juf1UwOptnyYHlZ1NJBsdcX+Q0flYIffXYPnV7MCW8pymBzwzZjfe PJY3J4RyZKKwCsyhifxymIHck9VmHVHP4KbjDp2iu8TNGN+gw1rAmBjzaj9kreQkrnIy CYUBomIX/DOlPS34l1wXn4AU1uNInY+lVz0cxfZGaYzvPG7/IV/1yaRuWpFPNi97Id/h 3plenxtaEUX5wZjvUjMWG35rhdsDS47lezcOewG3XIoeqLu6OD2N4cJ/iPs63rK8NI7k +UlmdgQwOQVjobQISnMlpP3NGeHKOsCw1iWSfkrJZjI9mK/zZoiafzBQc63O5ICpBj6P KDeA== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h17-20020a170902f7d100b001b8b4330585si7646146plw.510.2023.08.14.01.18.06; Mon, 14 Aug 2023 01:18:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234299AbjHNIHd (ORCPT + 99 others); Mon, 14 Aug 2023 04:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234454AbjHNIHN (ORCPT ); Mon, 14 Aug 2023 04:07:13 -0400 Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [5.144.164.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF3EE0; Mon, 14 Aug 2023 01:07:11 -0700 (PDT) Received: from [192.168.2.137] (bband-dyn221.178-41-211.t-com.sk [178.41.211.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 8FB711F54E; Mon, 14 Aug 2023 10:07:09 +0200 (CEST) From: Martin Botka Date: Mon, 14 Aug 2023 10:07:06 +0200 Subject: [PATCH v5 4/4] arm64: dts: allwinner: h616: Add BigTreeTech Pi support MIME-Version: 1.0 Message-Id: <20230814-b4-cb1-v5-4-92135086dee4@somainline.org> References: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> In-Reply-To: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara , Alan Ma , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Krzysztof Kozlowski , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692000426; l=2750; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=EegbgtE4WOEsugVNAelzHEdNpUdhoeJMT8E5wnJSOf4=; b=6CjT0ZKWHXVj8TcyNkq1HL3NFrOhW+jSfbpY82moZHaYjsWHYvAWc3+lkANg5jDyty3O5JNYq 6SbqYBtcJYVDIvzs/C9I1g0qNjobwiQcz4Oif6tPTiS37ipA/d5q3W1 X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,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: INBOX X-GMAIL-THRID: 1774191745491185450 X-GMAIL-MSGID: 1774191745491185450 From: Martin Botka 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 Reviewed-by: Andre Przywara --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../dts/allwinner/sun50i-h616-bigtreetech-pi.dts | 70 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) 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..b0d0386e8f13 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts @@ -0,0 +1,70 @@ +// 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"; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins>, <&spi0_cs0_pin>; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ph_pins>; + status = "okay"; +};