Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3495913rdh; Thu, 28 Sep 2023 13:27:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxalwyU+ETeoeEi4jPjhe/VuoB+rW+Y0rsjib3JiWCVU+IkghtYG5J2cXGVRPN3Hoi/mTA X-Received: by 2002:a17:90a:e643:b0:274:7047:aa9f with SMTP id ep3-20020a17090ae64300b002747047aa9fmr2301193pjb.32.1695932861713; Thu, 28 Sep 2023 13:27:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695932861; cv=none; d=google.com; s=arc-20160816; b=m+92NwOIbx5qIpuUeZIkczCqS4lkgnY/E1M4nir6U82cjCVSXtHRUyeSIPC9GvpbF/ w2DJ7vvMUXZ7aO5eaB5ZjZygEg+ZMBlgBwHinOxt6AbFGW2sWrX5KsniAuihEsdhNKo7 akk3k+N9sO7pwMmSpId8RYAWttC19dDBxvdKxUUsgpeOeJ1zCwzmrnTWXUdch+YSigR0 PC1c6fCJdQm44vpvb7KkAI8v4R8XrqKwpMcp5FStdvI4QGfRTxZmsRM9mwxk68n4D9/N dzxMGSZaGRQNplNxqnbXpI3O4FgMf+FGrJc1LHMxePDa9sZKogWIQGMDH2CZDs8Oo8wl AHDw== 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=LGgpu5iOJkQpEr1lGvFdKhVJg5s+2gsAjxNguz6dRxM=; fh=uYYDbYlaq1Pnhzz2YLF80f4netBHlo7UJhUAhtqMJi8=; b=WnviEVe2rLFg2+70KjR/imp4MQlOtT60xE42mjDgymB7lGpid7pxFgLut8RsQvI5Cr sjOAJyuoTDRa0c2Qy2e0oar69CVot1ZxpAl3pf303dDzTf4tiib/FwwzoRzlMPvw2k/L A5ffBTNBd25wbwRvqgF1jt+KSxjsX6mYufztwF4sLSBeJhgXc1rjfBOmBl72ajEMQLDV TrSauFuyEObycwkhAym+Xh8n9mOGRIwWYjPIdEqfN8uhznmReDbldaLw3GRkl3fkiUww HwQYdAsZ/M8WJBXZAYVdKfs3eyj42el2ePDV+0go3HV7DHtirYeiskuJD3iVopvvAao3 gOsA== 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 ls8-20020a17090b350800b002684bc84493si17792846pjb.131.2023.09.28.13.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 13:27:41 -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 5F0CF82265ED; Thu, 28 Sep 2023 13:13:55 -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 S231535AbjI1UNi (ORCPT + 99 others); Thu, 28 Sep 2023 16:13:38 -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: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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]); Thu, 28 Sep 2023 13:13:55 -0700 (PDT) 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 = "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 { @@ -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 >; }; -- 2.25.1