From patchwork Tue Sep 3 07:17:52 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: 13788152 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 534D4CD342E for ; Tue, 3 Sep 2024 07:17:18 +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=/AsO78cTWS48ED+b24ZiH5/t4RvUFW8uzvN6PRkMQOk=; b=33vpfMMsglLoRDd7k3hVnWESBZ BUsj22zUOP7GNcmTJ19faJxA9Et6MvQB/5Cb2KzO0amReFk2CJb0RN4VYe+VJ5tCwKA5us39Q9hYV bDNGL3tb+d83SBOWLpm5o72B0P/sUj4LiegKh9LdrdafE3CVRjpnlKj7WE8nCgTbzWrHRUrNECsdB eZe6MhxjZpZKtPK6Xg5I1ctIMINFHIvPw6wxYEjZbVvCgoIdgaSQT0Rt/uTupU6PfBGG6lY1kOPon A2R5oLhAqHX1gUDrxe4EPXu8jIGo23hL6JCaTuCXgTIBq+O6CrKo9wVjpmyEP1VmOpKpiEYl1eHYo 04/ijFFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slNmk-0000000GdR7-2jLj; Tue, 03 Sep 2024 07:17:06 +0000 Received: from mail-vi1eur05on20612.outbound.protection.outlook.com ([2a01:111:f403:2613::612] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slNfN-0000000GbXf-1XgY for linux-arm-kernel@lists.infradead.org; Tue, 03 Sep 2024 07:09:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hLJ/5sPU2mfkBEAKVoEM/q8D9dFS9F7sQUTE8NOiPpo4SkxFYkoFyCN4CzKyiRU8zBqqU8rTGcPPKdDfIH5HtjMO688CuephFoCrHO9aRsXGaNpda7Mvu19EKrVgGwESuu13Bq9aapTSyi4WD0MUVb99qvwHGXMhB1OMu/+9XXDacpAP9NPGvnPyB5ZVdhWE1YFSJmyErPKQAbrHB0dpQ8LP1oUUcq+igCHxrz7VoVlDM3LCX6ynRoNE3MAF0gBWBbUIpCaorJsFLIE1qDMF38s+HOp6T5B/2L7PuYj4mQyk8LuW4jk8NL/frS1GJY0/1heLJc2OxB+snpw+LcJp6Q== 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=/AsO78cTWS48ED+b24ZiH5/t4RvUFW8uzvN6PRkMQOk=; b=Rr/gLF7AYUJ77r/YFDP8jEwYcKTlptY8Xfn+KzYClXddnXZaYKREw3aNVDQQq/cl9LFmK27+U3olq2xY2CHU4OeuXm9dHjLZzRArI6xmduG6NpR7sqLnPNzzzYTSAstOWCD98N6D/7kysrsJXok40mu/g7DKytLnYqcjT54Y/R0zxXXTjsT+u/J0WVS7Amddgk1JePnABWA8q9nNVNbzWs3QHsBoOydnwyKoB5IOZwuCMEvKc9Sv5AWJGGPWoTYqwvbgBjHXpITguybXKqT1XfO6Y9j5Rikp8JpCpS6m+W+G7t1t7hPsa68BBY3iety1of8TR6l9Ii48geyujCTzyw== 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=/AsO78cTWS48ED+b24ZiH5/t4RvUFW8uzvN6PRkMQOk=; b=COxLMKybEKFFogymjXVwZ9nG8ZrAT7v7LNB9clVyWQb9CK0XnQ1G8jxmyqKj9Gaia9ep6//Zij+3z6Um50XpeikvtLOwgb9xgNqepg8h1mqNaEownzKefWsPk9/gLVnUwXMNkjtykFbo8tNoAuNMM4oMipRNNrzV6g3UDyeYj4MW37tiH945ufy1DmuL8Do+Qs1SyoSZhI9eZ4xZVBVNGeK/RtNUPrkzobEEgehC1E3L/fqPbVUy/KKunKGafnOan30bCvrBBcMgukUE/Ype1B70CDAmkifzB+ljGTYTgf8qWcfzUAPoNlfmRGSazsTOq/aeHGcFk+yeStP6Hx288Q== 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 PA4PR04MB9365.eurprd04.prod.outlook.com (2603:10a6:102:2a8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Tue, 3 Sep 2024 07:09:22 +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.024; Tue, 3 Sep 2024 07:09:22 +0000 From: "Peng Fan (OSS)" Date: Tue, 03 Sep 2024 15:17:52 +0800 Subject: [PATCH v2 7/7] arm64: dts: freescale: imx95-19x19-evk: add lpi2c[5,6] and sub-nodes Message-Id: <20240903-imx95-dts-new-v2-7-8ed795d61358@nxp.com> References: <20240903-imx95-dts-new-v2-0-8ed795d61358@nxp.com> In-Reply-To: <20240903-imx95-dts-new-v2-0-8ed795d61358@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=1725347874; l=2743; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=VGWk7Je4HaTt46/hJ5bmxS1en0yCkMeCG7N7BkeTAEs=; b=8oexyum4B6kc+47nen2b4GrIRjhA0qP6H5cZAGFwAOX46hqCB6b8XokoIDiUvx1dWzdRhsWAt YdAJg4iZtwPD5GGFZd7iDCjQV3mdsiRQmiOD2zRkTgnSPkh1b/dLTD2 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::18) 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_|PA4PR04MB9365:EE_ X-MS-Office365-Filtering-Correlation-Id: b7c065fd-eb30-473d-7569-08dccbe75657 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|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?tZwWsU5qAUxHY6kShtMkPBEpetnbrPb?= =?utf-8?q?vpT5Si7ZKvsGtWOiXASsgJ0F1TKYlk0xoE24SCV9ypD8YmttzKafAfGE7cBUY7qaA?= =?utf-8?q?MfaeHucR9yLcHHhWp95MnJxXPd1w7jRkZt2ODfWjwytE4EBBjkFKkJQtj7BSdm1Yj?= =?utf-8?q?WNhTuW7Aunugw28JPZn8bJ9u1vDi/IUZdJCRZGQeTD6jihl7XxWmG4wsWcN/xsjM9?= =?utf-8?q?bOeK5tzck3H/xy9K/mEmTxuB/plMOjFV0yOIJH35QdnpXNBh84qMDbqtCzLMLTK5L?= =?utf-8?q?QPUnLG5AJrTte6yda4o7lj9uQKvEzNJ3QTXKNFMbsj8M/CoAFe6+a+qqMbOsC1Auh?= =?utf-8?q?t+0g/vERf/dTTRGM4A71DHMljLynji8r3635kewfR+/Tnknfa69vIVqgXE+rH2GUY?= =?utf-8?q?yinf6pSxvCWf9Rk8VROtfv2xAQKW1b7Ui1tN05gfPK6hUdH6jxBzg1Sw6CNYoofy9?= =?utf-8?q?tgsvoEqVTfQ4oauFuFb3J9TA/8YNPr8FofyGaQEpTRON699wvGplVeckMWWUn8Kgy?= =?utf-8?q?P4Ap6X8bQ8g89AFQaObCQeImGvKwN6jRsw7O8w3U/RCD+Jf1DYROtcRkurgYwTI6U?= =?utf-8?q?K+XCZDia2xp5sQ8ku5HphE7Z5nFrAUfUuerg/mHqZWipIyrb57c/RRacHZnOOoEbu?= =?utf-8?q?94teBQQCH3JSbN28msqi0qighdFrYfRgybGVtCeVY3OrvCrlmhvS5hvT5E84xYn92?= =?utf-8?q?5VuW2YF1lCcR/M61LbysgyzFdSVM2k5WzBRx40+UDAuhabjLFK3Im+QpEorPGefij?= =?utf-8?q?B0NOtqLf35hAc+6ce35NZzTKzlIi3n9OxQKdDJYgOO6l8VmKhUMj/SqNEWB0IH3G7?= =?utf-8?q?B8VhC/aM/GtVe0/sqTZp+7ijBH1DptBnXikBMjbPFBkVeQYPd3gd6Q1nfJgwdQng4?= =?utf-8?q?1OKq9kje/Q/kHzCC4tDrugW4x9kxC6KYi0Cv2CUyQXnXKeNRTnDgWKiYcbFQM2e/n?= =?utf-8?q?3Agl2A0SJjfaYCiOi6vNziS3XYuay86u8nzHNZt0b90ISws70ZTSEm7Np/mmVhREt?= =?utf-8?q?QCtINE0/Dge3XCSpJFxYaUALG7Dyx1rB6Dduvwxx1TqdU3evQevaENrLt5DwxJZbF?= =?utf-8?q?cpV2TFPF2fOrm85Lbg23NYcGZmShok7J/qM3pl8yAVVv8+XfFYjHwHki6VhJGCHw7?= =?utf-8?q?lPCS1SJqQ12kjNccWJYLRLtwE0mruxQWVdVHwEPfW+EVvoO2Vfeo/vINCwc60s9ol?= =?utf-8?q?kFcPh1Y4GLN+9vLZX3PlHyGyfCxCOcnhq17giIjnWbXnr+tAToaZxhVVjgW8izD89?= =?utf-8?q?gr5hYFC1tc/z9a1qq8A8+ueFIqAFi9dnW6B4Oja+4XDgnlZ24RAMNvGEsk91Aw3fp?= =?utf-8?q?dkGuQBdbCPK3zxfeSzU+kBCUTjF5UMs8Nw=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)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?EgRNazHFFRVcgQR5W/nIne1syFPx?= =?utf-8?q?coD1J++OQIDvp52bUchmMqD8JZwRbvFPWzsJlqibTeeZot9WOK73V3pFvB/dRygkK?= =?utf-8?q?cWWCtVvN+Mc3Akoc1gCJN4U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+5I0slkJDIyEAhyGWJ0pYjO?= =?utf-8?q?c1BnjKXG0vQhurnK8x3RBaHIFBnSsQ79wiv9OugVrTYmuVIXchit7eBjygjrOsIA0?= =?utf-8?q?PgyR0Z/F8fc1DiJ9pVOeAPcPcrusFVZFketg4bUU6gZmmw43NcgF15e3++N3FIxsd?= =?utf-8?q?Z2CAW+GaDLCKfVJKNdYOs++kMqd5GYWBV6PAbA3ahfx+rBUWLanNh8zEUvsNGHPdn?= =?utf-8?q?KZS7todbZQrFvFDD13rbImAKe/RFdnkdP4dWs7Wxy6cfW5gHk+R4NgZn+DATLVHwI?= =?utf-8?q?ISQYaYSkTS5zMnfI2/8U4TTH0p5osSPBBR6/wO8zfA7bft05jrLGVwLTGbrc/fH23?= =?utf-8?q?BwVIcEphM9b84xVGNDEoIeOiGlH3uS68ezdtOn0kpALuqSq84CgwRaLeI/b8/XIdI?= =?utf-8?q?JXKnd/BqDX520h8AnW81Azd7dsrvzIUe/Nwo2s8kiiMycEY2xAYQPGa6vkVPezZ4P?= =?utf-8?q?LGdNDR+6YDusagEvLM3Go2V79HPOccatfet8g4wctn9eqbK2sX/TLnI/sgnSmNkI6?= =?utf-8?q?6K+rw/PYjizJ?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7c065fd-eb30-473d-7569-08dccbe75657 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2024 07:09:22.7435 (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: uBLniETb93BDisrmLepVnJ8dDP9Nim1yk4GnoXgwnqdUN9lS0WszOV1AQTAYajW+SU/qycIyTME0OW/5pow77g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9365 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240903_000929_455434_550111B6 X-CRM114-Status: UNSURE ( 9.58 ) 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..6086cb7fa5a0 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: 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: 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