Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3492428rdh; Thu, 28 Sep 2023 13:19:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6+4JgHLg3Bj6LTEoNk0VfriJ0gNyHcHzt/2TU9Dfp52nCIPd6Wmm/PO4qUmEDb9QSu4wf X-Received: by 2002:a05:6a20:430a:b0:15c:b7ba:9137 with SMTP id h10-20020a056a20430a00b0015cb7ba9137mr2571887pzk.2.1695932396949; Thu, 28 Sep 2023 13:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695932396; cv=none; d=google.com; s=arc-20160816; b=BKQ2OLsXpioPU14rTA078wP1T0P5DCGMGOj44eSev5cEYynDq/AkP9+7OB/0cdYq2l AP/irQ0ka1fQ81FDxlQgaEEMxzj4gGYEjEomVpwObxViyVQ5pIwz2v3/PpxCcaQRnJO1 BFaAuSLYOOaW06Hm+I8GVFj5mBsWFH22c38LZ6Xo+lNf0NzCYb/IHSYTHR0rBO5SHDib xlem2ehtaZzcZa7mBNUv5nKr/TowrFvvFIOYVmtRCvGBXXiuYwio7lEKPZ1SyJq3Dm1Y 13nkUZQVMrogGJMvOoBHt2PLqzZcbHUpcQAF7tXbV5ArMnX67fda81BadmwlpkGc38af uqsQ== 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=wAAhCk2ytZ+123VMfmlcoLDG8Mvwk0wQynBBWWs6x7U=; fh=uYYDbYlaq1Pnhzz2YLF80f4netBHlo7UJhUAhtqMJi8=; b=l/MLLgY6AqqIEfiIlJlQ+8MNvP2DANW9WhVXm9p4JI3uHX4Mc21aycwkvAD7C1xdbw 2ph3F5eNBHznIdfXmLPnV9UlXrFF0DPy+mIgD6kdTsq+qmWzV6cJuWPIRVRZ1Phy3qhu +LJykJlsqsjjpoxD75ZE1FTJUs87kdNXoES8nWss97sJfo+uHltiIvPzo9KQ8pkfk4q+ 24d+ioBJuSZKJQBkK7GgZasr7KuQzg/EF5tdErpw67DI0Wd7LVVc7LWnaTXWdxyLBWcu CZexdNfs/WFkdG/CrK1So81MiY3wKq7/1Po98QVlZlJQNdV0n2iuY9O7zjdjszZ/3khD BVYA== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id o6-20020a170902d4c600b001bb42c27496si18007263plg.233.2023.09.28.13.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 13:19:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 6C479826FA9D; Thu, 28 Sep 2023 13:14:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231921AbjI1UOE (ORCPT + 99 others); Thu, 28 Sep 2023 16:14:04 -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: 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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 28 Sep 2023 13:14:38 -0700 (PDT) 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 = "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 { -- 2.25.1