Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp153311lqs; Thu, 13 Jun 2024 06:42:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKkRrNzn9mwlukOWAtM6jqI8FiVwhmzd9Jyd4x+cS1F3xBEKV3VupaNiYH2s+U/t8pShv9L70+gzektFttvFFReuASSHML7CLJbntqcw== X-Google-Smtp-Source: AGHT+IELB/CbWxtSRmec8Ixa9U0VEi03yQU4Cfwk04jLapsbzfDFtqgxSW0tb7/phBYIplqCAB+X X-Received: by 2002:a0c:e590:0:b0:6b2:a364:b85b with SMTP id 6a1803df08f44-6b2a364bb05mr21382286d6.17.1718286138327; Thu, 13 Jun 2024 06:42:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718286138; cv=pass; d=google.com; s=arc-20160816; b=LiEB4koS9ftanaNY0EEnXBozJMOT8dst0n9rVlRzRaAVQHwVt/V7dFdxpHIS5QbbM+ +0TMUXgNoGL8vvcp/0CBnqv3bVPJmwLBEZAfnrJLF6polXPWoqsQhgjKxuh0Lzqau+Hu iHoNNaGb8NEnHwigoBp+tR5HraCxof+/eWOoNzEGo2LnvwdL3qe+v3CIhJ1DjAUBL15Q YryBDBawI5ZVe3dL+miRtZk5Weo13rpCAvg8je6TgBGiPNj2ZSVO9rX1q1zHfWRbrK/3 re2GsqYozXmp8P5dkdhh2mJYz0/JqMbHJTy2CzzhDIKqoBR1FlcC9v+M2Fo7B1YFJbl4 K1ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=lubbqAl7HTS/g4vv056FMCQ1RskN3TIsl6kZl33uIes=; fh=161qnRTjgtjnKL1mkqpDSTZdH/ixDWoD+4uZgaW2msM=; b=fsP9blkoocvj8gn+UCq9bMj64cVdU0EgllwBwXYSSFY+ij6l1W11ldzQNUoK3lFOZ5 GoYNTZCCugMUH+pxe3cU4VG5ZkTPI/8BREAZstPqK11DNoTgJg0e8w/uUuIOhPw5cGJ/ 7BNobnrPUtDPJOUUPukT6DgOfNAF8vgtQvp2PZboEW9p5v7N6C9mAYSqNoDZiye72S6I /TNu8PJNS1k5CFVfk5lBLCIwiRagMYHMSJ7ZrXS+DRanYyxOOfWojHeZrGNGQM8sgVv0 AWAsLLCk1AMV3J8ejyCBk0fmJ/44zBKNX0D1eW30LWMun2oT62wo5+GtVhNDk4voycqP iXeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=h7FWSrgI; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-213348-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213348-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b2a5b8545dsi14879196d6.549.2024.06.13.06.42.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 06:42:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213348-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=h7FWSrgI; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-213348-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213348-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F21151C22D25 for ; Thu, 13 Jun 2024 13:42:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1A5F144D1F; Thu, 13 Jun 2024 13:42:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="h7FWSrgI" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78CEE1448E8; Thu, 13 Jun 2024 13:42:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718286131; cv=none; b=uEVbYxFCRV1J7OUFpmwO+M5k171Rwu1giMcqzjjQzXMTtmGQK/8k3Eg9ShRD/3cjZhFbr6ZpdeYjXe4EkmBv0HwQOvoS0dnTndRtkTSaL0Rz6vQB5FkpwlAuYHreB0oDiOV2BQEHsoswEpirowHpQ8dlv2/enX6Fk3+pE2vr1ww= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718286131; c=relaxed/simple; bh=+z1xN1OTCuBZhemyLLfzhdSbywBRDNkNMUnB3Ii0GhY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=sHw6cXYIlrKXFugNx18ZdcplJkTC7GMEEdHwTNY+kmfxdtyheFpXjzE/jc/0BP+Od0LYhAajWfPWwcy2KDyGqCfjYHfazSx1qevaOPtoZNcJNZFJtpuMtSx2xY7vAdk0OU2Id1pEpNkE2wr/OZCck5cEoI+sqNDrMdtREOU5/IQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=h7FWSrgI; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-42172ed3597so6816805e9.0; Thu, 13 Jun 2024 06:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718286128; x=1718890928; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lubbqAl7HTS/g4vv056FMCQ1RskN3TIsl6kZl33uIes=; b=h7FWSrgIy3fJLTt9aVCU/IXjSNaF8051yHKUXrjDg3Gqz5da+bGsmGSnbCG6M1a3aZ pCsvyqu1FucByrpSSjHECTuZvdiY85jwuJmdfSTe+Eq0lrLiZdgERbmvDqiJv11jbZj4 pSRO9WSCz5u+Dp0cmVtc/XRV+mwDkA3iwCzk+ssJSl6p57yak98YeSIP/X/nBMtS4W4i wc7K7Kr6R+LFC3qWhDXHB8/3lFVwcFnSpEMUNCDU10ofLwfd4sqcOpocVJjeiiIH/bkb oMBX+EoQVCWGY/Eqb4mRrMUXW2TaNtGxhCiDZf4jk3TZcK8XGGxapQC0zu3UzZ3/k+1/ 7tWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718286128; x=1718890928; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lubbqAl7HTS/g4vv056FMCQ1RskN3TIsl6kZl33uIes=; b=U0+TOjEBvTRCssXz906lDIgJigqnqath3BsbYVi+E8vFMvNO9SYrFrF0RWRhHZHzHF sOJ6KvNnc+0bK/yAfRQu95zPOIlc6/oH6kcrGfAOftek9u1e6DJuJd7sa883oUyy/rOe yc8A4bVEKk1NG6BL8ZgAFt3aSwjcC4dheFy3pDtGbvLTFxA5GSexibGeBzXRH9Oa2KKr BVcRrhPPO17hq5XEwKi6glrmcFD/vbTjBMBD3Sps0d1fnRulXG/AnJYQRUYtqHhiaAPC ePnGLzabevEb4KcFqT7bH9iZn/LW2qh0/uaIxuCM/jIs9KdTcs/vddxJx/YxXUhOYHff uSqQ== X-Forwarded-Encrypted: i=1; AJvYcCXSOqfl2xre0nz0AACO7stYnjxN+wxBGTGpWGbrQIQJYKwRo81C9LhFfrQHvg3PrHToY5IZACf8j+fxwoV1H8Cxr+8L1mSvHjZb4F4XOHE1mTNLpmFsdkXNlsyYx7pOIQPxyKWUKJ7UXA== X-Gm-Message-State: AOJu0Yxjw8LliIirKqfIGWN5Xqi+V9UHUTXQO+VEZSXFGvzvp1PJBAue xiqfC1ajaZCNfz0PeyvIy5gzCQnTWBN8WzhdIn5GMhtdi93DAEjj X-Received: by 2002:a05:600c:4f81:b0:422:1446:378 with SMTP id 5b1f17b1804b1-422b6dc80cdmr28634765e9.2.1718286127564; Thu, 13 Jun 2024 06:42:07 -0700 (PDT) Received: from vitor-nb.. ([2001:8a0:e622:f700:d16e:d9b2:b631:537a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-422874e73b1sm63852415e9.45.2024.06.13.06.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 06:42:07 -0700 (PDT) From: Vitor Soares To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Vitor Soares , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ivitro@gmail.com Subject: [PATCH v1] arm64: dts: imx8mm-verdin: add TPM device Date: Thu, 13 Jun 2024 14:41:50 +0100 Message-Id: <20240613134150.318755-1-ivitro@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Vitor Soares Add TPM device found on Verdin iMX8M Mini PID4 0090 variant. Signed-off-by: Vitor Soares --- arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi index 4768b05fd765..c9ae5f0bb526 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -227,15 +227,16 @@ &ecspi2 { pinctrl-0 = <&pinctrl_ecspi2>; }; -/* Verdin CAN_1 (On-module) */ +/* On-module SPI */ &ecspi3 { #address-cells = <1>; #size-cells = <0>; - cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; + cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>, <&gpio4 19 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ecspi3>; + pinctrl-0 = <&pinctrl_ecspi3>, <&pinctrl_pmic_tpm_ena>; status = "okay"; + /* Verdin CAN_1 */ can1: can@0 { compatible = "microchip,mcp251xfd"; clocks = <&clk40m>; @@ -245,6 +246,12 @@ can1: can@0 { reg = <0>; spi-max-frequency = <8500000>; }; + + verdin_som_tpm: tpm@1 { + compatible = "atmel,attpm20p", "tcg,tpm_tis-spi"; + reg = <0x1>; + spi-max-frequency = <36000000>; + }; }; /* Verdin ETH_1 (On-module PHY) */ @@ -807,8 +814,7 @@ &iomuxc { pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>, <&pinctrl_gpio3>, <&pinctrl_gpio4>, <&pinctrl_gpio7>, <&pinctrl_gpio8>, - <&pinctrl_gpio_hog1>, <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>, - <&pinctrl_pmic_tpm_ena>; + <&pinctrl_gpio_hog1>, <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>; pinctrl_can1_int: can1intgrp { fsl,pins = -- 2.34.1