Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2485895rdb; Wed, 15 Nov 2023 02:01:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTdHOAzwkO3/A5wPO72K825Cw0zIub+1NkoDp1xyrKiHJQ3Tp3CrjHTQsYSpBSVT9LEmBs X-Received: by 2002:a05:6a20:9186:b0:181:7aa7:de46 with SMTP id v6-20020a056a20918600b001817aa7de46mr10416632pzd.8.1700042484004; Wed, 15 Nov 2023 02:01:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700042483; cv=none; d=google.com; s=arc-20160816; b=L4hcyuwkuoImNmKjd95lmp0kBUGVh4Dr0Qp396ohv9yk0zYf5sAqU2oihhxE1YAkny SWEGlrkfcVm/8Nw6mZo9epwiCsdIkrEd+rCNopU2t7InmjzzK5zJGBBpOa/M7VZGWXGO 3zrAJF+LxDwrVUDGGgEfPAP851DJpqDzXYfGqfV/FmihybkUNhA4IWueAMInXNy7t5Tk EVi5QTwHcbkMrVgUTFOVTQXnkqDpfg+lOMTbA6n1p4QaUdlpJcvpykMFylnMCz06W/FP SeTfbpqC9v1gZpEkLwTAGk0Ai6VzPf0sE7QodIUQkldnbr7GE2P6IHIFZD9t5LHyUqkv i8ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:mime-version:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=t5IrulBEYs/pAFYmxibKmCqgtb1DKb9WLtc5ml9R97Q=; fh=7bBAHrkEHzi0g6cfugHNPMWmPkCtC3XmAHa7VVJktyM=; b=rJnP8MQ9zuXySvFAS282QjKrJrTAe7tDkx36u5jvmbsKF1UZs5bYJtvlsJOu/xrtoo M23X7RW7+DT4ZiJqoN7Wfe8EWuzG+jQE3TSbRQC+HhB/JmMDKuO0ypRdQACvyywJKE6I KnnCxzI6x7oTS9CE8ZtmLBCgWaqUVJdNDSYKS4fDWdqDgHftognWECX3iidiTTlY+t5o OPv7VGSbQVfqoJrW4XxdgbTob13S7euK558uBRMAhye1tn76W+pdz9+7rWWgsTZ27Krd oCHzmsoZn1DeKWyWB6+Q5TAbe8HRrNufuDJGQwXl5xzdlhrbqgjn1T3cIYDT4BnKkxxx PiZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=VTQvtkhI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s16-20020a056a00195000b006c4d1147d2fsi10046320pfk.45.2023.11.15.02.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 02:01:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=VTQvtkhI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EAD988089875; Wed, 15 Nov 2023 02:00:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235058AbjKOKAI (ORCPT + 99 others); Wed, 15 Nov 2023 05:00:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234966AbjKOJ7l (ORCPT ); Wed, 15 Nov 2023 04:59:41 -0500 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F088A130 for ; Wed, 15 Nov 2023 01:59:06 -0800 (PST) Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20231115095858epoutp043bdb827d494e542c39ecff9bf6d7558b~Xw3-Wi1_n1013610136epoutp04c for ; Wed, 15 Nov 2023 09:58:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20231115095858epoutp043bdb827d494e542c39ecff9bf6d7558b~Xw3-Wi1_n1013610136epoutp04c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1700042338; bh=t5IrulBEYs/pAFYmxibKmCqgtb1DKb9WLtc5ml9R97Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VTQvtkhIzzFuRkcH1y7RGB6SnNKrAHeYT2J9IFLzs8X8Tbe6CFKnjPmjzEfmjBGAY nUvkvVGqzUnPHFNSif92Zn5+eCO9584Qi4Uko46NIFbSwWIfRZsz6uwoNQmKH/h9fW fQ/IeWL5QQm7Bn6l6sRVk6Nv/o9vsOz8bh2SOUcc= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20231115095857epcas2p465687eaa11fd45b71f5552e2697d14ac~Xw3_2QNBg0464704647epcas2p41; Wed, 15 Nov 2023 09:58:57 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.68]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4SVdss0Kblz4x9Q6; Wed, 15 Nov 2023 09:58:57 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id B7.0D.09622.06694556; Wed, 15 Nov 2023 18:58:56 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20231115095856epcas2p189ef50d3e97656a92df6fef64414690c~Xw395_vIO0734707347epcas2p1R; Wed, 15 Nov 2023 09:58:56 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231115095856epsmtrp27a1fbbf4c2addad9c7a808eea63526ce~Xw394kGge2585825858epsmtrp2s; Wed, 15 Nov 2023 09:58:56 +0000 (GMT) X-AuditID: b6c32a46-5d04aa8000002596-b7-6554966063cc Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 07.F6.08755.06694556; Wed, 15 Nov 2023 18:58:56 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231115095856epsmtip232c3ccc608c345f749a2f8215284d513~Xw39cuzZe2498624986epsmtip2g; Wed, 15 Nov 2023 09:58:56 +0000 (GMT) From: Jaewon Kim To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley , Tomasz Figa , Sylwester Nawrocki , Linus Walleij , Thierry Reding , Uwe Kleine-K?nig , 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 v2 12/12] arm64: dts: exynos: add minimal support for exynosautov920 sadk board Date: Wed, 15 Nov 2023 18:56:08 +0900 Message-ID: <20231115095609.39883-13-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231115095609.39883-1-jaewon02.kim@sams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c01 nX//bl1z9u1K8/szKz88WJ2RGScWNnOPZlPZ4x3c2RM+VC7+//sDA7PO3xqWvc4sARv26p0o FmJtYNl6O+zPad7Xteor728v/jFrdUu7yJe7bTc/1XzW27amRFnr5QTmx+8v8ogkdlntftLv xHJo0fs2mfX1inXyQdcmLc27pOgfO61d8ZnZzXeNq+LEGJKvlW7ODHu5cePfZYYL/9axJa4K 1krPP3Q4ePX35R35v1Q27p5m8+uYr4SX84GrsuYLeZeUdJd9O3JwZqrYnuRde5fN3bRgroTR 27VLj7CIXlZiKc5INNRiLipOBADm9AgPIAMAAA== X-CMS-MailID: 20231115095856epcas2p189ef50d3e97656a92df6fef64414690c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231115095856epcas2p189ef50d3e97656a92df6fef64414690c References: <20231115095609.39883-1-jaewon02.kim@samsung.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 02:00:53 -0800 (PST) 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>; +}; -- 2.42.0