From patchwork Thu Oct 17 16:43:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13840364 Received: from out-02.smtp.spacemail.com (out-02.smtp.spacemail.com [63.250.43.87]) (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 A1F121DFDBC; Thu, 17 Oct 2024 16:43:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=63.250.43.87 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729183438; cv=none; b=ECoRFWzRA9hXZLcLlIN+G2nza2XDBBTxM9TtIq4oit4mU2w4FUtMh6bpIZPDTF4WLlziWDGzCEGoPnTylChEjkkrpXmxy+V7thjp7M46nHufaesNNC3nE0JXNoGOIURRLKQb67iPHBBeluECFI94EcMQyYODKA3juQnhIbQG2Bg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729183438; c=relaxed/simple; bh=+ctTxFEFzqgLQRCVpY4zseoqPQJk7ohMEUkBFtNFoLw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=D8Z/iFRoDtU7wydvhZpv6ltHr+OkRxcjXgVSKdtMyyhpTUC8vkyyjcStCAu399NO+wfLA2H607nnvCbJDBjhPiDdSJ/TMSrsYlp8utNTDvCrD5/5UlE6hay3k1xxpfD034t4FKkvPKbs2F1TCu8drigkTkLHEF7Zh7Ieqix1mgc= 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=cY193j0w; arc=none smtp.client-ip=63.250.43.87 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="cY193j0w" Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4XTtvQ3z2mz4wgb; Thu, 17 Oct 2024 16:43:46 +0000 (UTC) Received: from l-latitude7390.lan (host-80-41-166-50.as13285.net [80.41.166.50]) (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 4XTtvH12bkz6tkK; Thu, 17 Oct 2024 16:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1729183421; bh=+ctTxFEFzqgLQRCVpY4zseoqPQJk7ohMEUkBFtNFoLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cY193j0w+rLD4qo2x+16/HQaUfXuxKinsJ6w7AgPzRe7F4pLVuvHc3Thf5X9tzUpF pagLJffFLAj52Bbxhl2J+d/6gHjiiDOjfW9TzJhW/mpuYADmcMOpJBjTpZ/PHP0xH7 QbEaf65/K9utBULbZY0WQ0UBQIM2n/OILL7fmWRxHvkNOB6nawwHgT59rwRhWe0cp6 dPzhvIFDlPBPEobRxre1y1+hLig68qftFCFPvGNOmuDNO8e2JytuZN3lPnrWMm+U0U u7ON6AQcEMcX4elLV/lT0VtawN7aFz72A2ThqK0hISUjf/wxzoeoaKohmSeDxznnA1 lcl/ZlGFCkKSA== 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 v2 3/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s) Date: Thu, 17 Oct 2024 17:43:26 +0100 Message-ID: <20241017164328.17077-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241017164328.17077-1-umer.uddin@mentallysanemainliners.org> References: <20241017164328.17077-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 | 23 ++++++++++++++++++++ 2 files changed, 24 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..f7b1afd0e --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1s.dts @@ -0,0 +1,23 @@ +// 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@9fec00000 { + device_type = "memory"; + reg = <0x9 0xfec00000 0x0 0x01400000>, + <0xa 0x0 0x0 0xfe800000>; + }; +};