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: 19883 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp996877dyc; Sat, 3 Feb 2024 04:44:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGM7BqVLwd6JQoAP8ni+ne7bIsN06c9iv29IunC5ztPLafiCT3vBGR0V7a7/0pNiEMuvll2 X-Received: by 2002:a81:a1d0:0:b0:602:c1e2:c6ee with SMTP id y199-20020a81a1d0000000b00602c1e2c6eemr8820334ywg.44.1706964286511; Sat, 03 Feb 2024 04:44:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706964286; cv=pass; d=google.com; s=arc-20160816; b=Xz8LuyvptS8+7WlyvRvYVu+lPf+HkDBq/dkTZZseaFVeCe93sqTxfDSHQXh1tyQuRG etUtJBK2RZDz0fw5KPstS7srHPuEVZeU1UweWN1QTGKHNdXkEAd3QzyeeIVmst5pXcRc E/WgiEEMziztxeMtbpd/7mihBbZ86hYyZoiAtcXgwCHYF1i8FkCHz5Fnvo4AnsqrS7Hb cDpaVPWsUpzRucjY8TyHRjj5aUYU+5EuN9d+uJqV6oGvq9sZyIv+QjhR+r633fv1Ujkr YskdarvTlYxEhAxMkBVbK/F9aE1k/qsTSMEdPbkpaHV6tF58f3BgI8pj6ouDKCWRWw9r KVug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4KUkTeS5cRFVzYOp3T5LSnOvpcucsCWBS1hNFk3O6uQ=; fh=6pjvEWryYvWckAECndgNrbO+dI9kAs5J0s/gVEW1HFE=; b=kd1dQVBj2Aoin+OAfkE6M53Gph7N9WZIkwWxOXxhn563DnL9flGxhOQqG03Lr9rrkl OFF+ptnp3tDJMd92orGbIRE+BvyAy9VXvqNy1lrKam0Nd75KE6LcvJ4ckdF5m7PkhQWE 7e4+rYaBLpWv7Hh8hj7ofBt/dOLtP0L50nJOgccwDqzXsaQ3oRZuOah7l3W2R0Du/k2X NnZGhAeod9x56zOJTD81RvqtWt/DaK5hwYBfS9wymXlucxteGOVcMPKg+oDr9K8foKbm aKA0ACz0Xty/2icz5HLyQ9j0AiEn1CglFhVD464Ty+Uu9HOFj5vAEfoMmQWD3A8qZ+Yi VrXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LOQSSMyP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51081-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51081-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXPnOXC4Aemyy5a1O7y0qZ+aELoYl+k1UkLWtB4tzzWJj+eP16vfkXkycOF8B5IIjaLbSrvfndyuvOyUobp1IOu+0Sq6w== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o14-20020a0cecce000000b0068c88ad22c9si3040283qvq.12.2024.02.03.04.44.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 04:44:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51081-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LOQSSMyP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51081-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51081-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4DC7D1C21BEE for ; Sat, 3 Feb 2024 12:44:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F08C5D902; Sat, 3 Feb 2024 12:38:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LOQSSMyP" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73834384; Sat, 3 Feb 2024 12:38:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706963881; cv=none; b=gBz4h7YdtUzPz6JWF+J3M23sYv96JUUqGBtCAxYn9Zn/BjXi8yB2h+fjqdHkGHESBro+kwwxqnRMfc/uVGRWUp+hwFi0kKzvuYqOAzTY3xFqG3sOOzSZ0cOUnC/SDWfEYtBhQQHKbjCuPPsQKrgon3Lk3FSWg3llajZeGPMTWBg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706963881; c=relaxed/simple; bh=Ry8SP/OpV6N0TsgPYkBd/xIsbggogFR8RhqfHiLkaC0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CkRgqHXoTLPimUsRdhIJ3g3X5yiCvUg8OBSvBhUkaHlhRXvgd21aGpYoaNuLOhrQIGHpqVBsDZdb5+WwkB3vYDy9Dpq6o68LmO2l3bnCa9nE/uk9cSFpj0B48t7V2CVAtR3gRg1JmybsZyKfN1GDTsxgplO2f+HwMe+Gh/OfzpM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LOQSSMyP; arc=none smtp.client-ip=10.30.226.201 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789881783952871970 X-GMAIL-MSGID: 1789881783952871970 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