From patchwork Wed Oct 30 23:23:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13857296 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 79F6AD6B6B4 for ; Wed, 30 Oct 2024 23:25:50 +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=9VUsiaiYoWScHmyVXcIuL6HxMZFp0PbupePLAQotCHw=; b=apod5ysvgsURRaXnf72xyOGC9+ kxEd0QAdKjxKRFGrbDI4INluQeaQ74stgNjNxs//uu0On2VT4e+Pc2URkeE1XaSP3vUJPgW1/aYaH ja7FRp87B12xU2+IExslvG4s1AzYH+Q25BdnSwdv2I5Fx1GzvByxGBcqMzU4n7PQNBwufz/0ijN/C 7q8wMGelklaB2oROH09AZIjHnR5d0T3oFg4eSrcU4bxc6Dm3QAwM8HS+RakWUyU8xouLgIflji78L 9jvsrnPuI+nv3ISu3jCX5tcwzuh6I3jcK9dzg7F7zq1IblJ3pEiS7oXTJ0fdYyZWpi+v2cI3vjVZ0 pcjszjVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t6I4G-0000000235z-3Zxk; Wed, 30 Oct 2024 23:25:36 +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 1t6I2R-000000022xp-1lWD for linux-arm-kernel@lists.infradead.org; Wed, 30 Oct 2024 23:23:55 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Xf38q0dLSz4wJx; Wed, 30 Oct 2024 23:23:39 +0000 (UTC) Received: from umer-b550pro4.lan (host-92-8-254-228.as13285.net [92.8.254.228]) (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 4Xf38g31RDz8sWQ; Wed, 30 Oct 2024 23:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1730330613; bh=7lBUwBD04r/9si8AUXSQa6LrxBZxNutsNB9ssGXmTxY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QiSUS0x+OsHcMfEAvYP72i6VhvYzBXanpL8QLqNgTdgKonnolNjDv0ui7gqEjevkM hyqJatHg4G7ams3xnasgHS+b1SJPOCIPDR1weEdvs5d5B3eQddoTvtC+HrQV74WEhp A2XC05Pq0M5obJkyhevlORv6hyZOCAA+ACvngmpkFn0PpsXn4JyVE2rCF0NsFMwZyY xNw0xmwC+n4QQYi8LL2QxzNo8OERKPEFCKp7g0k90JQPuB4D4mKroIwUaD3+EfA+S/ G3d0/BSc80v6p48d+gE6s+QVhgVTOyfw2swMZdb/1lDSSCK3rJljTXcrb4+wEsuSXd q+0oCj1FK//Dg== 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 1/4] dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B and SM-G980F board Date: Wed, 30 Oct 2024 23:23:05 +0000 Message-ID: <20241030232308.72210-2-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241030232308.72210-1-umer.uddin@mentallysanemainliners.org> References: <20241030232308.72210-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-20241030_162343_578579_50DC521D X-CRM114-Status: UNSURE ( 9.24 ) 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 b5ba5ffc3..f15228d5c 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -240,6 +240,8 @@ properties: items: - enum: - samsung,c1s # Samsung Galaxy Note20 5G (SM-N981B) + - 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 Wed Oct 30 23:23:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13857314 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 C6083D5CCAB for ; Wed, 30 Oct 2024 23:40:44 +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=v8CicJBAj/0XrpsovytRb3CVuNlwZCbg8WZ+lwnYfps=; b=UL9v5jth2aZtTpMDJB+JGDoCOL c8UOdqxqLmYj5fw2Yp3ZEhYhQ4L1mZVysyM6oo8JXoDwshktk5OCewDlqpBZFqwf+pWTRXNFCo7HM E2020oA7lAVGHvlP57o+fc0bwfoXZA4L5N+eqemY9bewCTUxHpCMqOfbUN6ImJk/FUVN189t8pi8b gmX4tlafVB5QIo6Tseiyo+uFqzWZQEILMKNJj52n5NhAY6XUVxskCpPOBf+7Nu+e9yFkPH2kpJbeq BG+sWXde9iBsS9v2JsncClfZYDMF+eQANGoFHNjFFfU7nDIVo+NZ7Qsf4BJ3KABS5VGX2YCujpjid U5mmd/6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t6IIj-000000024Qa-2ucy; Wed, 30 Oct 2024 23:40:33 +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 1t6I2W-000000022xq-0gmY for linux-arm-kernel@lists.infradead.org; Wed, 30 Oct 2024 23:24:23 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Xf38s5pdmz4wKn; Wed, 30 Oct 2024 23:23:41 +0000 (UTC) Received: from umer-b550pro4.lan (host-92-8-254-228.as13285.net [92.8.254.228]) (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 4Xf38k1rvgz8sWR; Wed, 30 Oct 2024 23:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1730330616; bh=nFO9BqMq7yfGr4ec5QCn6FpJFmqkGFbmhvffnDvvMHk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BVWtsTEDqfwlNQctiPFwAX1x58JqaHL+E+9bVA865lxf/4GHSdH6lQjtviRAcLTX9 c3PSwis8T3ZxPkkBtG2bKWYYUDo3J2/EX+NzfrcajTt+aMZlTXcDhg3Ev4+PzAKpsZ EcRsjn9zJ6XY6W0G2UzCnUvNtUtHxirbSl3+4hM+5fG93wrJGoHRhFgCZij2KPcDdp MJNhy5uHf/3j6N06ot8h9SXW3b/ysTtq8rXBPyzZ5e8Pe/+jjGkMfeqaXRr7LoQg/l nAUIO9Db9xQGKq8O/c7NYnSu++a6UnK8YZ44zh+QMm+vM7wyqvO+KVZm/ZRtlcXPyk GC/25Gu0f4U8g== 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 2/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 Series boards (hubble) Date: Wed, 30 Oct 2024 23:23:06 +0000 Message-ID: <20241030232308.72210-3-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241030232308.72210-1-umer.uddin@mentallysanemainliners.org> References: <20241030232308.72210-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-20241030_162348_267805_FDDE6083 X-CRM114-Status: GOOD ( 14.06 ) 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 --- .../dts/exynos/exynos990-hubble-common.dtsi | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi diff --git a/arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi b/arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi new file mode 100644 index 000000000..55fa8e9e0 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-hubble-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 Wed Oct 30 23:23:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13857297 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 8AEABD6B6B4 for ; Wed, 30 Oct 2024 23:27:25 +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=wmhyoZ6imOEJHIyhz4y9h3EjBLRxdKku1spnyz6BQcI=; b=JyvJfcs1gD79/tNIppuOdFlMqD bvRNyQFmDeQyGhLXEuCMDBjYBWxpKHxNQadtWHyYONxmuKs6HjZtwa00KaS8sOuWe/tiUmrOygcSq 7ruPgNri1y2OPoxLD/pghOydi+SwtAwB3Ps0cESPCw7MScqAEeMmmYkRjRhRyMWBlBcKMPg9l5q/n 0pmYTB9bqd8b73RVIkuFdIk0hyiMdTxY58V/lc5M3Z7cHNukt2v3KD5NWZlxnSShCUO4FRNjRygqQ AhT/sdkpcegSAySie1ZCFvyb5oRDYQMBgOM2VZaSCgvtMJOGG4Ppv8ja3f8j6xO1rEokgvv2z2vMj csyJk9tA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t6I5s-000000023O6-3rC8; Wed, 30 Oct 2024 23:27:16 +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 1t6I2T-000000022yC-2CxK for linux-arm-kernel@lists.infradead.org; Wed, 30 Oct 2024 23:23:57 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Xf38w5QZSz4wLR; Wed, 30 Oct 2024 23:23:44 +0000 (UTC) Received: from umer-b550pro4.lan (host-92-8-254-228.as13285.net [92.8.254.228]) (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 4Xf38n17wdz8sWP; Wed, 30 Oct 2024 23:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1730330619; bh=AAz5dIFyZdru9z/Q+SFR7oLLw43iIkQ8nkO11TbPKfY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UziDGLt4wugwLrUOsw043OkqRNBoaSJkZY+z11GYA+LjfenpAfifj3yDnPk7u8qSD OyJkA35LulbR2N2vr4Klrutyu7bYkQU0g//P5sE2B+WWlILpy+TCJxAjlmn5hRugcM Xj/BEHAXjXyawzPOjPxh+u8ZmfP6oRauY3NxLdDSSM3oA/3kEWwGT6xHQjKZXxBNK/ q4ALzor7KuUzDCaCYXTRHf1+mGaBwbTd+UcjyADqeAU6dsvx4gec2rVdEbLJ/uNf0X cEq4liHr7wYWUE08Bj9nnW71UbRSRjrwliI5P3q5m35Htt32m5ADcjAu8GSKORNKbZ UbVfp1j6p06fQ== 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: Wed, 30 Oct 2024 23:23:07 +0000 Message-ID: <20241030232308.72210-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241030232308.72210-1-umer.uddin@mentallysanemainliners.org> References: <20241030232308.72210-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-20241030_162345_630384_B6F633AC X-CRM114-Status: GOOD ( 15.15 ) 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 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>; + }; +}; From patchwork Wed Oct 30 23:23: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: 13857313 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 64239D5CCAC for ; Wed, 30 Oct 2024 23:40:45 +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=m5NIjULElgo1LTtoHiX0Vd8XER5gAsI7GEvLbKhD5ng=; b=4JjPK4iBd1xDNrBq8DEPEf8cMs 7yPD+apqRlB758pArfxahazIDfYF3G/egm3jrmceKTwaWBljbFSa02RYUvaWWrcbXpwH/CjzveeaK IeTY115mLvFCfdWStpw25mrtFMxJAlOZICjH/PYxDM+wrCO4Ry/6L2vp5nUxSTvw4OIQ9/o8MHSHa 8nDU9AZns1cnfYr81IT7s2NkYM/0e59SSWxuln37f/1O1WWBZIS3hc5u7bR52eWFAbXCsGtaAHNR7 bJNRPJf3iz5fSVnucnWfkibJUi3hHawJI5p7coLxJcgyOZ9xtmFogYqb1BpB3JzeSsoOvDk37M4mY QDiFswGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t6IIi-000000024Q9-1i2Q; Wed, 30 Oct 2024 23:40:32 +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 1t6I2Y-000000022yu-1x6D for linux-arm-kernel@lists.infradead.org; Wed, 30 Oct 2024 23:24:22 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Xf38z5GC0z4wLY; Wed, 30 Oct 2024 23:23:47 +0000 (UTC) Received: from umer-b550pro4.lan (host-92-8-254-228.as13285.net [92.8.254.228]) (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 4Xf38r0vnvz8sWQ; Wed, 30 Oct 2024 23:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1730330622; bh=rrcxWMsdAW6NMlC1f4N45bAtmggSlI8lhfcgoRDdRok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HmC1ZMErsViEEu2EXu4cIxcumkp4pIFY61z3AWX1qVaJDzjOXSop4QEi0DKZDAS+9 JB+6XbmqWgUX2iO+PSezTTJ/6NCvrYiTinmeE6Yf3pY4ZH+KyiRj3Uq6FBTivAZ2qB jGjJpAJSHnlCvaA7ufuxMRBSnn/ELhtie0rcyjGXeIdxdGkcVvPGJNO5ZGMeHTDRUW oZhqyXBWZU1ybIvtNXofBCziv2XmBznbwg2tII1kjrN1KRQyVeRrDxNotjY4pgiP1c UD1trLHG5+aXShk8XJ/OAG8Cs66gCldTZdpERaug0d5k2kRb2uGZAByw5vHLMPUOwT L7sOeKBjmQyhw== 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 4/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte) Date: Wed, 30 Oct 2024 23:23:08 +0000 Message-ID: <20241030232308.72210-5-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241030232308.72210-1-umer.uddin@mentallysanemainliners.org> References: <20241030232308.72210-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-20241030_162350_566848_4D659727 X-CRM114-Status: GOOD ( 15.25 ) 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 deb8dc509..783807249 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-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..7bca641e5 --- /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-hubble-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>; + }; +};