From patchwork Wed Aug 2 22:02:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 13338895 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 6B0DDC001DF for ; Wed, 2 Aug 2023 22:07:10 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z72mZ2t/kgwlA33R3erRtm4lVVfy4f37z++6Dtwfj4Y=; b=Mcc44hUGD4Dhps S2xCNrKvuC4eclfAyEvBcQXd0VPAy5jsMVOUXesUnO1oh9YHvpGRT3Q70z2Q2XayNkLmDEFq9SE1D PYR9TtJUrBjbT3DZutxw2N8/UrXvsljsCJioG4FlSGxTThh3EmTX1T66Fm8Pgg7aQp1Fv+HLUL2LA 1Ouh2kJPt4qFd3IKO8xxsO6YAv8ZJcFdYKRC1cF/5MmJs6ByL9uI55GtqDMuLcOhyyctX/5V7Djlj ABiTP/ui3cYZs+sRnXAQa/FH4xBboewzQpVc/qsvzehVBm+xXzmV5O9+31+oXmQcGhVvlsYdWCLNO QJT/6R8gOQPeuNVI+gCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRJzT-005zpL-0R; Wed, 02 Aug 2023 22:06:47 +0000 Received: from bg4.exmail.qq.com ([43.154.221.58]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRJzQ-005zoF-0U for linux-arm-kernel@lists.infradead.org; Wed, 02 Aug 2023 22:06:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biqu3d.com; s=tfld2305; t=1691013996; bh=biEvRZtAy9JobJPGeIzHyKFJl4/+oPo0y3sPVz51oy4=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=niPcKmfNXbrrj6CnlySEXx2/viA1v80OjikgqxKua6Eo1iX/+R4q9hOKpOJ7KEvTd x6uukCYnvDAEh1LGu6/89p/nuqTSuehcJZkZIJdqLvRVA4s3LjxmNTsM6I95NHAye5 7WIoeyjghtz24yHfrL4fk1J55dxLLluU5IBS1fyo= X-QQ-mid: bizesmtp89t1691013911t5qhiqcn Received: from TimeMachine.lan ( [178.41.211.221]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 03 Aug 2023 06:04:57 +0800 (CST) X-QQ-SSF: 01400000008000301000B00A0000000 X-QQ-FEAT: ILHsT53NKPjBkPxVUesfz0lluzQZMjsfUmpeg7ogF8xBcSFqv4AAli17hKtgg 2oRRAAw9ZlWlpoFqq/6/Os2nmroIVgigJI80z/bv2lQrk/DRnofaOqNr6BtP86m3WRwv84B 13JAtfYUj1NKB1DS9wAHbtIRfO9FbBdRDcAGdNqlcDbNGddp8xgT7aFqxhCN676bDUQvHkV 9SQNzF10moPjCqHtn5lo3/AJANAJkpHxE22TapC5iB1T+iF11Ux8EQdCh6AM5n/QbHTLGYu sOvWZ+yNs72KT57f7EezxKhIR+az1xLhNd1t0evt/6mbVQIRNhPFo+TbOH6KATeJjwPPXZl XJd7H5T2FskHLMivZr1KD2jvpGAVj88Evq1nJbLnCRw7Vgcw5no1HQHavBcmA== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 11005468934301047537 From: Martin Botka To: 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 v1 6/6] arm64: dts: allwinner: h616: Add BigTreeTech Pi support Date: Thu, 3 Aug 2023 00:02:39 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230802220309.163804-1-martin@biqu3d.com> References: <20230802220309.163804-1-martin@biqu3d.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:biqu3d.com:qybglogicsvrgz:qybglogicsvrgz5a-1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230802_150644_516784_D22A592A X-CRM114-Status: GOOD ( 14.17 ) 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 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 - 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 the same as BTT CB1. Signed-off-by: Martin Botka --- .../allwinner/sun50i-h616-bigtreetech-pi.dts | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts 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..05f39b3606ba --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2023 Martin Botka . + */ + +/dts-v1/; + +#include "sun50i-h616-bigtreetech-cb1.dtsi" + +/ { + compatible = "bigtreetech,pi", "allwinner,sun50i-h616"; +}; + +&ehci0 { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&ohci3 { + status = "okay"; +};