From patchwork Tue Oct 31 09:47:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaewon Kim X-Patchwork-Id: 13441348 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 1BCA5C00144 for ; Tue, 31 Oct 2023 09:51:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RAaQ/iWOkFUieEId40eEPax5O/gHqrW8edRDzNqiVO8=; b=ndr6+ePZYrfqVu RRBb3dX1xF/powIzsJ1JtO41N6GroOlbDO2p6QgoueG/fAF5f62gPfNrj8bAMJM2LG+ywAH+3ZrEi RyYEZVAn/316kTrVgwO5de4jysDbWhnxLV+xzKT4rpLHrsyw7z0C86/BBn1GacxTCNfy26+v7yMOx 67Fk8yATuNclGHHGnyoRTkNz/nh5J4bO38v6dX9jG3g3Pm8gvmY5wTXGw3sDbqq3VZik3YOUbRYoo vCAY2rUwUF++DDHRJuRCk2A0Y3JmvZkEBEGAjjRXki5Gst0cktv25S2EyDNR2bPhyUG2hoHLdiLkI znBvVDwtIZR6miQTe5ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxlOc-004ts3-2r; Tue, 31 Oct 2023 09:50:50 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxlOG-004teH-2y for linux-arm-kernel@lists.infradead.org; Tue, 31 Oct 2023 09:50:32 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20231031095023epoutp0308e9eaff85a960bdbda0b28b40285242~TKFNvjvjH1184711847epoutp03e for ; Tue, 31 Oct 2023 09:50:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20231031095023epoutp0308e9eaff85a960bdbda0b28b40285242~TKFNvjvjH1184711847epoutp03e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1698745823; bh=t5IrulBEYs/pAFYmxibKmCqgtb1DKb9WLtc5ml9R97Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=azirv0p+v+R4SHX1eWSvf14YMSjWKT42IBbOTVJz/UuEKBiHIbAJsQa9qGLcoxVNe 3NlWKiDBkt/XaBpxZ2W86yHgQtr1wK36DOClR8C098jcfUcH9Ho6jcL4Wh2t9OFD0z plq+/W7sg/veK06hy6QVsXP0WWtOkxEPw3sdtSxQ= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20231031095022epcas2p32b0faa9af82c5f2ea617f8e135b7c3e7~TKFNWJYht0127001270epcas2p3K; Tue, 31 Oct 2023 09:50:22 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.68]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4SKQNt29TGz4x9Pt; Tue, 31 Oct 2023 09:50:22 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 8E.1E.10022.EDDC0456; Tue, 31 Oct 2023 18:50:22 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20231031095021epcas2p343514064dc0da3fff87e4b8a24d895fd~TKFMSIeNY0127001270epcas2p3G; Tue, 31 Oct 2023 09:50:21 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231031095021epsmtrp24e846dd33a0bb2a6729563a9dd777dcc~TKFMRTggq1473914739epsmtrp2M; Tue, 31 Oct 2023 09:50:21 +0000 (GMT) X-AuditID: b6c32a47-9a3ff70000002726-34-6540cdde65f7 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E3.42.07368.DDDC0456; Tue, 31 Oct 2023 18:50:21 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231031095021epsmtip13a8fcaf2ab6663eeb538bf106d2d2005~TKFLz3D4h2273922739epsmtip1q; Tue, 31 Oct 2023 09:50:21 +0000 (GMT) From: Jaewon Kim To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley , Tomasz Figa , Sylwester Nawrocki , Linus Walleij , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Greg Kroah-Hartman , Jiri Slaby Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, Jaewon Kim Subject: [PATCH 10/10] arm64: dts: exynos: add minimal support for exynosautov920 sadk board Date: Tue, 31 Oct 2023 18:47:52 +0900 Message-ID: <20231031094852.118677-11-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231031094852.118677-1-jaewon02.kim@samsung.com> MIME-Version: 1.0 X-Br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qXV06aeL1348vFoUmvLGKu 3Yub6XzgUXJfUrn3sULW46vrn2+rtp+gvL3qxh6lpdMYogMmfQvTTWlbFPX4Hm/lvrRZt08W qTzZmXNrfaO3gc+k9w07GU48aNm/6/Lh26sd9uderW6df/zSvUj508wXHcustroarFx49pH/ jNX3LXcwzmXqS3zRfV3H4uOlsGWM6V3lalpPd3XcY6yJ/cSzl1e59VNGocGN+Ag510tJ6Xf8 tizJSFdiKc5INNRiLipOBADEScfPIgMAAA== X-CMS-MailID: 20231031095021epcas2p343514064dc0da3fff87e4b8a24d895fd X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231031095021epcas2p343514064dc0da3fff87e4b8a24d895fd References: <20231031094852.118677-1-jaewon02.kim@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231031_025029_342783_4D41DE51 X-CRM114-Status: GOOD ( 20.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 ExynosAutov920 SADK is ExynosAutov920 SoC based SADK(Samsung Automotive Development Kit) board. It has 16GB(8GB + 8GB) LPDDR5 RAM and 256GB (128GB + 128GB) UFS. This is minimal support board device-tree. * Serial console * GPIO Key * PWM FAN Signed-off-by: Jaewon Kim --- arch/arm64/boot/dts/exynos/Makefile | 3 +- .../boot/dts/exynos/exynosautov920-sadk.dts | 88 +++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 6e4ba69268e5..da06e1a9456c 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -5,4 +5,5 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos7-espresso.dtb \ exynos7885-jackpotlte.dtb \ exynos850-e850-96.dtb \ - exynosautov9-sadk.dtb + exynosautov9-sadk.dtb \ + exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts new file mode 100644 index 000000000000..e250b5594b58 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts @@ -0,0 +1,88 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's ExynosAutov920 SADK board device tree source + * + * Copyright (c) 2023 Samsung Electronics Co., Ltd. + * + */ + +/dts-v1/; +#include "exynosautov920.dtsi" +#include "exynos-pinctrl.h" +#include +#include + +/ { + model = "Samsung ExynosAutov920 SADK board"; + compatible = "samsung,exynosautov920-sadk", "samsung,exynosautov920"; + + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial_0; + }; + + chosen { + stdout-path = &serial_0; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x70000000>, + <0x8 0x80000000 0x1 0xfba00000>, + <0xa 0x00000000 0x2 0x00000000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&key_wakeup &key_back>; + + key-wakeup { + label = "KEY_WAKEUP"; + linux,code = ; + gpios = <&gpa0 0 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + key-back { + label = "KEY_BACK"; + linux,code = ; + gpios = <&gpp6 3 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&pinctrl_alive { + key_wakeup: key-wakeup-pins { + samsung,pins = "gpa0-0"; + samsung,pin-function = ; + }; +}; + +&pinctrl_peric1 { + key_back: key-back-pins { + samsung,pins = "gpp6-3"; + samsung,pin-function = ; + }; +}; + +&pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_tout0>; + status = "okay"; +}; + +&serial_0 { + status = "okay"; +}; + +&usi_0 { + samsung,clkreq-on; /* needed for UART mode */ + status = "okay"; +}; + +&xtcxo { + clock-frequency = <38400000>; +};