From patchwork Thu Sep 28 20:13:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 146288 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3575785vqu; Thu, 28 Sep 2023 13:19:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUVZkemRPTPqvdxOoDYqeWDq9QCrKlwynKOhGfYLctC9+eIZXWnztoI4bE2icfDzTHpa7k X-Received: by 2002:a05:6a00:1787:b0:68e:2478:d6c9 with SMTP id s7-20020a056a00178700b0068e2478d6c9mr2374249pfg.2.1695932394827; Thu, 28 Sep 2023 13:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695932394; cv=none; d=google.com; s=arc-20160816; b=gmNku5/9+kgADrGi9B+bmXhrCJcSGTLO3xeYubZg3+1H8Vhqihh1NwXXXae4tu/poz C1FCAsCC3Fj4akmSfm7iEovjsOu6EZY15vN2QyM3AOfDeClv14QQzlMo0gfoProMiKVE G2ALk09X9pEBBSqhGnxsubj+1dKlrA4etaB8+6ZlDdoVgTl2pLaM0CMfh/oi96nN4YIU 7Dmp9q4oVvGKCBOJSjzvtkbhnu7D3sRrWJ1CI7a4ePON29KcInXCnfGeRzYbo7SGZGc1 k0ks6HZ7EX2e0N0o1H0OKnIgTX0fn45rCd9odcbLeAtfLUOzQHx6uXQHgpLV64BHORaM kiGQ== 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 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id q18-20020a056a0002b200b0069023c19351si17955088pfs.154.2023.09.28.13.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 13:19:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 6CA1C826F7CD; Thu, 28 Sep 2023 13:13:57 -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 S231684AbjI1UNi (ORCPT + 21 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 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:13:57 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778314006530418773 X-GMAIL-MSGID: 1778314006530418773 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 >; };