From patchwork Tue Sep 12 11:20:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 13381476 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC825CA0ED6 for ; Tue, 12 Sep 2023 11:21:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8aarF8ISu92h6W4Bp99LVtE+JPEC6mSuch9HARD9ZPg=; b=JkqI5/42DAjen3 luFQaPx9UedSCvgPGks983FwIOVeA/HeVT0ZAlqPhJDflTWRxB2bW5F8KKq8fzhDBa+ZT34jYUmpS dTTZbDEX1KYmdxldcv+wLozN/2WjVn+zz4PjFER8fLFcO68KjVb5518LmDyEJR2TmhHNTlwsg2eI5 GE7CPiPlm6f9giGekwyA5ZBpgb9Q6JNe5D2Dlpnf5tryVCoVpxexGdTMgp6BBz5Gu/d3SJSOqCtrU 6ZiIra7tCPvOfKu/M9LiooBIcMaUpot19/7t9v+kZmPFdrNC9lyHk44LJYNvlJ44Z87CQtVweN1NR WRKVkIjewo+hGxYEKO3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg1SC-003CQY-1m; Tue, 12 Sep 2023 11:21:12 +0000 Received: from relay01.th.seeweb.it ([5.144.164.162]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg1S3-003CN6-1N for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 11:21:07 +0000 Received: from [192.168.2.137] (bband-dyn191.178-41-225.t-com.sk [178.41.225.191]) (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 86826200E3; Tue, 12 Sep 2023 13:20:52 +0200 (CEST) From: Martin Botka Subject: [PATCH v6 0/4] Add BigTreeTech CB1 SoM & Boards Date: Tue, 12 Sep 2023 13:20:46 +0200 Message-Id: <20230912-b4-cb1-v6-0-bb11238f3a9c@somainline.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAI5JAGUC/2XMQQ7CIBCF4as0sxYDFAi68h6mi0Kn7SQKDRiia bi72K3L/+Xl2yFjIsxw7XZIWChTDC3MqQO/jmFBRlNrkFz23ArFnGLeCaacsJYL9LNBaOct4Uz vA7oPrVfKr5g+h1v0b/0jimacXaToNbdmQlS3HJ8jhQcFPMe0wFBr/QIokb3qoQAAAA== 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 , AngeloGioacchino Del Regno , Martin Botka , Krzysztof Kozlowski , Rogerio Goncalves , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694517652; l=2428; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=leaBh3diZ3MZ30XqxJNPfTE1vSCVgVS4aD8h/WWeOlw=; b=sup0iEiznSkWwFYCxzgrHf/xKvcZUfMeJ10xErtkR00fZVsv+BMWVENrKWTycoUracW+PA+FC XS+7tZSl/Y8BP0SdPGZHIsUHtak2qfNAu+UPEgztLAjsT7davAiL+28 X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_042103_636726_0A43222A X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1, Manta board and BigTreeTech Pi. CB1 is just an SoM thats based on AllWinner H616. BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi is an CB1 in Rpi style with few additional things like IR receiver and fan port on GPIO. This work started before I was hired by BigTreeTech and thus majority of the patches are from SoMainline email and few are from my work email. This series depends on commit https://lkml.org/lkml/2023/8/28/1073 and https://lkml.org/lkml/2023/8/2/801 Cheers, Martin Signed-off-by: Martin Botka --- Changes in v6: - Remove SPI node from BTT Pi (To be used via overlays) - Rebase on top of 6.6-rc1 Changes in v5: - Removal of wifi node comments that were obvious from properties Changes in v4: - Extend the range of vcc-dram to 1.5V (Max of 1.35V caused issues with booting up) Changes in v3: - Add missed semicolons - Move model string from dtsi to board dts - Add cb1 compatible to manta - Remove extra empty lines - Add pinctrl for SPI0 Changes in v2: - Fix alphabetical order in vendor prefixes - Remove CB1 SoM from bindings (Its not standalone) - Fixed whitespace errors - Move UART into carrier boards and BTT Pi - Remove usb1-vbus regulator - Fix ranges and naming of AXP313A rails - Add comment why broken-cb in mmc0 is needed - Rename sdio_wifi to wifi - Add model string to BTT Pi - Enable IR receiver for BTT Pi - Enable SPI0 --- Martin Botka (4): dt-bindings: vendor-prefixes: Add BigTreeTech dt-bindings: arm: sunxi: Add BigTreeTech boards arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support arm64: dts: allwinner: h616: Add BigTreeTech Pi support Documentation/devicetree/bindings/arm/sunxi.yaml | 11 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/allwinner/Makefile | 2 + .../sun50i-h616-bigtreetech-cb1-manta.dts | 35 ++++++ .../dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi | 138 +++++++++++++++++++++ .../dts/allwinner/sun50i-h616-bigtreetech-pi.dts | 63 ++++++++++ 6 files changed, 251 insertions(+) --- base-commit: cc19c78b3b3f1af285182dd800a3def22227f9a2 change-id: 20230814-b4-cb1-4b18801ecf6e Best regards,