From nobody Fri Dec 19 06:25:36 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9150AE732D0 for ; Thu, 28 Sep 2023 20:13:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231789AbjI1UNj (ORCPT ); Thu, 28 Sep 2023 16:13:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230325AbjI1UNh (ORCPT ); Thu, 28 Sep 2023 16:13:37 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F4DD180; Thu, 28 Sep 2023 13:13:36 -0700 (PDT) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1qlxO6-009HeF-EL; Thu, 28 Sep 2023 20:13:30 +0000 From: Tim Harvey To: Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Tim Harvey Subject: [PATCH v2] arm64: dts: imx8mm-venice-gw73xx: add TPM device Date: Thu, 28 Sep 2023 13:13:28 -0700 Message-Id: <20230928201328.1945960-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add the TPM device found on the GW73xx revision F PCB. Signed-off-by: Tim Harvey --- v2: removed uncessary properties --- .../arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi b/arch= /arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi index 4f859d0fec69..d79fe9f62b95 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi @@ -104,8 +104,15 @@ reg_wifi_en: regulator-wifi-en { &ecspi2 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_spi2>; - cs-gpios =3D <&gpio5 13 GPIO_ACTIVE_LOW>; + cs-gpios =3D <&gpio5 13 GPIO_ACTIVE_LOW>, + <&gpio1 10 GPIO_ACTIVE_LOW>; status =3D "okay"; + + tpm@1 { + compatible =3D "tcg,tpm_tis-spi"; + reg =3D <0x1>; + spi-max-frequency =3D <36000000>; + }; }; =20 &gpio1 { @@ -361,6 +368,7 @@ MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6 MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0xd6 MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0xd6 MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0xd6 + MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0xd6 >; }; =20 --=20 2.25.1