Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3980475rdg; Wed, 18 Oct 2023 11:09:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHf4HgKmxVcEW/OXpTMvD0jV5H0kA8zl4iQgsTBgUQb0xkqMV5eQfMvXKIClIp+QzbYhv+v X-Received: by 2002:a05:6a00:150c:b0:68f:e810:e86f with SMTP id q12-20020a056a00150c00b0068fe810e86fmr5864926pfu.28.1697652572863; Wed, 18 Oct 2023 11:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697652572; cv=none; d=google.com; s=arc-20160816; b=cO7q0lWIJweVxt2CqmtLRrO7bZKO3Cu3gTqLdgK1huVIb+9SOvVM6apc6AbzghrapY /E+QWK5wQw/J6TtJlld1vqKOKYEg2U82ePCDGhsrfbxWgzu+LEgr9zhq/NcAPz3TtCk+ sDl5xYqBGkbNyxUwzo/5Nb7YPMb2FS0OMwRbiNIXTI4hrOklCE040UVi5fsdvawnrip5 C/GDjcWqFdw3kXXvJNuSoLIX5Ys6l5V9eR3ZwbZmHsY3KVhSPr+KYU5uPToqV5bA4xwA N+fuyX0HyHL3utmr67OkUmaEJO7H1Jnd7CB7rvc8FDsAp1WAUcPHfm1OEz0whIqYDY8w IyXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=7ekZimY4plFB4vSN7npiadHD7s90J6n6XMgEyDmlZls=; fh=uYYDbYlaq1Pnhzz2YLF80f4netBHlo7UJhUAhtqMJi8=; b=Ex8or6AQcLPLYtnfwbnKZ5A7FveWC4N+/wE+8jwokGJ/w1d7hN8B9+INK3kvz5dH8s PyMfpOX8awN+BgsS7AdF1COEOf7doMKsBOHC361DjXK9rCITLU+mYAtK+r88DOFNkMgo Bs9OQZGfiS/PMilmgqH8ZaR/XnJSqQSZVvpFE2fMnOHQ++Ep0SYayWoaeVP9o25VfD8D DJUy2GRAKqX4dw9kPOVqVk/1bCX9fCJvvyQRqqfnpzbvc0LYkyuJFbjmeqe2szX1apre eAIty/6q0GEbgFnDvQc4LS2+5hkyIpb7647OJYjmfeEXE9UOcyIvpHBxf8UfbGWnSId3 8khw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id o3-20020a656a43000000b005b7dd1e13e7si2982113pgu.556.2023.10.18.11.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 11:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C2F498112446; Wed, 18 Oct 2023 11:09:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231894AbjJRSIu (ORCPT + 99 others); Wed, 18 Oct 2023 14:08:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231641AbjJRSIs (ORCPT ); Wed, 18 Oct 2023 14:08:48 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E1C2F7; Wed, 18 Oct 2023 11:08:47 -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 1qtAyI-009oYM-In; Wed, 18 Oct 2023 18:08:42 +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] arm64: dts: imx8mm-venice-gw72xx: add TPM device Date: Wed, 18 Oct 2023 11:08:38 -0700 Message-Id: <20231018180838.2164177-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 11:09:30 -0700 (PDT) Add the TPM device found on the GW72xx revision F PCB. Signed-off-by: Tim Harvey --- .../arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi index 3a0a10e835a2..02d96f4a2d23 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi @@ -84,8 +84,15 @@ reg_usb_otg2_vbus: regulator-usb-otg2 { &ecspi2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi2>; - cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; + cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>, + <&gpio1 10 GPIO_ACTIVE_LOW>; status = "okay"; + + tpm@1 { + compatible = "tcg,tpm_tis-spi"; + reg = <0x1>; + spi-max-frequency = <36000000>; + }; }; &gpio1 { @@ -312,6 +319,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 >; }; -- 2.25.1