From patchwork Mon Aug 19 12:03:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768295 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 01F1BC3DA4A for ; Mon, 19 Aug 2024 12:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pSUXeT/7pJ/Mt2BOmAmoES1hscG9qVheVB/BNRpeBkE=; b=vT7aotCN9ptpSo53nHTxUZl/rZ /1qxCGDS7jeKdCLUxiniLIfO9Fc1Wk+dsQ+OI/wreHU0oeZvuGBzybIrblbSf/AJmOW+PpKuRCnjg TsmflryHJCkGslfxK8M7kjvFU2FnEwyC4dC35Us0BtuMlKtD9mc5ZDxXidl3cGdzxMtMMg4Cs0NPn JJKfTXjSxn2lZMy1BVLi3FKBFmzkwNY2Rjq2j1SrqMaE4OmyX7vztT7a68NHyFuLp1ctn2d15LDYP pyiaoMrDVRQ4yAON0rPZbOY4wrq71HjdBJvl5Gr6KBJ2MnLAQrkW371FxBCh3k/SxwRpRbw1ROVjg /+BMVvDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1Ey-00000001NsH-3G3E; Mon, 19 Aug 2024 12:12:05 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg17b-00000001LEu-23tS for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1724069067; x=1755605067; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pSUXeT/7pJ/Mt2BOmAmoES1hscG9qVheVB/BNRpeBkE=; b=Fj5aeiA3KadZzTKxY82hCHGQnPo2WrBX1Iwe00fhuoyofn94A9bxDy2k QytQYL0clztZrMj9t/YGGjlZPV+3tYrQuDhAG52GTJl4QjbWEdDm5NzXx pwMBTOuejgEml71rhHJaya68uOQMN2yUbe5g/X9vOArRM0CydOAt7fJex G5ZA1ND5K3vnSfMF9MmrrsLa0Faq+gUbh6ler5aBT5c6rSoxudq53lQpL NuHrLGakQkgdQh8d3c+tSe3+kZ6YG1MYr0EAkwgTalvc0nFj62MPo5hfJ GOeiAkWI2aSdlOi6eyAaLHn559DHH6DvfxiKAFbWxHMlHylKKTcsFCDKr Q==; X-CSE-ConnectionGUID: baAP0VNPSdWdiAfdXyQxYg== X-CSE-MsgGUID: O3Tu2azIR5aL/ezmq25VHQ== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467141" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:26 +0200 X-CheckPoint: {66C334CA-32-FF00FE11-F2A862FD} X-MAIL-CPID: 83B8667D26F41B82D9FD5CC7456ACBD6_5 X-Control-Analysis: str=0001.0A782F24.66C334CB.0007,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 79CCD1688FA; Mon, 19 Aug 2024 14:04:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069062; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=pSUXeT/7pJ/Mt2BOmAmoES1hscG9qVheVB/BNRpeBkE=; b=XZLe8KJJ0aAw8mu1dAlZJK2Npz0T0lkU8JWZjrSyQPDR424wzcsz6zBlw7N23geF6fvJOP nX3iwD1mxKXQyvXJ727JbNlWMmpjti30Q0d5jpAIrjb4zR1aRVJGIUxwCYurmwiJOF4GuC AuZoaHlo1eJG+Q0L8JgYbXXaYsxKZIvzgu8VdXv3ZNTdBuipOeHscMjQ60b/dHFgsZfS9a 8BrldWiQC49wGGmdOESOA5VmhkYJ4ksG5ILB2hZE2mqt4BjLsTAUJAozTYnVIwpnhuxoY2 rX2OC1bUs1Ri7BG5qfyIm/oqW6rRCc6qrtlrG2FuI37w2PdU8isvkKOHJAxpbg== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH v2 09/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: add RTC / temp sensor IRQ Date: Mon, 19 Aug 2024 14:03:23 +0200 Message-Id: <20240819120328.229622-10-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> References: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_050427_862158_9AF8E32B X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Markus Niebel The IRQ lines from devices on SoM are connected to CPU GPIO on this mainboard. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxca.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index 9673b93ba4702..74e1347e25ea8 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -495,6 +495,22 @@ &lpuart8 { status = "okay"; }; +&pcf85063 { + /* RTC_EVENT# from SoM is connected on mainboard */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcf85063>; + interrupt-parent = <&gpio1>; + interrupts = <14 IRQ_TYPE_EDGE_FALLING>; +}; + +&se97_som { + /* TEMP_EVENT# from SoM is connected on mainboard */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_temp_sensor_som>; + interrupt-parent = <&gpio1>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; +}; + &tpm5 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tpm5>; @@ -653,6 +669,12 @@ MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x3fe >; }; + pinctrl_pcf85063: pcf85063grp { + fsl,pins = < + MX93_PAD_SAI1_RXD0__GPIO1_IO14 0x1000 + >; + }; + pinctrl_pexp_irq: pexpirqgrp { fsl,pins = < MX93_PAD_SAI1_TXC__GPIO1_IO12 0x1306 @@ -665,6 +687,13 @@ MX93_PAD_GPIO_IO09__GPIO2_IO09 0x1306 >; }; + pinctrl_temp_sensor_som: tempsensorsomgrp { + fsl,pins = < + /* HYS | FSEL_0 | no DSE */ + MX93_PAD_SAI1_TXFS__GPIO1_IO11 0x1000 + >; + }; + pinctrl_tpm5: tpm5grp { fsl,pins = < MX93_PAD_GPIO_IO06__TPM5_CH0 0x57e