From patchwork Tue Dec 3 08:03:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13891880 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 47867E6C616 for ; Tue, 3 Dec 2024 08:06:28 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nG8WRDsS3aQLEGs7GtSj1/lBtlITADxa8Usay8tA1ek=; b=NqJgYMMTsi4vDUchGgNvrRjsIs 57NsBtCmQU0WZaXguAp6CdtFprJBPg47ERwfpINiMNvmHgbFil/462HWfeTxxUHA016VR0OGyMQAC +9dok5NE7uiLj6SXggh0VsyQMbc0x0Oqu3Oum9WSQ/KqGJbRrdWEAeeQbZ7eDjRB4J1j2TVMQPH1M z0uMbx98B8cC3QJjded4jPRX5LOfXQKT6UmSfuDhtTuieluBaVRAtaVKRJf3zAGiVypsWVy16t440 R615it9Y1wifDLxxzqwRtRG9ss3uUBHVD+04YKxG0EqDwqwXzOSy1byvxLTgWRUlwU3t3iaH/7kpW vkZNZJew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tINvB-00000008dIl-1du5; Tue, 03 Dec 2024 08:06:13 +0000 Received: from [63.250.43.87] (helo=out-02.smtp.spacemail.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tINst-00000008ciT-1ARU for linux-arm-kernel@lists.infradead.org; Tue, 03 Dec 2024 08:03:52 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y2Y7m6CV6z4wNK; Tue, 03 Dec 2024 08:03:48 +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 4Y2Y7d10qWz2x9B; Tue, 3 Dec 2024 08:03:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733213023; bh=bNG16fxeZRe7PkHUfBJcI8c38q4ij6t/20saRuOZksI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lt97fZXt2qpb9pbxaFECX8tJeWDp8RvPwR/gLyBP0gnF9EhaSvJMX7oNyIoY0yJJr nq4MQuni6iPJazUnx9jJOFD1FRzDgyTjHEIkRvZqioiHnAwNK6QhCt7STMIE4gClEA 1oECxoEU8t3EPPdLjdzW7RDU4j553QV24mP9PboLKDPIWaJ/RThGUIR5LhI91JX1UB /Mity2lWfS6dFkHQhc74FzqLt/5aSFQ/O+iocoJntgDoR2ClC3P7nXP3kTqzpBIh4r 5EfnSEYLCtmd1fv6Xhbshi+4Gfwj7VdV1WJr8Ia+ab9RwuQXe3z47REw5FW6QJ5nRi lZJPwkljuxcvw== 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 v4 1/4] dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B and SM-G980F board Date: Tue, 3 Dec 2024 08:03:23 +0000 Message-ID: <20241203080327.4751-2-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> References: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241203_000351_386788_121CD3CA X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. 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 devicetree bindings for Samsung Galaxy S20 5G and Samsung Galaxy S20 board. Signed-off-by: Umer Uddin --- .../devicetree/bindings/arm/samsung/samsung-boards.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index 168e77375..fab29f95d 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -241,6 +241,8 @@ properties: - enum: - samsung,c1s # Samsung Galaxy Note20 5G (SM-N981B) - samsung,r8s # Samsung Galaxy S20 FE (SM-G780F) + - samsung,x1s # Samsung Galaxy S20 5G (SM-G981B) + - samsung,x1slte # Samsung Galaxy S20 (SM-G980F) - const: samsung,exynos990 - description: Exynos Auto v9 based boards From patchwork Tue Dec 3 08:03:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13891882 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 B92C0E6C617 for ; Tue, 3 Dec 2024 08:08:27 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HE7mi4emr50jEpqtObN38wFodAKJOCr2oYhlGDwmbxc=; b=AcuiV68D0skMPG5x2J+uGsO6H9 AgQsMhxCHLhmzhDwuWJKs/CV6UY4jB/6ek03Cyh+lwPL1/MAYNHNpm8X4dxwqmP4UITuJsnib6xCF h3EUHW13JY6GB/6fbMgaY4NaFp05l20ybg99g9HhaZA6BxxIZM6ZHFf8j42e3grOCQ18Y2t5YnL2Y FrfTMgkDdi9EM6ldQKFAJlcY5J7KqADpmum2ohi/GNW1ApeD+Kii5ohpG3ySInS098reD2pIwyc8H QsEiWrGQ3jAUv+ywFUqW42Q9vj/AJbeA6CYPZLToQkW1nRu5w6DTliQW99MFFYSt6Pa/uDpzTgNNw se3bxbAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tINx7-00000008diO-2zWy; Tue, 03 Dec 2024 08:08:13 +0000 Received: from out-03.smtp.spacemail.com ([63.250.43.88]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tINsz-00000008ck7-15lS for linux-arm-kernel@lists.infradead.org; Tue, 03 Dec 2024 08:03:58 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y2Y7r1kmdzGpJc; Tue, 03 Dec 2024 08:03:52 +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 4Y2Y7h1Vsxz2x98; Tue, 3 Dec 2024 08:03:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733213027; bh=2vHYtlzccOz/AoVEwW4kXIY0ycA8Zvt+Xs9cHXRdiJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e2ho1qOGdwTtsBFFK9R3iwakQw/ttEq28lRJRggHHbVz67Z8yMN4C5P1Lx+wVJJCN a8m1xHHBNAUbYH3776mhBiuURP98uYQbTpzBm/kBGnnKQILDhcXK8/uuYzgDU1Z6dG YA4PoZZB+Qqn1Y1MNmyLpDd+qcAGGtqJV735qQJDDOC7cKLJqartr/hyeQEy4OoifX kW1EibYGkMdGMSZKD7qYKMn5uqdxN3ynwFD1CTLcymB37HsZzcaFLhOIhHvpZ58aNB kOx+iaOEBaoeHwn5prr51InB3gL8n66hJvE0DHgkvF05U9QLcI+iUtbvIf6Epbwrjy 5NcxgvWFyyMyg== 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 v4 2/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 Series boards (hubble) Date: Tue, 3 Dec 2024 08:03:24 +0000 Message-ID: <20241203080327.4751-3-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> References: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241203_000357_316686_DFDABAEB X-CRM114-Status: GOOD ( 13.91 ) 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 Series (hubble) phones. They were launched in 2020, and are based on the Exynos 990 SoC. The devices have multiple RAM configurations, starting from 8GB going all the way up to 16GB for the S20 Ultra devices. This device tree adds support for the following: - SimpleFB - 8GB RAM (Any more will be mapped in device trees) - Buttons Signed-off-by: Umer Uddin --- .../boot/dts/exynos/exynos990-x1s-common.dtsi | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi diff --git a/arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi b/arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi new file mode 100644 index 000000000..55fa8e9e0 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi @@ -0,0 +1,98 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S20 Series device tree source + * + * Copyright (c) 2024, Umer Uddin + */ + +/dts-v1/; +#include "exynos990.dtsi" +#include +#include +#include + +/ { + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer0: framebuffer@f1000000 { + compatible = "simple-framebuffer"; + reg = <0 0xf1000000 0 (1440 * 3200 * 4)>; + width = <1440>; + height = <3200>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + cont_splash_mem: framebuffer@f1000000 { + reg = <0 0xf1000000 0 0x1194000>; + no-map; + }; + + abox_reserved: audio@f7fb0000 { + reg = <0 0xf7fb0000 0 0x2a50000>; + no-map; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&key_power &key_voldown &key_volup>; + pinctrl-names = "default"; + + power-key { + label = "Power"; + linux,code = ; + gpios = <&gpa2 4 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + voldown-key { + label = "Volume Down"; + linux,code = ; + gpios = <&gpa0 4 GPIO_ACTIVE_LOW>; + }; + + volup-key { + label = "Volume Up"; + linux,code = ; + gpios = <&gpa0 3 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&oscclk { + clock-frequency = <26000000>; +}; + +&pinctrl_alive { + key_power: key-power-pins { + samsung,pins = "gpa2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_voldown: key-voldown-pins { + samsung,pins = "gpa0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_volup: key-volup-pins { + samsung,pins = "gpa0-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; From patchwork Tue Dec 3 08:03:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13891891 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 287ADE6C617 for ; Tue, 3 Dec 2024 08:09:24 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3E05cqQww3tMmZkZvQL/kkQOiHMg8GawYI3kP8ouISU=; b=HtlBBPjsNahd4HNrRaTw6LBVef rWsaa3xoYEiMtrYiUYojDcUn951ZM7+yKD/1qyveuL8WnhCtaojeu+KnM2NKl3sEM1gEvNl19ux5W iItrOj68QiIDe5+lVkKCxcf+4aQ35GD1cnUgtbrORc/obp+w9ch8+ie+GMGNYNd5F8n+C1zcqhDJh bR23o660v47+WHePgCkJVm3bXlWIVxIcQr5GANO8RHshEvwzKsNQhWPuNmZnbXBzm/5B8VPUsKvPX PyUUmYdZ2V05eo2sz0fNWrtdTNab1sGJH0Cp8FHXTxEEDcfr6hbGHY1VCBGniFzW+hdxFRbeJJWOL LRNMDA1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tINy5-00000008dvF-1IDS; Tue, 03 Dec 2024 08:09:13 +0000 Received: from out-03.smtp.spacemail.com ([63.250.43.88]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tINsz-00000008ck8-15gx for linux-arm-kernel@lists.infradead.org; Tue, 03 Dec 2024 08:03:58 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y2Y7v4fX2zGpHn; Tue, 03 Dec 2024 08:03:55 +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 4Y2Y7l3Q0sz2x99; Tue, 3 Dec 2024 08:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733213030; bh=Q9fmSn7KHQ/2GKvz8qG7h2jtfinHNhxQ6suX9/ZT/yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QHNOwvu5Wdjz5pcYgQbEB3+Ykduw1D89RW7bT8f5OrK8YhzbmVJzfHARRJdkRtWrn 1INH0HOCbJqYDI+EtSZKH6ZveAk+J6FUuXNvwXhiEEFDAjqwXojwsLE21awCHGGzvA Apg4bEY8fepcrOQD0+x/KJDJHl1/PhYa/olz483GN9ZVsINbTcFgsc6ddwHZJrRh7e bzNSsLGHwqskWUmTUYKkH/NwviNPZor6WND0+iSVDaqjce3Br7GffG0j/KcdIrqN4R w/tKlZW3BGwhxphNJ/i6UYHX1E/aQHPxT8oosgcbtDPR/3Q/t4Z1AN+41t+7zGCneg 3OW9fenChJnDg== 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 v4 3/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s) Date: Tue, 3 Dec 2024 08:03:25 +0000 Message-ID: <20241203080327.4751-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> References: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241203_000357_317178_EA450F1A X-CRM114-Status: GOOD ( 15.09 ) 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 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..6959acfbb 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos850-e850-96.dtb \ exynos8895-dreamlte.dtb \ exynos990-c1s.dtb \ + exynos990-x1s.dtb \ exynos990-r8s.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>; + }; +}; From patchwork Tue Dec 3 08:03: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: 13891892 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 8E17EE6C617 for ; Tue, 3 Dec 2024 08:10:27 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aoLFp6kpRlIGlA8KX+AAirPnjaSbaqUEl/ChR6pCHKw=; b=wFNQTNX3lPR96hWurN1JFBQ3cA vJCaECqKPcWlURhNdnpLPxff1N8ae1q+EJwcHP0JWHJghh2Y5ESDlb8qQEsqczav8nSpJcfnj0gcm j5ZDr1/WpTU1n51EiOa4PykCDzmn3zlJEg/08yTyp/pSq6hymUt6OfBVkgD4ihA/S6uvYYEXS9f4y Qypr8OaTQZE3lHY9c61zOrwR2VmUAQe9aT4jTg2j5aVDTjG42+8Dxux3i32E7FvlyiytxuvWCx7UA ycNMc+lJAXVr73Ga/Stw3lcl4JO7/WUwiuHUiEteS9+V75IVmBNLBSfI3ssUeK3AMBNeBpInDxvcQ 0sTkjKUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tINz3-00000008e8h-3uxP; Tue, 03 Dec 2024 08:10:13 +0000 Received: from out-02.smtp.spacemail.com ([63.250.43.87]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tINt1-00000008cl9-48WT for linux-arm-kernel@lists.infradead.org; Tue, 03 Dec 2024 08:04:01 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y2Y7z2DHVz4w8K; Tue, 03 Dec 2024 08:03:59 +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 4Y2Y7p6vWGz2x9B; Tue, 3 Dec 2024 08:03:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733213034; bh=qdrBNmNEyNpSWJIX4awwEwOKE6djLp4ftdjOaoqDBVs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WiSfSrb0sl/uCquNknwN3sJ6tcLXGnKAdGH+IY8e8gZ0cG89qZ99ow5y9tISdKCcB gpcQU+eedFWvO80FzEBL8D2FbBO2Q2Lha29la3s55fbfSZ1oZ3psTW2uZ5vYY2FqAg yBaYpwLetbwJPev7tx7kRp9YFq2E3LdT2xbh/iz7Ln+sv4a16PC602YBfLG7tMtRuj JC2OFUTNEHgSJbyL35Ndlyb/SD7G6waNnkj0V2KIKsweefpf32JG9nwneYio8hsmdE qaplMdqacJjip186zQ2PcdB91Zg7vGB6kFWf2utnSt9qelEXpT1ZM4wo17meH7r0n7 IkVCtmGnR6MBA== 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 v4 4/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte) Date: Tue, 3 Dec 2024 08:03:26 +0000 Message-ID: <20241203080327.4751-5-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> References: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241203_000400_044904_898FF4D8 X-CRM114-Status: GOOD ( 15.09 ) 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 6959acfbb..b546b883a 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos8895-dreamlte.dtb \ exynos990-c1s.dtb \ exynos990-x1s.dtb \ + exynos990-x1slte.dtb \ exynos990-r8s.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>; + }; +};