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: 13833974 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 D68E3CF2564 for ; Sat, 12 Oct 2024 11:22:32 +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=iGOdf8unAq3AOxut7wf/53KD0eDvI/A7/VjhpPxRdoY=; b=HhoMjederdmy2XDQU1TjAP2lfB 7lUd6+a+5Hb/OdFNO25QW3UjdXoCIxguePAeivbfHlxyoLjdXqXUMYNDNPwQiuBR/FvvB+jAezPvo ynEwheZmll6I79OfUbp1M4Kbos2rXpVMCDgtXaG4BXkybAq+iJ3s6Khjm8bzS4HDeQrG5HNlUfmBD TWXFI1ArIZe2Ih1/4W4iKO2wLu+9XLJqCJ5IHwdhaYLdSK4Om3biq5k4PpvzNmh9TPONC2vTimSdh +CIQ5+aa5UbtHRnu5j1BFi41zlpcUHjMGXXxCLFYfkeXWlvbCxC05pvucZdqQqvqQiU/+fmYwoRO1 4bYSZtNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szaCS-0000000136I-1AM1; Sat, 12 Oct 2024 11:22:20 +0000 Received: from mail-db8eur05on20606.outbound.protection.outlook.com ([2a01:111:f403:2614::606] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sza1V-000000011rR-2Xo0 for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2024 11:11:02 +0000 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) 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+ZXDLgIyT5eLiG1BmvWllv7/oY8A9O5J26n6d5zqiBdGtcy55xGUs?= =?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nHuSCBTv2HBJxey+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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241012_041101_691869_CC6F8AFF X-CRM114-Status: UNSURE ( 8.88 ) 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 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