From patchwork Mon Sep 2 10:19:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13787007 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 D8141CA0ED3 for ; Mon, 2 Sep 2024 10:19:07 +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:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sWJS9qCYhBLqOQHrN3mOoXQ2VIQ+JYtGCEgIr7A/qbo=; b=t+6LADEvvETVcnkLJOVvRWxF02 8uqq4I8TBAnk5Md7NpfBRaapOwLuvL6QvFf4HClknKaM9Fii19tmR+owoflK3CNdsqek1lrSyTd9+ 7QJAPEjrk3/R7DkfIIjLuZk3ZH8URw3EwlKu8FJxKwzYZdtT3xs8FJkzbsLjmHMSPWTB5DsgolExA ULoJemO8deOjeXczZpeZgl0t5a1HBXdT/VJJv5sI17+2mgQk/yc0vAYHzLDSc7lk8MUR0vRsXa0w0 TKkNTgyob/re1+lCq5SqohsG3fxfNkOeYafGF9a7cgoQg3t6adOLm26xvO8X2BVScR3zJQzJOFNlb Jeo0UN1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sl49A-0000000DsSC-07TU; Mon, 02 Sep 2024 10:18:56 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sl41W-0000000DqP2-1TwR for linux-arm-kernel@lists.infradead.org; Mon, 02 Sep 2024 10:11:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vgsiSQ1OfkEVEeFl94IqaoMSVM7DqwzPankkEPKiOPdyZ9fRSgZ0K5tdJBObYpcldcpw6rYDROK8KNZn/b/n5PQBa7o5zfOalWRS5bReF86n+VWyldvqoc00WKiHs0524Rf8GQoI6vBJj12TxtRWIH5ceQ4/Nj2pGKQsekg8Q092Waf7mpVrUOm+mivWW2tWKBtgcAfIVoe+oyh1zBcD1R0IXpbyWcqJ6IpOmwq2+cFotKrxyxJpAQhj/V5XHlKkTpAHtoPHcfZ4dGFofYvuNFS5KWQQ/nkGXCKvmPrrVQCJpa6uKaUSlNqiJdUc7NAWENKH2OPHKROtt1ciC+xC0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sWJS9qCYhBLqOQHrN3mOoXQ2VIQ+JYtGCEgIr7A/qbo=; b=aeDyKTY+VKS6eO95v/3NsG2ft4dwym219aCvNOS6jLVq90VNoH0BfpoX17gWCtXMurA6lqWv+E7wCpp5ZQ5clK9e/7XeP7BPRxZvcLs/5G/d/cx9fnVcIxmVNRypwleEtOR1ZlYWy2jMHFeVSFrtzB5DS4hwYTTLIG3qedx+QqDh4cYWnCpd1xCw38UkTcJ9lTv+RunxUbnjUJ2RBjkSHnZxi1hGX/xmXKaEF+NwLkxPXrri1BwGBOzXnlK/LNT4XZGboK7pc6ZxrqkjcbNGxLpubAdy0Dih/nSmw9T+3vpB0/tb35InFPYTzVD98WdyaJ9OMeT+IKZhXwf7HBh6Gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sWJS9qCYhBLqOQHrN3mOoXQ2VIQ+JYtGCEgIr7A/qbo=; b=eq+6fZoRdNw/n6NTT8KiFRITmLkgU1eWMKnkpNLbDDY2a+9S9sGGNJeHrBhL05HUq14KSrb7MJPGHylUzTdP6Wh0Rj5SxDgTr8luMZq+hx+VvDP2YbF0j3JRMAcBGu2QSWTGdZ7pjjJfGixFmNSZU+F5z3KTZCsuoZDKxuCC/gb1vJx9H1gZgjG0kJ9lGUcXg5cDPzykSHCSk6vdEQqZ/mcpqqJtaiu/5FK3+doR7GTl47TbRBB5/EAdHrX4bizZKJr+TI73d8gBP8RmfyhV9X5nMizbAQ9C4Decep2Tslsm+alJcTUsI6GqJ95Zk8GxY6aEGN2TOOd7XWl9kM8AGg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by PA1PR04MB10099.eurprd04.prod.outlook.com (2603:10a6:102:45d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Mon, 2 Sep 2024 10:11:00 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%6]) with mapi id 15.20.7918.020; Mon, 2 Sep 2024 10:11:00 +0000 From: "Peng Fan (OSS)" Date: Mon, 02 Sep 2024 18:19:29 +0800 Subject: [PATCH 7/7] arm64: dts: freescale: imx95-19x19-evk: add lpi2c[5,6] and sub-nodes Message-Id: <20240902-imx95-dts-new-v1-7-a1f798f4f746@nxp.com> References: <20240902-imx95-dts-new-v1-0-a1f798f4f746@nxp.com> In-Reply-To: <20240902-imx95-dts-new-v1-0-a1f798f4f746@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725272374; l=2753; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=WYRaLiM/Cb4fxjepabZ4BHNUcNHSVGYo0CPKW5VPn5U=; b=8UIciWvLT2QMyGPnH0kMN5Ck/yuwrNJ0i++BGRKTUPWa2p7Ksv+6UdmwCdmHtLLkYP3Wj1nXv cq5+gy9gB/DCQheMyNrSxxl0DHA3RrzqLVfCqPDOxJNyGw6LZAYvxdl X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SGXP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::33) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|PA1PR04MB10099:EE_ X-MS-Office365-Filtering-Correlation-Id: 07775ac6-5a21-4268-15f2-08dccb378b93 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Q/5AUkMrIr1KCpd7h+Exkhs9cjxElyt?= =?utf-8?q?D1phHuiiZt53ArrCClN5IAuJkaHit3z5xRxba+Vj7h65CS/CwYW+EVDfzgizrWU/s?= =?utf-8?q?KQkZBV/9ouHpSWutCilWEf6Z6PqbhEG7F9jp1YV6+nSaSM2BJNSo3hHOvuKRXOumh?= =?utf-8?q?voUTjcNbbMHqBvVw6BQbmW1RaY0g71V55lLQGQt4JcS2AsNSM35/DtdrjOSacozhc?= =?utf-8?q?dQitgBdcQim/hZXW2yQ5nxilkUqFcrGOfm5I3UlivN3oIv5oxDkrJOi3jA1UETlFo?= =?utf-8?q?KGBG9nMZklkAaPM84m8z28AaWHsecHAWOKBzWARZRFIugrbE4F6R6c5h4fZ5JEHFf?= =?utf-8?q?YYB842U5EoZZIU9iOLVJPliTQXzFjZCuu5No51FU1duXc46OMzuqjmRE/VLHYui3w?= =?utf-8?q?OqL9inh/q65MZU13bqfJ2wQU7/zk1mAGaZUFFqZX8duVOFWekGCrKLdON4GUxaifI?= =?utf-8?q?eRptjbcx9TheLmpm5LmNPKWlXhjv1c3ePWv6VTLkcIWGyT19ZatxKcp580SUa+9Ve?= =?utf-8?q?rL+6dRgVyl+cCrGA9L5VsihbEhLNZvK0/qYbAPVDJ+5PVRykMd7P5mbq7zrHqZYqY?= =?utf-8?q?NF5dd34tLY51uyiH4aDD5/UgFooBd5tlNPSOpDxAk0ugVYrwkfyqBkmJmtJQ9/fij?= =?utf-8?q?gLleAPmIHE+AHstDbCu1vQ9oJR2MBTZMUm+7azAaEpP4GlFW+9JiFeYJpD/9NkKQF?= =?utf-8?q?MBOm/69wPPtMxk89XBSE/xtqSEsJeLB3eb7EUcWT77rPHBh5FE3XAr2gKvBCrxYPK?= =?utf-8?q?lOcVJ8c1UV4y3/qzemytuu21HgBKeNOAE3ewppPHYeh94jTB8GxGjlc2bbD5lVw7C?= =?utf-8?q?zZmPunXKXXa1y764pmrcvNIAnpfOtvGRF0vzmVnFHMJBMV4WGBxrW7i5xAev062Ij?= =?utf-8?q?XvG24hXCJiRTjUfDMj3Ra54+WOA4peTvkkqQhPqR9YoRYf8FsnZ4x4n8aEOYgPVrr?= =?utf-8?q?/AxNKlNlp7mhHBktzSiH/SS7DmTqMtdimT5pwVKcIxL1hInSVpodflpljRcV40ExX?= =?utf-8?q?hfx9AXlHAuetCWOc9GTObwv0tzso/tuK+nJrfnBCAr1f49+cPRDKMr17eUWC08k45?= =?utf-8?q?0zoZC6exQab5o9lxk6GiRW8uNVlI4VAoOf8hGcg3S+ggWJ6ohdfCp2g3DV+iy/1OU?= =?utf-8?q?tqmk2oI24kUV8BX6wYdHZrFzj9ZMpXvxR7x6mIeuqMLeW4OtCNIwY+tz33+TqEZru?= =?utf-8?q?9wn7tgs8PLSPRnNMBIeLrMCJR4rPX3xkeq60BCt0UpEJdlaO9AqjUDTcxgmQzDtPo?= =?utf-8?q?PmMLWbbPko3hOR8F+B854+nVcQAxb2loso+bl6NkcWhnReqvbFXzRSdowuXwd1MSz?= =?utf-8?q?2StyXaNDh/8kFZd7qbcPM3G15sSuZUvNbw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(7416014)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?kbQMD2eUQWohhEoqr7LRGMCc9OU1?= =?utf-8?q?vnayIDiJXp+Kc3t6hDk5fZTQOowEirXMrWuue+MY9ZvmfVo1+WGU6KAorb6tc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DRt?= =?utf-8?q?WEmh3yobJRsihrjPnUcHec1eHMF9okGTLrqwv/uFzp704ZazAvYAgfz1Twp5YyzBN?= =?utf-8?q?Jo+TcP3NrZoSyfZ9gzKriepvxP2WP7de4yvbpHnRMleQL39bc2adhUiZAsqfPpoLi?= =?utf-8?q?FOHjgvlXpLDZjZ6igGDnInH/CyfCMPBrJx/MYjmeyJR1xC2oQEMLErkZwnEAmlZp7?= =?utf-8?q?HqKA2EZjKkl54Dgx2ylCOlnF8XoB+MIm9Ylo+e3R6c/Kz4TprYMnCgXTcvMyZOdOR?= =?utf-8?q?D/PmcJPi7+7Lihn0+tyeqqU/xsw/oXWHxo1Sltm+2lsGhAyf237CXCzy/A+9BYEg4?= =?utf-8?q?5i9E28sfc18Z4pNPoC+W6a4ICOAtiM00eoHbdUnF4Ssvpa9QjHMHcgSieycOU8rZ8?= =?utf-8?q?A5yhdqwaIPnPVmjUCIcoYPTxWPk/yYqJL5nhq2hXACLYdydqpPlOjuwBBKlem8ynP?= =?utf-8?q?+pDFXxV/5dys6aBbgvEWc6augMSMp0sjN8lj+ga49hvUuML2ACSNDDntSI8TihE7U?= =?utf-8?q?3YtqBdrtuNI/4QRGz1MkXDDmdCoe41qQcJArow0XcoLDmhGBxKWqPVVHUv9htTNx8?= =?utf-8?q?ildI3R2eH2uA?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07775ac6-5a21-4268-15f2-08dccb378b93 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2024 10:11:00.5876 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4IQL/Q6wSV5+/m17ocvmkG3Xl5dcSOpgI9HkThJHU76gVhP6Yz3Kof0I+CzJC8cQjJ8L4gV5UqWA5biD4iTvVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10099 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240902_031102_447357_63D65DA0 X-CRM114-Status: UNSURE ( 9.46 ) 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: Peng Fan Add LPI2C[5,6] and the gpio expander subnodes. Since we are at here, also add the alias for all lpi2c and gpio nodes. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 69 +++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 5101cd171e09..64e9caf3089e 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -22,6 +22,19 @@ / { compatible = "fsl,imx95-19x19-evk", "fsl,imx95"; aliases { + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + i2c0 = &lpi2c1; + i2c1 = &lpi2c2; + i2c2 = &lpi2c3; + i2c3 = &lpi2c4; + i2c4 = &lpi2c5; + i2c5 = &lpi2c6; + i2c6 = &lpi2c7; + i2c7 = &lpi2c8; mmc0 = &usdhc1; mmc1 = &usdhc2; serial0 = &lpuart1; @@ -241,6 +254,42 @@ i2c4_gpio_expander_21: gpio@21 { }; }; +&lpi2c5 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpi2c5>; + status = "okay"; + + i2c5_pcal6408: i2c5-gpio@21 { + compatible = "nxp,pcal6408"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + vcc-supply = <®_3p3v>; + }; +}; + +&lpi2c6 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpi2c6>; + status = "okay"; + + i2c6_pcal6416: i2c6-gpio@21 { + compatible = "nxp,pcal6416"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gpio4>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcal6416>; + vcc-supply = <®_3p3v>; + }; +}; + &lpi2c7 { clock-frequency = <1000000>; pinctrl-names = "default"; @@ -427,6 +476,20 @@ IMX95_PAD_GPIO_IO31__LPI2C4_SCL 0x40000b9e >; }; + pinctrl_lpi2c5: lpi2c5grp { + fsl,pins = < + IMX95_PAD_GPIO_IO22__LPI2C5_SDA 0x40000b9e + IMX95_PAD_GPIO_IO23__LPI2C5_SCL 0x40000b9e + >; + }; + + pinctrl_lpi2c6: lpi2c6grp { + fsl,pins = < + IMX95_PAD_GPIO_IO02__LPI2C6_SDA 0x40000b9e + IMX95_PAD_GPIO_IO03__LPI2C6_SCL 0x40000b9e + >; + }; + pinctrl_lpi2c7: lpi2c7grp { fsl,pins = < IMX95_PAD_GPIO_IO08__LPI2C7_SDA 0x40000b9e @@ -446,6 +509,12 @@ IMX95_PAD_GPIO_IO35__HSIOMIX_TOP_PCIE2_CLKREQ_B 0x4000031e >; }; + pinctrl_pcal6416: pcal6416grp { + fsl,pins = < + IMX95_PAD_CCM_CLKO3__GPIO4_IO_BIT28 0x31e + >; + }; + pinctrl_pdm: pdmgrp { fsl,pins = < IMX95_PAD_PDM_CLK__AONMIX_TOP_PDM_CLK 0x31e