From patchwork Sat Oct 12 11:19:14 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: 13833870 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2087.outbound.protection.outlook.com [40.107.22.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD11415CD52 for ; Sat, 12 Oct 2024 11:11:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728731463; cv=fail; b=DiA5fx8pFhXVxig+jl9eCQT5hcjmORlSIDomlYGn9OSX+imsCOwOcInuVwdpZun034lrUiouSemptJlK06eHcsq1qtwoa4FKl/qrqTOAQ0oobBLl/GXtWIc9Ru5+3VT6ZYQAV++Y/HRe/ZtcxNAPnnI7h/YRcsOr16u5whrOVXQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728731463; c=relaxed/simple; bh=adiFVz1pnYNTnHF0eEEBEKw1U7qW2yntRsUDjiTWQZ8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=L/m/wBjj6pGm8W/eQXPgIsBE3sN5RojJ+OtMkIfFEXcePbwZ/xynvA7ngoo69tU3xL0b1J0ZzX1DXCvekZbfwaAX8cS1KegrMgIjXbE7kIYjwFHV7OZPQ+SJT5hRZSSo5XnzJH5ThwhHkBGEDQES7R0v3NtH9KlXF8bf8wy1Wyw= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=RSSS7t6o; arc=fail smtp.client-ip=40.107.22.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="RSSS7t6o" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YGpqRyKW/yOlZUmxFi+/ZAV1iB3qI0AS3ueGU4rR2Ro1iPKR0AZ/GtYP2q+Sk9chvMc9rNYObKVmBqwWR+jDL37SIlbaBJh0BXKWtwWqv3Z+BheAZc+ZzISGYSx5LGsHeVsM+g8lS0gkvAW+ezEtmwG+IqIvCMLb9cZTxGdmWjSYzMaA8WS4UeUNNMbU66O3KMIDmGRU3WATyuhv5zwvUYvxdD5RFc0C6xY0vDy21E7rtz5CroQFJOLowRvYpgDEg1NSbpPsgN7ssy1gW8LtxLL/9NzYY+LOXvSj4eIzcd7eeR2RgbGrmjxw4+mqCe93662kolF3kkZjyqs2CMfd2w== 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=iGOdf8unAq3AOxut7wf/53KD0eDvI/A7/VjhpPxRdoY=; b=o+9dgzNe1OvAxEdqnR06zYsYVUgj4YPv8lsXZmv4PjewfQTHau5GOVwGphTjjw7qvVVEPLda+BboF7wVxh/KYHeFXdQzVSGFCHVfzN+s9QxV0zfgE62I/ZhKGoukD+Zld/S3ufVqHv4aKUmAxzqSr4QiLuWbOEPyypCo7fbguItwYdEt47JmtLv3bbjfyDlwPnUkwuVisHL0WhYYIsi4Itt2jsdEuq5fKm/e5e1wXZNBXng3amhb4jjzJklmsQXt8vn+kX1bPwjsEZPiutZ37AnS/fQ/UQ34QM1LXzaeG8STLNLwmm2MjV1DrhStsDRMAg3F1D0yXqvgriv6NnBWpQ== 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=iGOdf8unAq3AOxut7wf/53KD0eDvI/A7/VjhpPxRdoY=; b=RSSS7t6oTbANqBsvQ/8e7b60wmcVbs1IhADsA5TXU4Xd9T8y9KuQx+AitL8gS2p8JLonmfkQ9vs0w/iz+UHvs7RMMScRCvZZGoj4JwlYVUljvtkkzkKNOUZrifYNrJuUTDX18b9UQtbnZEjk0zDbOp8VK4jEirB5mHPRAlgpBpxm2p1TpLmKheiFBOSwnGXJWKtrWS1P7cfV1cVOEdRDcCk6GFJKoNc8Gv7/WRtL3X8s/M9jfGH5fABknnTzyeEDBdMAuhoX1p0XdFyq3t3wb9DBF41RHvyp/NOshthKqgYWkCZtK3hzGA7VR1Ef7ULlANe59LaHtADJ81k7gppz9g== 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 AM0PR04MB6771.eurprd04.prod.outlook.com (2603:10a6:208:18d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Sat, 12 Oct 2024 11:10:58 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%5]) with mapi id 15.20.8048.020; Sat, 12 Oct 2024 11:10:58 +0000 From: "Peng Fan (OSS)" Date: Sat, 12 Oct 2024 19:19:14 +0800 Subject: [PATCH v3 7/7] arm64: dts: imx95-19x19-evk: add lpi2c[5,6] and sub-nodes Message-Id: <20241012-imx95-dts-new-v3-7-edfab0054c71@nxp.com> References: <20241012-imx95-dts-new-v3-0-edfab0054c71@nxp.com> In-Reply-To: <20241012-imx95-dts-new-v3-0-edfab0054c71@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.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1728731962; l=2799; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=yAG3mCRVs4xnMV0dnxeY7gpeK6jc/MWYjYb3za+wqB8=; b=9ruvEqBfr6qynL25X23mVN8ZObEhaQG5N4S+Y/wbzaPq/bmMv3UiOERaxCkLBYia3Ly6wCDo8 5oCrWTbeLy/DMHaLe4TGaaDKZwxWY9ALZrWCWQBzgnajU2igcrNJ8bZ X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG3P274CA0020.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::32) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AM0PR04MB6771:EE_ X-MS-Office365-Filtering-Correlation-Id: 17129326-7cba-4c76-d48f-08dceaae8cd0 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|7416014|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?h03rqHVBze1OTIlAMF8/+RaZ4V7QRq/?= =?utf-8?q?cQpLHAkqXnuaGSdEsBksiDDgEiPzJ5lBVq2Vu4BG+6RGKWrMOSxlw90tL8DkYnhFW?= =?utf-8?q?U7nITKg9vNkJeijcdHKCRCfEfYzewPk6OUT6gmCIvs3V0b0izvPf0i+4cp9KkT9/O?= =?utf-8?q?WzhEVdoefXG/8NBiVCDtvzyvLyVdhhSJSxRbT+Y5bHcxstLujlQgR1c477IJIQUdO?= =?utf-8?q?dQYQXmIUNDXMNkMgGYwvcn9TZUKzpoQLY/8V5VH1M0TfoQrhlmTRAj+duGu7c3FZ2?= =?utf-8?q?5WfIZwz1r3xZiMCliuYjUGwzjYoTgN4I/YoRuSoJr2vibtIu/asdULXEwk5007s+i?= =?utf-8?q?SsxiCpRtNTdw4jRYP/wF0cuTAwn/3SkI7IGgnlw6x5q/QhW+R0P2JWgYjiCHDS30G?= =?utf-8?q?HtMcCsTGnfLBRHuAZyEGX+zEvyGwoIzWCgXV8OyMrfZiBBGx2KcFZC6cF5MynAu/N?= =?utf-8?q?afssKLRyuKMRYLTR7CAlUJqBzb0BqEsg8rpI0YJPkYbeUkmdV26i7PIvl4E8WlnOB?= =?utf-8?q?5qFlYgj4qWlv93lRBSfJChvxMTIiMkrY1jEAYyfrYmZKvr0y8hWi4S6MRkf+TsQiv?= =?utf-8?q?jUJLuZ83hzcweyhqIEVpivgoBL963oztbumMs6idcusc91GCz20sYpJaKDjkKoFEW?= =?utf-8?q?o4TwGjhYz6T89KxB44Ak7auFZpgfUjwxe1KS8tPSfi4RGyYFwCS7W13ZSy6A5kcBA?= =?utf-8?q?HUqJ3JHB2MTvt32VUCJQUsRboPjyfJmximLIYemSeyNloSyNaF5uvtu+W5yj2Kp7I?= =?utf-8?q?H+flA70KzJqii2GdbiPJnd+M0+hSNNws56m30OtkirTGw0QtZ/UKyhCphgvRktM/V?= =?utf-8?q?Z12de9VtzmB7TVhnHHBTp410/2eGDMuIvQT2HgsIqsBOOSZnQnrOa79RphuH0yqlV?= =?utf-8?q?yVS4F2pTzTI9O0EqS5PdVP1G7+RmlxRQLQ4KQ2T9Uit9ECOPAqkgDFceOfW7xnMfI?= =?utf-8?q?lQsB3BBiLGCZMH3rmAldZ/lzsIZMdW1jzxVzzDdA8r/63dbgdDOkzyZWbUlpD6+G5?= =?utf-8?q?QTBJCG9RnLJZp+cSivqBpgcpnZ3VmNJdrpG8uLEGxbVWU1C/H5hsUaRKqojlB9X46?= =?utf-8?q?G33zvOw+/NoAALtMUXI7cMnHbs0+ISUo5brrkyVk1r5IUB+dXnXWIuZ/eEuTBWPAs?= =?utf-8?q?XK4NRExQqb5F1r9gkX8gwHB8EKDPEcZv5TcoUT2JsSFjjYLJ0aZKNq5cV2VT8UScv?= =?utf-8?q?5jNKZ9KgeHwBxu7Vr3lvMfB3JUOQgZYkfuo20Ygo66JNluItFipfXhNvLlOz5eOu1?= =?utf-8?q?2O9pjJAn9FT6UWhIPWRkQpdNrpi49scGQXA=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)(7416014)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?X2vjkXyeewC46Kpw4NFdUZs/xSei?= =?utf-8?q?Ek/Kaa1oX9epNa9IIx9/LDY1qPRxOG84kGTXumsGUYgUbWZsP11E3UIa+ktBZh73a?= =?utf-8?q?s1i2Enm5N0zx+Z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OEBcq/mUY595rs1k/vTS/EGjily5w5kU8Y+7FhX?= =?utf-8?q?PAVwMnHuSCBTv2HBJxey+HOWb70yKpaR7cXKenM7M7/2M2isXoo2hzdcp0OpGBk67?= =?utf-8?q?CHIGyJvLjwf38i8bljWPKUk6Ej8Oe3/Zz4LaQHs3+IDgaYVvXCyZaAGM8NqKk8jpU?= =?utf-8?q?1c9Xw00wGUnKLSd3g9yxJWd05jCxg/iB39YDEuPvUyP+w1Oj9/isxUV6/r6LYf11D?= =?utf-8?q?O1NJcP9EPO1Ct+CYD73t2uL5PEZSXVQtwhQORL/efulcc1ARwuc+aNPWHWqTyB0eM?= =?utf-8?q?VckCXElbNOt/ghXLVsW994NqU3pu5brGf9b563n4jD5aMc/m0KWactNd1b7jc4K1h?= =?utf-8?q?b3t+Lxwy7JHu3/tgL1erVLsBekcgy9bTnQS/2mm3aQETF9GCXK7lST16sMPfgWVIe?= =?utf-8?q?cGMdJETQPxXi0b5xqVMKxbNno2lVB6gmEruAUsRg+g8UoCcc7Neg/pEE+Fp5G/mAD?= =?utf-8?q?SYodo1CdQUvjhgkfa/gtXl6y3bN66wHme7RK3mgvGfUifmamuPlPWJZCbhKyt5Sd7?= =?utf-8?q?n0+gtPwvu+t/?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17129326-7cba-4c76-d48f-08dceaae8cd0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2024 11:10:58.8517 (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: ZwmLu8W2WtKssP9XlIpQ3qitEQ7wHeBWVmcp4CkHqk1bd4sVueca4GBQZq4HoIWRCa6wVqF8SI00kNi0PLcS8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6771 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 5101cd171e095fb5209464055a52ebdfa7dc5a61..6086cb7fa5a0e14882be3a8c609725e15c179392 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