From patchwork Mon Aug 19 12:03:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768282 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 0698DC3DA4A for ; Mon, 19 Aug 2024 12:09:35 +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=CUhDDd4L0Nhb449dRHFlHrsNDXqMMLHgE27Tqum9MVs=; b=stxXK9nVVqqzp5juMCQsZWOj54 BcS93CQp0MJRH0P9vGDlEctUm9WV5cPXUkrUxQVQBnI/52eLQANAoCBEjIDxsjc9wjMyASnMd391J XqezhZt7kjWcYi1NGlrXc3uc0re6VYKQCbKaBHjff16DThIvujk9CLtM00kIiYUU3AbI5oFUP7bB4 L3z5yqCUTdckIYPqNPwhs2HybJ8Ba2yszv3/y+AQZ4DgQd6rmOe4Xbh5uuk9qVL0FQDRbRYkBt0q8 eKOjF2vTWiQIj1hj2PoIjE7bgMwDJH3+hOyRHEWfvBLAoL/lucM3wgc6Zk9mZnZsSgumZzxLeioA/ oDpjxHrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1CM-00000001N7c-3uDI; Mon, 19 Aug 2024 12:09:22 +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 1sg17K-00000001LEu-1zcn for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:14 +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=1724069050; x=1755605050; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CUhDDd4L0Nhb449dRHFlHrsNDXqMMLHgE27Tqum9MVs=; b=n6GlwG78TN6OmYnxJpm3YtNzTgnXHPFBGTwFfF17yRvF46CShH8kAozO 3EKMj4NMWQMuDMJFSN8XWonCCTZgAVwQIcynV9KtEqBn/Kr5CxXaeGHlS jHUN++6PKyaq9T07QaYmoxQR/DTrdxnANh+2KiQDSUSK/wB8fMOj81m8l K20PJbuEcCeZ5m6hJCBXqtFRfllAcm2WJER8Kt0Rwg2+iElP4bbx3hqVn Jgpd+vgUS5FbstRqhg9jWhxCy/PmxpkLhtlHLcOoCxXN71Ss6ufquYqgI ELMcbdmPBJtqGe5q55VlojC1CtRtOKTDxwM60CDq8+vOkMUUcuzXnHG8Y Q==; X-CSE-ConnectionGUID: qHKk8luzRe6kLkr5VtF0eQ== X-CSE-MsgGUID: QsDYxp4hS0CygMkoEBjZ+Q== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467123" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:09 +0200 X-CheckPoint: {66C334B9-20-FF00FE11-F2A862FD} X-MAIL-CPID: D4B7E3D9CAD9360846CFC0F2BA1424EA_5 X-Control-Analysis: str=0001.0A782F29.66C334BA.0018,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 96FFF166BA2; Mon, 19 Aug 2024 14:04:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069045; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=CUhDDd4L0Nhb449dRHFlHrsNDXqMMLHgE27Tqum9MVs=; b=fwNsBQEBq286wXJSmKL31AjfZoYmzEbjKxD54Z+VV8bCzuoh4eDaBvySB7jCNpARxK5y2k ufSVKgDK3KticjiCViSoraQw+K5p+z8R9yAtGuSbtwP3Db525z8XMlYhzYIsYtomPBMuyv on9aV3J3dCW91SR2w1OmWySMw3Fz+AqzCZ4G7X6W95+KvqofrL0HdRUStuXbfgT3Wg9uZV vpuKw4biIKFbSkDLZrEWv1C/fhT7PlxUNZ2zfpoMuCEY3o3XDJjElRPB7inbL3Nng6FPaH NSjdVqGc8mAspZwgQkHyoe8EtC3bsow2XYQVnYuo/pJySY2BOcWm+CFa3rduOg== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Markus Niebel Subject: [PATCH v2 06/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: add missing pad configurations Date: Mon, 19 Aug 2024 14:03:20 +0200 Message-Id: <20240819120328.229622-7-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_050410_982054_B1BB634E X-CRM114-Status: GOOD ( 10.16 ) 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 - add missing (and currently unused) pad groups - assign muxed GPIO pads for X1 to gpio2 node Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxla.dts | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index 9e4fd1eabcfb8..b3db7175cdd43 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -222,6 +222,11 @@ rtc-irq-hog { }; }; +&gpio2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio2>; +}; + &gpio3 { ethphy-eqos-irq-hog { gpio-hog; @@ -524,6 +529,19 @@ &usdhc2 { }; &iomuxc { + pinctrl_afe: afegrp { + fsl,pins = < + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO07__GPIO2_IO07 0x011e + /* PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO08__GPIO2_IO08 0x051e + /* HYS | PD */ + MX93_PAD_GPIO_IO09__GPIO2_IO09 0x1400 + /* HYS */ + MX93_PAD_GPIO_IO24__GPIO2_IO24 0x1000 + >; + }; + pinctrl_eqos: eqosgrp { fsl,pins = < /* PD | FSEL_2 | DSE X4 */ @@ -606,6 +624,28 @@ MX93_PAD_GPIO_IO25__CAN2_TX 0x039e >; }; + pinctrl_gpio2: gpio2grp { + fsl,pins = < + /* HYS | PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO16__GPIO2_IO16 0x151e + MX93_PAD_GPIO_IO17__GPIO2_IO17 0x151e + MX93_PAD_GPIO_IO18__GPIO2_IO18 0x151e + MX93_PAD_GPIO_IO19__GPIO2_IO19 0x151e + MX93_PAD_GPIO_IO20__GPIO2_IO20 0x151e + MX93_PAD_GPIO_IO21__GPIO2_IO21 0x151e + MX93_PAD_GPIO_IO26__GPIO2_IO26 0x151e + >; + }; + + pinctrl_jtag: jtaggrp { + fsl,pins = < + MX93_PAD_DAP_TCLK_SWCLK__JTAG_MUX_TCK 0x051e + MX93_PAD_DAP_TDI__JTAG_MUX_TDI 0x1200 + MX93_PAD_DAP_TDO_TRACESWO__JTAG_MUX_TDO 0x031e + MX93_PAD_DAP_TMS_SWDIO__JTAG_MUX_TMS 0x1200 + >; + }; + pinctrl_lpi2c3: lpi2c3grp { fsl,pins = < /* SION | HYS | OD | FSEL_3 | DSE X4 */ @@ -639,6 +679,14 @@ MX93_PAD_GPIO_IO00__GPIO2_IO00 0x011e >; }; + pinctrl_mipi_csi: mipicsigrp { + fsl,pins = < + MX93_PAD_CCM_CLKO3__CCMSRCGPCMIX_CLKO3 0x051e /* MCLK */ + MX93_PAD_GPIO_IO10__GPIO2_IO10 0x051e /* TRIGGER */ + MX93_PAD_GPIO_IO11__GPIO2_IO11 0x1400 /* SYNC */ + >; + }; + pinctrl_pcf85063: pcf85063grp { fsl,pins = < /* HYS | FSEL_0 | No DSE */