From patchwork Tue Sep 26 19:43:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 145016 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2154580vqu; Tue, 26 Sep 2023 12:48:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGOFp6rdrpyzfmsFKjGXXRYeB5DBY4qH+B568pLsyw+6X2I+sfdu2cmhtZyd7YfvOeKBour X-Received: by 2002:aca:d15:0:b0:3ab:8574:e8aa with SMTP id 21-20020aca0d15000000b003ab8574e8aamr12943586oin.25.1695757730575; Tue, 26 Sep 2023 12:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695757730; cv=none; d=google.com; s=arc-20160816; b=ORmIIUCvPvWbOa6f/Q4FC3DR4PyhFfdKIBX07jIPwqsakGXGtXlKnVSbt6rRc+T6k5 k0Q//G/QagpwvUN7joa6yR+9Cv3mpZYvOg8TwYk9FGv81kz9RDgdhN6sbG2qzM+naut3 wx02FTR2V3rktxZ39th3DVhygR6zUf750JIwk4Fn0pnJmrAs2H0A2k3CRaBD3WN7+vKO 7GKcg1k84FwTZZp67Jj8EyjdIApzmXXFSXYEioqO7I1qmhDssXusEMSMr07EuBdbMwkt aHSy67Q901JdCV9S//2jbMUwwxSDUKZw2JnrS51qzPUF9a0/VTwaTl8ipB8uoL60toHz t/5w== 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=4IH9VGPoIrnbf2YBW0VU+VucTGOMKvnwHzTVrXk1Uhs=; fh=uYYDbYlaq1Pnhzz2YLF80f4netBHlo7UJhUAhtqMJi8=; b=TkjXIEGq+aMKUn0b60YqCNBSaElb4VGARjKQ39n3LzW3KC3pFGS6+D3Kg2ZMU1hyu3 QnEG9SRl35bsPKI5DC8cyqd+4CJu85yEPd7oIUfnwZXPV5ZgSB9BrWhOFZhoPdkRHEC1 XzUgACjg4tJUOeNOfdX/MgG8RXgOay6EA4EjUmjbJ/rGixOrSMA4GMDHcy0X8MJ+A1f+ WcHt585rKZarWgzBkLFL5nl9PN83MYDGLTHSW5lY5PCcCXqCJyn0k+vCIGq8FNAoFDIz XP63crJmz3GGNopxwlYMdL96DH+5zUWR4BeJOKVecwm6W9mlGk6ieMUCTBNnEulG7fnK +fsA== 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:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id w30-20020a63475e000000b00563d74b6347si13368846pgk.863.2023.09.26.12.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 12:48:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 96254801CFF2; Tue, 26 Sep 2023 12:43:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232531AbjIZTnd (ORCPT + 28 others); Tue, 26 Sep 2023 15:43:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229862AbjIZTnb (ORCPT ); Tue, 26 Sep 2023 15:43:31 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30B7692; Tue, 26 Sep 2023 12:43:25 -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 1qlDxk-009Eja-GP; Tue, 26 Sep 2023 19:43:16 +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-gw73xx: add TPM device Date: Tue, 26 Sep 2023 12:43:14 -0700 Message-Id: <20230926194314.1451657-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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 12:43:37 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778130858063793821 X-GMAIL-MSGID: 1778130858063793821 Add the TPM device found on the GW73xx revision F PCB. Signed-off-by: Tim Harvey --- .../boot/dts/freescale/imx8mm-venice-gw73xx.dtsi | 12 +++++++++++- 1 file changed, 11 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..65aaeb81694c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi @@ -104,8 +104,17 @@ 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"; + #address-cells = <0x1>; + #size-cells = <0x1>; + reg = <0x1>; + spi-max-frequency = <36000000>; + }; }; &gpio1 { @@ -361,6 +370,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 >; };