From nobody Fri Dec 19 15:49:06 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 A2BA3E732D0 for ; Thu, 28 Sep 2023 20:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231446AbjI1UOF (ORCPT ); Thu, 28 Sep 2023 16:14:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230246AbjI1UOD (ORCPT ); Thu, 28 Sep 2023 16:14:03 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFC63194; Thu, 28 Sep 2023 13:14:01 -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 1qlxOW-009Hee-Iu; Thu, 28 Sep 2023 20:13:56 +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: imx8mp-venice-gw73xx: add TPM device Date: Thu, 28 Sep 2023 13:13:54 -0700 Message-Id: <20230928201354.1946035-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 --- arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi b/arch= /arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi index 48a284478468..b0d42b18c5ce 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi @@ -95,8 +95,15 @@ reg_usdhc2_vmmc: regulator-usdhc2-vmmc { &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 &gpio4 { --=20 2.25.1