From patchwork Mon Dec 2 16:21:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 846889 Received: from out-03.smtp.spacemail.com (out-03.smtp.spacemail.com [63.250.43.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80A4B1A3AA9; Mon, 2 Dec 2024 16:22:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=63.250.43.88 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733156558; cv=none; b=Bnaxp92NgkarHXmbg+e7W58VahQHtOURvKhCppOuX8zg7B4II5GLd9qwz5jT3IZuzZzv9KpC8FGerRv+9WEhqbCXU+yB8y8D8DH83Y/geASeMffljRTS8THHp3aMhXv0j3mcxyqomR7F2MnOF3CeXcKqQAmMI3HO7KAnp916TLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733156558; c=relaxed/simple; bh=wmnPzi5qSZXoOHQdV8XxTwA45ynaj0iN/09u5qaTPy4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cCHYI+Zuyfd1SYfXJN/2Z/CuYzIcepM6iu+mDP5mSSknOYc087Xamn5PLV0Bw1CMfqE+1lza2xKtQuRkUCHy6YFcMXSOjacfS59rDs7Uydj4Wx720eqweHJi1tumxUb9f+9DPKvx0cFSDxjOiTCGIBe+eJgGBUBli/uvEqCzf+c= 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=mentallysanemainliners.org header.i=@mentallysanemainliners.org header.b=mvbEfbbS; arc=none smtp.client-ip=63.250.43.88 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=mentallysanemainliners.org header.i=@mentallysanemainliners.org header.b="mvbEfbbS" Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y28Fj54PKzGpHL; Mon, 02 Dec 2024 16:22:33 +0000 (UTC) Received: from umer-b550pro4.lan (host-213-78-252-153.as13285.net [213.78.252.153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.spacemail.com (Postfix) with ESMTPSA id 4Y28FY6vqyz6tkR; Mon, 2 Dec 2024 16:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733156548; bh=wmnPzi5qSZXoOHQdV8XxTwA45ynaj0iN/09u5qaTPy4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mvbEfbbSWVGxWuUD1gmzcIl04n9KYr/8PUw/umRTwSY7mBRgTIFbey8buj7wMZ3DL 0J0S0xqwMoMtNPvt++SbOpy12FR2gaFju9N5J2WQ2lG3OcboIzuNp4dWUbZQSILluL nM4SJ04XUC3sdilhLQbCvL4sNAX1/F/x1WppceGVHtDu4vTLbledcEbGwa8i5ksF1Z 6S1deCt/T6X7bpR06UcT/O2mgsOfUO//bd74ulUimyL/RR2S8RjELhkRa6CmphLdIY TQYWJm3Z+NahME6SBPRcGpyo2T345NZ7XQeDI86ig7A66k2pf7zrqE3u4hjsmc5HHe /AX5aNsUA0Pxw== From: Umer Uddin To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley , Ivaylo Ivanov 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 v3 3/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s) Date: Mon, 2 Dec 2024 16:21:57 +0000 Message-ID: <20241202162158.5208-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241202162158.5208-1-umer.uddin@mentallysanemainliners.org> References: <20241202162158.5208-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 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 7a934499b..deb8dc509 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -9,5 +9,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos850-e850-96.dtb \ exynos8895-dreamlte.dtb \ exynos990-c1s.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..162961446 --- /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-hubble-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>; + }; +};