From patchwork Sat Feb 3 12:24:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 13544228 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 8312BC4828D for ; Sat, 3 Feb 2024 12:38:15 +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: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:In-Reply-To:References: List-Owner; bh=uixeAWuQjeDdhgmvozgyJav6T/5SOTdHiT4jQ6Yn1wM=; b=LtSOTqPRpbtXpv b+7bb5aDRnCRlICTIJQmN8YsEWr6ZG6gGjkPMbbqSbcgJo6+PsqUfD3gaOZykc/T06solvgcbSJIl XtI31PTv1R+hn9ejUyl6dKG+CuCe7kFht1zbcmuMRgyR6xeupeWHpgVSVwKs/CU6mzLdngRRHH4VL VcRvucxukdi7RDLJx1h+Qb21pbwi/dQhOuCf8XToPQv/kl0KBwfvRlR+Z0MSw9CqP7AKNEO3f4n/9 3MB2XJw+i6QX7o/s1if/SF+KRvq7WkA6/aRij2L+fEe4NIDd6XhvB8D570chFXnbD2oNVaUwRbJmU h2wypWBc0GdulKe8A5DA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWFHZ-0000000GO8L-1a9n; Sat, 03 Feb 2024 12:38:05 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWFHW-0000000GO4l-0VSJ for linux-arm-kernel@lists.infradead.org; Sat, 03 Feb 2024 12:38:03 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 1D6726069B; Sat, 3 Feb 2024 12:38:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CCE3C43390; Sat, 3 Feb 2024 12:37:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706963880; bh=Ry8SP/OpV6N0TsgPYkBd/xIsbggogFR8RhqfHiLkaC0=; h=From:To:Cc:Subject:Date:From; b=LOQSSMyPReMCQHK9FEk70qVJLRqmoOVAcCMtTqsUCwJoY68Bkmc4zOqHZLzZbQw7p aC1MVB3u4Mwu38xuVJTkaEkpzx+0Jo5ybsGIX4ZBOzCf7UTI+USUk6vkprfm3+THnl 0JlhBZYlz9fgpUfE8d7DSCMYBYt313uFW6fe1pxcQ375X83P9iBgaS51JiRkSWvYdE LsgP215md0KkMYZaF2FZNIgeLXprzjtuBXVsD9QKUZE6Dt+M9kOQ0tVOW/EgpB0LQN QaV4RHpdHzS/SZbcRVS3yNuPrfLJRPW/qS3ATNOFumgAlNJjXfJs3GAF97ACCLmZo/ WkNXAg/acfkcQ== From: Jisheng Zhang To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Andre Przywara Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] arm64: dts: allwinner: h618: Add Sipeed Longan SoM 3H and Pi 3H board Date: Sat, 3 Feb 2024 20:24:59 +0800 Message-ID: <20240203122502.1259-1-jszhang@kernel.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240203_043802_224430_D91BC615 X-CRM114-Status: GOOD ( 10.80 ) 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 Add Sipeed Longan SoM 3H and Longan Pi 3H board support. The Sipeed Longan SoM 3H is a system on module based on the Allwinner H618 SoC. The SoM features: - Four ARM Cortex-A53 cores, Mali-G31 MP2 GPU - 2/4 GiB LPDDR4 DRAM SoMs - AXP313a PMIC - eMMC The Sipeed Longan PI 3H is a development board based on the above SoM. The board features: - Longan SoM 3H - Raspberry-Pi-1 compatible GPIO header - 2 USB 2.0 host port - 1 USB 2.0 type C port (power supply + OTG) - MicroSD slot - 1Gbps Ethernet port (via RTL8211 PHY) - HDMI port - WiFi/BT chip Since v1: - Use const rather than enum for "sipeed,longan-pi-3h" dt-binding - remove dts-v1, model and compatible from SoM dtsi - add interrupt related properties to axp313 dt node - use "vcc-1v8-pll" and "vcc-3v3-io" as regulator name - add dt node for board's discrete 5V->3.3V regulator and use it for eth\tfcard 3.3v supply - add usb2_vbus-supply property Jisheng Zhang (2): dt-bindings: arm: sunxi: Add Sipeed Longan Module 3H and Longan Pi 3H arm64: dts: allwinner: h616: Add Sipeed Longan SoM 3H and Pi 3H board support .../devicetree/bindings/arm/sunxi.yaml | 6 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h618-longan-module-3h.dtsi | 77 ++++++++++ .../dts/allwinner/sun50i-h618-longanpi-3h.dts | 143 ++++++++++++++++++ 4 files changed, 227 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-longan-module-3h.dtsi create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-longanpi-3h.dts