From patchwork Mon Dec 9 08:00:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13899062 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 59807E7717D for ; Mon, 9 Dec 2024 08: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=BZPR2vltWWuXxB/XNd8FScY8Zty+Yp2VQ9mz2bPNxuc=; b=fIUj/Bf4cfgd/oA6lwqgjQkLuV Mmi6MAW0g8WSZvnbpA/9PfStBO/xv3ssDvfhGonkGmUfhLcXcclYgJ7Osj5SRjrDGX4jT44L0Le6X ORMgH8iLaC31+QbmmZPX8jQ+Z8po5OnHYdwp6L3VhERcUFtQnqYLF9qVYfKGBC2ahv7cuMBBUvQ1q TWEwJOOIOSWY8ye9oTVRLHuPRQZi8N3g3A7FeV3JXHO8Ennqx6JxZXnxREWcESVSrNtO6dO3bomnz UAlmIzQlQk3zs4ukQncmeuqFEHGLHYM33tQOR86wo+NeJcjiDH4q36EIatYRnf8xfUuNtTcCXOflG zvCesSaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tKYnA-00000006q8a-0Or7; Mon, 09 Dec 2024 08:06:56 +0000 Received: from sendmail.purelymail.com ([34.202.193.197]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tKYi5-00000006oYO-3L4l for linux-arm-kernel@lists.infradead.org; Mon, 09 Dec 2024 08:01:42 +0000 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=bpNpBjfOoNhNMpIXGj0p1j8UhAtkDs+AaPj16UiHLLmLKqVfNNXmOV/y/rYK08jStxvZBpFafVRnY6PZPWaNl/mRi5NUMlyqBtAVWs05ojSMoh+62OY685NvKuRUxUNMvKWgSaHomu6t9nvBbrkDdU96bwQorLJzuPln1paxT6oIHHbimzVPHBwOFZS6kJZ1zUidWeYjsGjnv7RlzLgc6NTo0XNcl+xZ6sOUll5uPjTk3NlXbQUSM2kh1F7q+4xaYvsUHlYrO3L4CueGvPQrJ2gZiMawIsjga27vQ93Wy+IVzD8tCIJpXml4reNdX05jIgv4EIXc/+NYJjBhAsm4hQ==; s=purelymail2; d=purelymail.com; v=1; bh=WiBInClXAeRon+rmergp1g0wZ62ShFKtz6iZvduQAZM=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 68229:10037:null:purelymail X-Pm-Original-To: linux-arm-kernel@lists.infradead.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1477585645; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 09 Dec 2024 08:01:18 +0000 (UTC) From: Umer Uddin To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, igor.belwon@mentallysanemainliners.org Subject: [PATCH v7 4/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte) Date: Mon, 9 Dec 2024 08:00:59 +0000 Message-ID: <20241209080059.11891-5-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241209080059.11891-1-umer.uddin@mentallysanemainliners.org> References: <20241209080059.11891-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241209_000141_905940_37A80B69 X-CRM114-Status: GOOD ( 12.74 ) 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 initial support for the Samsung Galaxy S20 (x1slte/SM-G980F) phone. It was launched in 2020, and it's based on the Exynos 990 SoC. It has only one configuration with 8GB of RAM and 128GB of UFS 3.0 storage. This device tree adds support for the following: - SimpleFB - 8GB RAM - Buttons Signed-off-by: Umer Uddin --- arch/arm64/boot/dts/exynos/Makefile | 1 + .../boot/dts/exynos/exynos990-x1slte.dts | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1slte.dts diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index fe47aafcd..ee73e1a2d 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -11,5 +11,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos990-c1s.dtb \ exynos990-r8s.dtb \ exynos990-x1s.dtb \ + exynos990-x1slte.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynos990-x1slte.dts b/arch/arm64/boot/dts/exynos/exynos990-x1slte.dts new file mode 100644 index 000000000..d3720996b --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1slte.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S20 (x1slte/SM-G980F) device tree source + * + * Copyright (c) 2024, Umer Uddin + */ + +/dts-v1/; +#include "exynos990-x1s-common.dtsi" + +/ { + #address-cells = <2>; + #size-cells = <2>; + + model = "Samsung Galaxy S20"; + compatible = "samsung,x1slte", "samsung,exynos990"; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x3ab00000>, + /* Memory hole */ + <0x0 0xc1200000 0x0 0x1ee00000>, + /* Memory hole */ + <0x0 0xe1900000 0x0 0x1e700000>, + /* Memory hole */ + <0x8 0x80000000 0x1 0x7ec00000>; + }; +};