From patchwork Mon Apr 22 19:50:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13638892 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2048.outbound.protection.outlook.com [40.107.21.48]) (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 D01AF155384 for ; Mon, 22 Apr 2024 19:50:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713815436; cv=fail; b=sPIfwJxl1UV91SpN061MB6jNQ2pMuh9zStXf3AuGV841oVdlrdP0flu+88DHYGiLTn/hS1DZMe9k6G8FskU7EVVcdtfD1/c0p5KCrD+BjIje4SAQe0xLS2mEhSWVHShl6UchpCtNxIBWRdlv/1OLh0O1Vqy6KnTEZQqok4TjIR0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713815436; c=relaxed/simple; bh=dJAbiDUSWBY+fjoWgHPzQLOOO5Qfyb1+YpslVj8SCXk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=JCuoa+3y2FYNAIDbxJI8tW6pWO5meN15sQxZ91ZwQKA9c42lHZ0ur42VLoNR8jZoYx3EHZKnE/QYZIy8SPCpnTfiYBMmvb/sp3gId2w5/UviC8Im0jqIawYsWM5ylGSNlKBQTSQDHucoFupw90qNqpCDTTtBgaBV8jUIEQOFtp0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=MfKDaG7b; arc=fail smtp.client-ip=40.107.21.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="MfKDaG7b" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YZAQEs07oTVSEhUmvmje7awPgJwLvG+nACUYItwZo0OnuRssZ/PbAZZoPGB6yPANvW0r9xp5hp+WZVuh8QVHUcqMvYiRGuN4OnGDhzaL/DgxU6JnRoKE48K23Obw3QXBgTc4Al0afu+ZaO8plzQV6LSCfPr+1quumo8uazUQik6qMZbXKCz6n6hlC8OknuLYwZ13Yl78vbnxLixO618U51EEhsRYsZ8Whd7+YZAA4hwcaIUdKkDAWyqB0vINOSHomW3NwQu2vfWLtaCJC1yVUuGECuE/73oeTQdTTfeSpG3hh79iwoSFfRwBswmVA169RVxXUSIY1kt+MpoHigSQrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=ifTCt7w8ODFNbdnMIpvs1WO+GTOu+aEeUiJsk86jgAs=; b=BEK/zj3ig5iw/egTLg2GBYK0cMHqWOZsbm/ZrhLBBrmYxXUxvCtOadC5XYUeo8oxJG7Jco6JqkVVcU222HIXaeWQdfb5Q6ola1hjORpwl56HBSXCTg6ivCR8uoaRYnrXW87MTlXsNcg0FIDX/OC+nRUELUZBbhFAwnKmqmvjaBiN+jLZ0F1kqIKP9gLt1tyX+mfRKFBxMRgWyvwe3gmkK/KPVdVsi619fUg1R3kbI28goLa5dt9UlfcjSLY4D34kB+UJZIASVGjevFQNScRorsAhEZtXnIXwc+IkbyhSIrBchJlZy4PoDqgd6F2bTZDLaO1CWzX+tU6564vi0kLq4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ifTCt7w8ODFNbdnMIpvs1WO+GTOu+aEeUiJsk86jgAs=; b=MfKDaG7bBAI9UDFheXDIMHKUU3xTDroqS2oInpmyRdGV6y30xxgL9bRn+d0wORPEPhWiYyA7JpSD6NHV9T7LiSaPb1+TqlPBv0+bY/NiOYTAowNCuQZv70k/ZvMiBC1JJiUNq3xsODKSV88AYD+IHk0WEdcRPWoe9cSzJCKeHLI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by GVXPR04MB9734.eurprd04.prod.outlook.com (2603:10a6:150:112::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Mon, 22 Apr 2024 19:50:28 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7472.044; Mon, 22 Apr 2024 19:50:28 +0000 From: Frank Li Date: Mon, 22 Apr 2024 15:50:08 -0400 Subject: [PATCH v3 06/10] arm64: dts: imx8qm-mek: add cm41_i2c and children devices Message-Id: <20240422-dts_8qm_audio-v3-6-680cee731ced@nxp.com> References: <20240422-dts_8qm_audio-v3-0-680cee731ced@nxp.com> In-Reply-To: <20240422-dts_8qm_audio-v3-0-680cee731ced@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, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1713815413; l=1328; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=dJAbiDUSWBY+fjoWgHPzQLOOO5Qfyb1+YpslVj8SCXk=; b=ahRdjFkcpKeUFw9eWJUvr+WaUsfdcvPMjdBR2xw4p8l4GIuifbNoEK1rPn6xugWHzt48rCiee dsHOxkQx2T0BFeDub1ViOG4CdKctoF9lxWIc41monLTz20Tafr/EFDK X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SA1P222CA0189.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:3c4::15) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GVXPR04MB9734:EE_ X-MS-Office365-Filtering-Correlation-Id: 38ee68e1-a5ce-46c7-e32a-08dc6305756d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Pl/rehFdoIGa2Xtt0U4QX3MEz9d0nEY?= =?utf-8?q?014wVRPebLuKM9R8qwn3jSSuREfOIACYc4Cg0dnJiinatHRNuZUJv4pmQVFaQgFBM?= =?utf-8?q?5MHSkmN+PrOL4C/veGg0FKwc9CuIXOY5C3reLKu9iOmuLg7PSijFXX58lspChYFj8?= =?utf-8?q?bWw+PtFGnntLizvquuU6WXSSg9Q+KS//xlaU+pj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kIolqfy6j8VSYj44Vuwh?= =?utf-8?q?bYVydxbUDHWfCOcyA7LcGNc/gQdqvvuaauMV8wRlUZod/t18xmqcR7m+zBjM+8Ahc?= =?utf-8?q?Y1XkD+AzoM81P3qC0FewdXnltbVpPgzs8bTyNfmos24tkaYfKS4B3BZYFkh26y+aG?= =?utf-8?q?buAv4j48lxDIIGCeNPplob2BDyEqOO3LTvy/QYqibB1gYxFoHaYt7UqWqJ1pWhJFQ?= =?utf-8?q?YOOsk69xv7LXBQ5yzYWft5+idhpqtGd7SFg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(52116005)(1800799015)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?C6mwiAr1HpsK/5MaN8moob5RGL81?= =?utf-8?q?S2P02Q+zJpR59a2Xn/FDdPGMWqH+JNJONOq+HT/7RC1lQ1Mz8oVpTKjudQycmSqTj?= =?utf-8?q?N5LiBXr7vmcfXeZwJDcq5Z3CoTuURXYORx5uTjZ7m4LLEjazZdhT6t8rkEpP3yXf1?= =?utf-8?q?I2tRaxeCS8/jNpx/U3Vbdi715tAwBELkglwy7EncWPImhOqvxQho+Q8TKWtBZYGkU?= =?utf-8?q?fclg/Yxe1Afi1f3mafAImGh8cZ5UYE4Jucfz66ZAXFT5/u4SKHEEWrNQeDAPQMU7t?= =?utf-8?q?rTVEMUR8VWAkEw/xjieMdbN7xUrWJ3dIp3Wwsg0e6Q6CqLZufjJXwR2nJfhbWr+hs?= =?utf-8?q?Ux8/ng+wqNNvnpjlqa8DDwLgY6fqOFf8OKk/8Xz58qVHmOu/nZXzu9ktkYJPdvJXL?= =?utf-8?q?SBfoPSR7cwyghOndylLXwjBSjR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I33iNS+ywF5YNq43Yf2zVYD2q2bpbBWvXJ9VcS7?= =?utf-8?q?tvT6T3wqFmCUza+Vc6rHwVj6yVrGQadWMDNTuoC0Ji6g4/wM1b50TUDn/6HQ/aStr?= =?utf-8?q?J0XGMfb4eR6/5euNCjxKNPHP1N34wTvQDH1C7U+c8gmnFR6hj35vG5gFgMPwyyIpm?= =?utf-8?q?v0BX88R7qgAJDvPW8zLtRkFkYZN4/DgIsDsVASQV2BD+6by1H0yccQO4pb0BOgv/s?= =?utf-8?q?ZdjtlXV3XR00?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38ee68e1-a5ce-46c7-e32a-08dc6305756d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2024 19:50:27.6722 (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: HmTpSE2EexpYOwrFniE2g0mJb1fb8Ky1KBqD3y8SSrJzMeDsaK6C9ttiOREKSAIXdOuFxRHLmPjHYtlAazwalA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9734 Add cm41_i2c and devices under it for imx8qm-mek board. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index dc1dcc5b25e80..3ab2fab7f7fa3 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -221,6 +221,26 @@ &sai7 { status = "okay"; }; +&cm41_i2c { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cm41_i2c>; + status = "okay"; + + pca6416: gpio@20 { + compatible = "ti,tca6416"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&cm41_intmux { + status = "okay"; +}; + &lpuart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart0>; @@ -352,6 +372,13 @@ IMX8QM_ADC_IN0_DMA_ADC0_IN0 0xc0000060 >; }; + pinctrl_cm41_i2c: cm41i2cgrp { + fsl,pins = < + IMX8QM_M41_I2C0_SDA_M41_I2C0_SDA 0x0600004c + IMX8QM_M41_I2C0_SCL_M41_I2C0_SCL 0x0600004c + >; + }; + pinctrl_fec1: fec1grp { fsl,pins = < IMX8QM_ENET0_MDC_CONN_ENET0_MDC 0x06000020