Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp727054rdb; Fri, 26 Jan 2024 08:52:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4s/PYaVbXOccVPtUkxvAxUdTbQGLoWv3AZwE+lcNdmpmFkXY5ewXWqW/TuB6F0rhgsrm9 X-Received: by 2002:a05:6358:5709:b0:176:a14c:544b with SMTP id a9-20020a056358570900b00176a14c544bmr793970rwf.11.1706287979527; Fri, 26 Jan 2024 08:52:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706287979; cv=pass; d=google.com; s=arc-20160816; b=kD9Yu8RtHAGBz3qZnHUgalU/G3b3hY+6zrIYNnpeYGmJM0svm4Tuv6WBb4HIVNA1L1 6EU2k9rGI994sG+oglvuXexJBX16NTHbERXwt8Srd8LnWqjou1nnb7M4YRrju5rcx8kJ qnIaTJcS+P1G3aeTJ7u/q46t8xz1MZuT+F5vwo+ARhQKp0Y/rB41XwD/DYAKVlzi8B+o M6UXQmDI7HMT0bY+tVkD92Yggz/X0BVbLYCOyFsLdxU2YdOMBdpR1+i03M9eWc7wWYY/ iIEkAy2AM4XCJTeYGzIbr/6QrunDSmC8/Upgs6LxgKee9TP+S5Wcj65ERcZmOKmr/1EB zRXQ== 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=JeCPYSKbHNIMCupfAvsor19aGaKE9SOf3p/CedSlNcM=; fh=DmfJ1rgSnltBWWa2tHd0GW+hAw0C1N7OSmbjeV/ZR1E=; b=dYGIZ2hlwBVtgbGSNZjCt46i2IIKYxz9qc3D5xEYCxS9LO4AWLmL/uyIfB78uBr1Ea VERJEvwj7IHgJ1ms62pqigYL0VlO7r24KybMTuPWMPmJE7sVfysmcYVrhVysCwVYNBPW O67QYKk5qGO6EEqnktBIIRTQxcN0nf5dxky5Sy8Ovn2BOXvsgvQekCAckz0BY1tnLXZX Eu1SA7orlgYmMbghiLm7LoXaB5DKZ146d1jut5JU/ujh7tytqOitF/5r3xvrIE0Z2by8 5QfnfpLZE+UevaSJnEfisUjwDUiZYdfWyLEsqVJG/mIvI9/uom5R0XC7yyA5vEAc5SB7 3jmw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=taW7AgVv; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-40375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s14-20020a63770e000000b005cdb49a8117si1413553pgc.1.2024.01.26.08.52.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 08:52:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=taW7AgVv; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-40375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 18C55284652 for ; Fri, 26 Jan 2024 16:52:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3C441DFF0; Fri, 26 Jan 2024 16:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="taW7AgVv" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (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 C48AF1EB27; Fri, 26 Jan 2024 16:51:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706287910; cv=none; b=ur34JjKlem1djqWgGl3wpeSI8+Ln8SieaD19VWILB+ZdtDSN4PC1BpR/kL8TldNbZIGkSflREObs73hUKhPl09P7hMjuaeEE98ua86XTcePufKQn4mXRVPLfgLxWZjpe2+NIPprL5J3XxQWKjMxf9ODGg0X7HjAkHHS3Rxicyro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706287910; c=relaxed/simple; bh=+cXzMvBAtJb3wVlA116iwNKAecdGtSbYbPHtkLdN4cc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ilrcK7500Ws8TAJLIO7oFMeY1gGvCqxEOGZ4azQsND226rC8ND4Z7WiHuEwGpwqewL1NTin4FK6iAuFN9prXDaJHawr1r6Fc8tlvnDZML3NjGz9FHSee/sgFVgeYzt8PHfsoVlFKAf23EmKlmkGVLQUPyGJx3WurSv2E/k6JXHo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=taW7AgVv; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 9E5511F8F7; Fri, 26 Jan 2024 17:51:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1706287903; bh=JeCPYSKbHNIMCupfAvsor19aGaKE9SOf3p/CedSlNcM=; h=From:To:Subject; b=taW7AgVv/P6+S+x2yoiimUts3sgYrlpyF/21GqKL2fi1oYR7/InpjKHjdN/oj/sS1 Q97EKcXWc0hrrdEDD4NOUXkk97GU2qSqdrRCeHl3zAlEA2nK+lubh5MwU413Dzvnc2 u9niJ+/pk/mDgQdglzMI37MLmK8qMTQ8KV18ITFVlkae1LLzYqJZ1KPo63H9CVa1aV EzNRBOCaGaOXXINOyOHP4YBYIOAZfQDK6NwjPH1klRr5egtf+yHkw1a5gIVhWg8ZaG rSLHzx8JcL3vlT0bjMQ6Wj9mS8euYKC4R/GWdxovvr8JtRNcco2hXPdY9S8B0BwDG6 SL5ZQz0Isev/A== From: Francesco Dolcini To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Francesco Dolcini , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] arm64: dts: ti: verdin-am62: mallow: add TPM device Date: Fri, 26 Jan 2024 17:51:36 +0100 Message-Id: <20240126165136.28543-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 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: Francesco Dolcini Add TPM device to Mallow device tree file, the device is connected to the SoC with SPI1/CS1, the same SPI interface is also available on an extension header together with an additional CS0 signal. Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi index 17b93534f658..77b1beb638ad 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi @@ -127,6 +127,16 @@ &main_spi1 { <&pinctrl_qspi1_cs2_gpio>; cs-gpios = <0>, <&main_gpio0 12 GPIO_ACTIVE_LOW>; status = "okay"; + + tpm@1 { + compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; + reg = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qspi1_dqs_gpio>; + interrupt-parent = <&main_gpio1>; + interrupts = <18 IRQ_TYPE_EDGE_FALLING>; + spi-max-frequency = <18500000>; + }; }; /* Verdin UART_3 */ -- 2.39.2