From patchwork Fri Dec 6 18:46:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 848010 Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) (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 54BFA199243 for ; Fri, 6 Dec 2024 18:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=34.202.193.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733510810; cv=none; b=aG7xct4uECR1pKGfdGJnSsTiXP1n7gJyIV/bJotlIVDq4e4T5nbOd6FpzBldspLkGzm6zKhAv9jtOIPiR1LAyaUTg+pvUFuKPilIy89JFOXb0MkmlzFGh4H9/n4fqD0beKAIM5+RCEmxFGlkeJ1Cq/K/nGkool7SZdrEID7UxR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733510810; c=relaxed/simple; bh=+9v9v998yOutkpEhufnysfjZ8TgWJVXjzo5R46wA2bg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YSWavNNEBAUgnl9TqDbRdOMnwjFMai0rjv8d5OvT8dTA9CoTCHizWr5rOBbxZMZFkfXX/4WGRjXeOHWSfp/J6CDc012f8Fd7ZCJOxi/B4CgdRGQgL0aD+bo7h0D+A29rUZy0p7AuRUOEl3y5bpGGfJWtcSI9iQVNwvZgHlmYBOE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mentallysanemainliners.org; spf=pass smtp.mailfrom=mentallysanemainliners.org; dkim=pass (2048-bit key) header.d=purelymail.com header.i=@purelymail.com header.b=VPBjgus8; arc=none smtp.client-ip=34.202.193.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mentallysanemainliners.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mentallysanemainliners.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=purelymail.com header.i=@purelymail.com header.b="VPBjgus8" Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=VPBjgus8/Un8Viz/Z7xCqMfaa8uGw6R1L6NnBadhmjeEG2RAOw+zKEU5QZRAMpFagNqc9bkMNffuQbW0z1YbQ4fh6jxesDutIWA+d1wgdxaxDRv2frjJALAuG/UIr6iU6BnLPzxnuF68emEiEUpov4yYITpag2wVhQWNXqW+GXJV0bFCE8Z0jsvLIZEAhnD0GFBWpf8tHcy380QGgiaAKdFzutc/RLhNLOF9xxJdZ/oqU7cLOfoaN0XWhVJT6G/zDRYcHDV9g1Zm9tPaZMZQ6I2906wGuuShoe9nfadPzVv9+tzrvIgJrJxHSF5knzsmtsDBcVBIo1GptEMIDdG/fA==; s=purelymail2; d=purelymail.com; v=1; bh=+9v9v998yOutkpEhufnysfjZ8TgWJVXjzo5R46wA2bg=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 68229:10037:null:purelymail X-Pm-Original-To: linux-samsung-soc@vger.kernel.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1358913524; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 06 Dec 2024 18:46:24 +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 v6 3/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s) Date: Fri, 6 Dec 2024 18:46:08 +0000 Message-ID: <20241206184609.2437-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> References: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Add initial support for the Samsung Galaxy S20 5G (x1s/SM-G981B) phone. It was launched in 2020, and it's based on the Exynos 990 SoC. It has only one configuration with 12GB of RAM and 128GB of UFS 3.0 storage. This device tree adds support for the following: - SimpleFB - 12GB RAM - Buttons Signed-off-by: Umer Uddin --- arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos990-x1s.dts | 28 ++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s.dts diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 948a2c6cb..fe47aafcd 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -10,5 +10,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos8895-dreamlte.dtb \ exynos990-c1s.dtb \ exynos990-r8s.dtb \ + exynos990-x1s.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynos990-x1s.dts b/arch/arm64/boot/dts/exynos/exynos990-x1s.dts new file mode 100644 index 000000000..1ae881015 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1s.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S20 5G (x1s/SM-G981B) 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 5G"; + compatible = "samsung,x1s", "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 0x2 0x7e800000>; + }; +};