From patchwork Fri Jan 26 16:51:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13532889 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 6B108C47422 for ; Fri, 26 Jan 2024 16:52:07 +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:MIME-Version: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:In-Reply-To:References: List-Owner; bh=+us9TsIZ5lCvuh7Q9PE74rYkUrvMw4SOz0ts07Yw62g=; b=CqLHAPDdKBGVDE TJKebMHnpGQYVqRY7vefDFdlpOE1AcPRujEKYZTqclN/J5NZNYXJZ+QbiRjkA0/saji2bLGrDCavj sJKk/b6FXVkS1UmzU8f/XpOYrc106OLD/Wsk9ZCOWIyU046vwVy+KuStH+uRuxPvggbmXqZ0RnooX LP/2nmf0Xy++xm1hpvnL1eNFnoh4yh+xY28Xx6LBxjrWy3A2Scs984m+LNSaFTYbx4elearNu88fH rn2PLoG/6W+7YRzQj+Ym9rpG2O9h7orLD6u7OBCzK2Dh+mC8iFltG+HYXBTayxIC6qh+RA4BeUBtl OMKGflrIW/vnP7X125cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTPQk-00000004kZu-1d92; Fri, 26 Jan 2024 16:51:50 +0000 Received: from mail11.truemail.it ([217.194.8.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTPQg-00000004kWa-2Yc7 for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2024 16:51:48 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 9E5511F8F7; Fri, 26 Jan 2024 17:51:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1706287903; bh=JeCPYSKbHNIMCupfAvsor19aGaKE9SOf3p/CedSlNcM=; h=From:To:Subject; b=taW7AgVv/P6+S+x2yoiimUts3sgYrlpyF/21GqKL2fi1oYR7/InpjKHjdN/oj/sS1 Q97EKcXWc0hrrdEDD4NOUXkk97GU2qSqdrRCeHl3zAlEA2nK+lubh5MwU413Dzvnc2 u9niJ+/pk/mDgQdglzMI37MLmK8qMTQ8KV18ITFVlkae1LLzYqJZ1KPo63H9CVa1aV EzNRBOCaGaOXXINOyOHP4YBYIOAZfQDK6NwjPH1klRr5egtf+yHkw1a5gIVhWg8ZaG rSLHzx8JcL3vlT0bjMQ6Wj9mS8euYKC4R/GWdxovvr8JtRNcco2hXPdY9S8B0BwDG6 SL5ZQz0Isev/A== From: Francesco Dolcini To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Francesco Dolcini , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] arm64: dts: ti: verdin-am62: mallow: add TPM device Date: Fri, 26 Jan 2024 17:51:36 +0100 Message-Id: <20240126165136.28543-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240126_085147_326142_3E7F7604 X-CRM114-Status: UNSURE ( 9.54 ) 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 From: Francesco Dolcini Add TPM device to Mallow device tree file, the device is connected to the SoC with SPI1/CS1, the same SPI interface is also available on an extension header together with an additional CS0 signal. Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi index 17b93534f658..77b1beb638ad 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi @@ -127,6 +127,16 @@ &main_spi1 { <&pinctrl_qspi1_cs2_gpio>; cs-gpios = <0>, <&main_gpio0 12 GPIO_ACTIVE_LOW>; status = "okay"; + + tpm@1 { + compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; + reg = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qspi1_dqs_gpio>; + interrupt-parent = <&main_gpio1>; + interrupts = <18 IRQ_TYPE_EDGE_FALLING>; + spi-max-frequency = <18500000>; + }; }; /* Verdin UART_3 */