From patchwork Sun Feb 11 08:17:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 13552391 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 69032C4829B for ; Sun, 11 Feb 2024 08:31:03 +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=/+wI0TLvAYjkYopXFWbNXl7bnKNVtRtJNlPjesOCE1Q=; b=0WL7xG1sAjNAOj Y+X+xV5fwTb+CduBDfUS4w+uByufeEThkndpht9hyjbFkmKuxnOl+CcY/P+05NhqkdJbQvG36xIbY mw9CRIawDSRCpdJ+/Qndm/dPIUZhsAgd6IZ6uOysFymAB0PpiI3blUGGcBO7i1gUw9iv2uIiOfwBm xK3pGA7eZ5Rk+brITYBjQneM6qRMj6gPHIM7DR9XQy9/xFBNfPmHeYd7IPDbo2mIEzJo60MNE5Qc+ hnuorYaDthQ2CfRv4YGBwA+yzo+0DihXwY0NH37GxDm4QGvsyaZyH7ETWROY1Kh1sQrJDzuSC/558 8yE/wSd2vEr2CTWcybtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZ5Ef-00000002Uyd-20u1; Sun, 11 Feb 2024 08:30:49 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZ5EZ-00000002UvX-2lfn for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 08:30:45 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 583EBCE009F; Sun, 11 Feb 2024 08:30:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54B47C433C7; Sun, 11 Feb 2024 08:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707640236; bh=GhzMVGJSxEftKc4QVl/zjhW+60RgOc/AYDpBzCJgt5I=; h=From:To:Cc:Subject:Date:From; b=hgvUBFtbnVRZFQ3hQYtwKtombd9PvdZTsDRF59IxALceNkOeflXSEI25xbNWU21PH UBkePsmGsg+PYeo86YqtAFacSCnUcz+lgoV/3kKYovlC53Qbef9djNjCBVeVVmKBYW jWXoQ0KZvVVoetUdZoVGkBue9JLpdoyXeE38RMaNC6xOt6nOfunwcX9CkBVQvsjRyw XbOcDrnvODmpLT/t+Lej0tAp/P4TcN2SiY7ptzEWoNxNyd/IpYYBYDPc/xiBBAw8G5 HcH5eb9WLP+rMoxGMdkkEU76Z+e87CRnbN+muxW5inwwiAioVS4H2mj46RUjg6DrHI hN5omoDTMLjTw== 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 v3 0/2] arm64: dts: allwinner: h618: Add Sipeed Longan SoM 3H and Pi 3H board Date: Sun, 11 Feb 2024 16:17:37 +0800 Message-ID: <20240211081739.395-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-20240211_003043_884518_D5A4978C X-CRM114-Status: GOOD ( 11.15 ) 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 v2: - collect Reviewed-by tag - add vin-supply property to reg_vcc3v3 - fix reg_vcc3v3 voltage value - remove "interrupt-parent" and "interrupts" properties from axp313 node 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 | 75 +++++++++ .../dts/allwinner/sun50i-h618-longanpi-3h.dts | 144 ++++++++++++++++++ 4 files changed, 226 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