Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3980672rdg; Wed, 18 Oct 2023 11:09:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYEHoqSxeptzi6XRtgFeV6YU21nFBA/9mWkpZL/430iVwkBlqt3lNvcuY+adi+U1W+0G6A X-Received: by 2002:a17:902:ef8c:b0:1c4:72c9:64fc with SMTP id iz12-20020a170902ef8c00b001c472c964fcmr124356plb.22.1697652593288; Wed, 18 Oct 2023 11:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697652593; cv=none; d=google.com; s=arc-20160816; b=Ud43PDejw92nIKrpKgkU840f63hCqYs23Nh9zL9PlAZocEh48aOGtO76ZFz8OXSyay 99CCmOhJvPYyDRMR0qCCOwA4d7SEmojhz3aOLsxJi3xQERIeXx5Dr+6nawXhX+r5Al/C roMcRO7Nm64v9ikhQ2a65jqgk2Wiim3fiUrixGbve29MAojQNao6TBWSa0isvzqRqpPR YIBjvOKWzfhhejMzkwzCBtUB81XajR2bKqwycRwkps/CcjHP9rU/xwzvJxTAv1vMrvR4 qXcnWI5y0wJi6t4NIniLqIs/K3spPbx4OBppetfo7sd0xt9kI/11kFOWiBdLfgJ7C2oW pAkA== 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=s+tT9rZhI6P+J+QqQiS+EUNkY7lL/eENLnVnHF5//Rk=; fh=uYYDbYlaq1Pnhzz2YLF80f4netBHlo7UJhUAhtqMJi8=; b=rc/zaqyQxMqDZK8UeQangb1IRZtQT4N+4e+UN0xUNGhdURlKIZMgo0pO2thstiAx5O S38PEDHEGexKm9oEnTG2fSYW/tWKX4g/1Y5zcfoC47DGM9Bou1tOjxuVnlb0R9wjMrij 8mpZ8PU9bEQS6XWGepaMgjrdRtGJnFA43gEbryqNlxVc5+AEtKmJBdduP3OA98BYxSgF S1NdzucUUiDgmLoxXI2yYZQiEL5JvhXkUDfZIvwDyVdKNjP+bcYviG0c3mEXOKygNHmQ 2rZFSm4cydc4r50j4PS58DzFnUBH60msTDquxIkMxsCOvWX4g8iCSjyBW+3qHDJnjCPi rRMg== 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 k6-20020a170902c40600b001c62d93585csi428221plk.611.2023.10.18.11.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 11:09:53 -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 156BD811244B; Wed, 18 Oct 2023 11:09:49 -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 S231994AbjJRSJm (ORCPT + 99 others); Wed, 18 Oct 2023 14:09:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231285AbjJRSJk (ORCPT ); Wed, 18 Oct 2023 14:09:40 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30C93119; Wed, 18 Oct 2023 11:09:39 -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 1qtAz1-009oYn-PD; Wed, 18 Oct 2023 18:09:27 +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: imx8mp-venice-gw72xx: add TPM device Date: Wed, 18 Oct 2023 11:09:22 -0700 Message-Id: <20231018180922.2164324-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:49 -0700 (PDT) Add the TPM device found on the GW72xx revision F PCB. Signed-off-by: Tim Harvey --- .../arm64/boot/dts/freescale/imx8mp-venice-gw72xx.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx.dtsi index f942e949084b..28eb7c00a1d9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx.dtsi @@ -83,8 +83,15 @@ reg_usdhc2_vmmc: regulator-usdhc2-vmmc { &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>; + }; }; &gpio4 { @@ -285,6 +292,7 @@ MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x140 MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x140 MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x140 MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x140 + MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x140 >; }; -- 2.25.1