From patchwork Thu Apr 25 20:24:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643724 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2049.outbound.protection.outlook.com [40.107.8.49]) (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 AFD29153597 for ; Thu, 25 Apr 2024 20:24:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076699; cv=fail; b=poQuQ1g9aNmc0E4grxPqTQ6GxNfbFZqYevJ2hDP06mSXt1mJT/DuboCsNo06bn1H0pt/RlQWvK0Wzxa8TZs4KubfRnFvkZr+2ZnRuBg1huKfoxP7dUFmu3kd6jpCGS98W9jiEGhiLZ/WmHzYltbB5ifof4vFoqc7wirgJ6To5Ck= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076699; c=relaxed/simple; bh=Anf5/cBCqL2nH+zYCUD3DObM7bD8CDoVdBveSiz8u0s=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=IKCbk0DrmxMM8UE+5Rci+QD0gfvyv1i1sH2IVi61n9ewYSEAVt7q0rYdhx/DW9LiKr28kthvoCAbKNVci41KfDlGAX7FP0mvE28qwInIyOksn0ISEyJl1sQHf7UYuIjXMAJFLctXBbv2NsHQXDMmZUdR9sDXvIaQXFZueRzdHQc= 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=JitZMDyS; arc=fail smtp.client-ip=40.107.8.49 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="JitZMDyS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M1A3fCsDyWDGsuXcP+FzXBRYVQIOSSj/CAutT8e1YYOh81tOz86HduheJnkA5toYwFMW0e3vSRKXrSwwxdIACMzHWZMyFn1BDUvGNerC+aPrcpU5PHEf5bYfVj5NP824P2hcCPyKpgADFTaA7uHwZDbF5aD7bgIQ8rrRmi1kwf9a3uonZC3H+ZLaMZZYRHWPlHIqYwBiiHCQNLGlPcNtn7QwC9Ycyt3t7tqbE6xrk9b5YtwuT2Es6rbAf3RpWAME3fwoSXL+4p68sMBzCfzMIj/tPAdaeW7/uNc9fOiDGfdcKTyjZFJgDN5dzkIKmLb9Qn69IKSqxKOEfM5+sk45RQ== 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=QSjCqqd+Vrp4x4jUtklycv3HmWHkcAADRrDv+UEVxvQ=; b=CBlFm0d9yAmitgVs00mP4ca7Njgr8PkuXeYpmeihI2vydneNBfgt4nRcrATfa5piGuFXy4qUu6txMGDFmWNhBrxTDwDn8C9Nb19RuKKUXwJtnAJAWZZZ9tmWn10UIsC4tzFStl3DdhBTrlAVJp++PrHblP9XkRDiFOfZpg9jjQ+QgswFJ4RUsP41BpcKlbOZjqg9ALGqN6LnkTN8f8eZP3OgPnqOyQLM9kfAZSECYLQhsgmtJhAtyxBM9ALH8+9khRkZ/yUO9Od7vLREh8ZZHjRpJWVblGzdD5+dLAiXsTEC4AD1/rquoryiZG0HJoQ2FOB7s1o7n0ZIQnCyou/PnQ== 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=QSjCqqd+Vrp4x4jUtklycv3HmWHkcAADRrDv+UEVxvQ=; b=JitZMDySmYEnS5EK+wA7kXZqSSp5Y/kAHENz2SbCjyBU0GooPif4Kw4pW0VWNg/cOe1DT/wmGpqM87R+hRgC3PKLeb5MaY7lT00eS3MbsVJgxn9uyCFUPIuaTUM3oLMQTZNtfPWh+0lvrtrM+ne5fpg+6Yu+bTUVzP7/KiCjM7Q= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:24:53 +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; Thu, 25 Apr 2024 20:24:53 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:37 -0400 Subject: [PATCH v4 01/10] arm64: dts: imx8-ss-audio: remove memory-region = <&dsp_reserved>; Message-Id: <20240425-dts_8qm_audio-v4-1-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=757; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Anf5/cBCqL2nH+zYCUD3DObM7bD8CDoVdBveSiz8u0s=; b=B7rmJHu0sRnlXMbZXq+tHhCnD93ZBT3WO53pv4IAZ7Ry+Ajs1RrA4/DJfS1EIvdEncj2qUTWQ 5vumWeiiQ4MCO6hmlRTSGMARKcQ9JJKObjSjNhRNkhGHTkXly3J9Tg+ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 98f179d4-8eaa-4ae3-28d9-08dc6565c3c9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?/BhYnaH5/TvWtNiCOUMYV5m6vwRFBzs?= =?utf-8?q?SAtHVVnfFYnlaXpLNjlekQiIiyjNDdHRhl0cFwj+tb5nWcE8o0fdguFd/kqVAW3NQ?= =?utf-8?q?NLlpvtgRfrt4mr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ykhKY8awtODaVKZmKFFcmsQP/26zhIcStS04rilbs242eWoAIuoXgu?= =?utf-8?q?45Jw5m9PNSxGkix0sAHWF0l6oJmxO4lGTjSE05dMU31bcbyxU4+K1sBi8i6jCS3kS?= =?utf-8?q?kvxKOd1X/aB7ldVI/SQwQ0Cp+Dgn4gjUfMBS3OEEg/q4GAq3vX1RTncPis2DkR2lE?= =?utf-8?q?knv0F5CHZB+1ie3ivEGed/5e+H9hB44dfrAq/oeC81BwT1264NmpFN1s2wmu0CUZn?= =?utf-8?q?CyHpAyuwaUv/CjAzR8LIEo99sl0kgvdOl5XhfaDhSAQDKpB+4Wj0jS9gIhe+Ko+W6?= =?utf-8?q?3vSLhO/o6uYOxZcKElfPyHoVDzEB2FMsQYQ=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?veO9Xhls4ta3avncUy3SHVGkoowN?= =?utf-8?q?nnXzsGfZnq4eiOel6YzRogBk/iKXE0LSivJqGLom5p5ss0kN5ANNV/bIpKDa0pv+9?= =?utf-8?q?R2pJH/oxErDhR/hUNdyIz8pozszYEx+W4P1b5K6tKXDktpFt0RsJ4smhcXwlL5nYh?= =?utf-8?q?ExAlR8tC97nRdL0f6MwR9YIrOh5zRue88ZEmYh2pQ5P5LEx9wkeLiF1Px+MqG9zDb?= =?utf-8?q?sfdwq8i1X6OtsEIALP6Ku6HVXlY3gq2gaWjX3Us2C7T8Tdn7V3ZdhrhrmQQn6i1AF?= =?utf-8?q?OMejFIkE07FINNJS9blEPe29h/OViLGkdfBmTwrWt8SB8eCHv1iOXmTBxmtQX08UF?= =?utf-8?q?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G7LcWCn8Xwfrgu0iHcun5gL4cG2pzUyIHRS9z4XK/VNYKPcujNfQPCFy2uwB?= =?utf-8?q?6OBSsqtHclfjvfwCsiMLBr/0OCx5uJTzSFz9Z/YyN879XXQjx8et4uJbtMDGAmlti?= =?utf-8?q?Nk1KzxSDjEpE1OPOgimxUUkmAWb7zZ8OU3aRqGFDCEX4yv1AmY0D5kEWhrrTa8zqE?= =?utf-8?q?Rm2OQ81YDSBeuda/PCTsIw7RRnK/t/zdCP3uy0NWmfQ3bblG1YQbDAeuz+XyRBc7j?= =?utf-8?q?KKQ8eh9rmP/zJNVtqi7wH3oYrU/uV96yxwjm4Sr5XOJkRwrPs0Hw40l7DYy5l6HG2?= =?utf-8?q?p+xZWX8zTPeB?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98f179d4-8eaa-4ae3-28d9-08dc6565c3c9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:24:53.1276 (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: 0eu/KwXqHCTrSeKXa5u/WFRN75Q8s3MREj2bvygQjGT27dq5ixHP27J2uGauHoie/cV+STocUFHQ/fXNm9ep8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Different boards have different DDR memory sizes and layouts for reserved memory. This change reduces future dependencies to add 'imx8qm-ss-audio'. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi index 897cbb7b67422..ff5df0fed9e96 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi @@ -447,7 +447,6 @@ dsp: dsp@596e8000 { <&lsio_mu13 2 1>, <&lsio_mu13 3 0>, <&lsio_mu13 3 1>; - memory-region = <&dsp_reserved>; status = "disabled"; }; From patchwork Thu Apr 25 20:24:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643725 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2049.outbound.protection.outlook.com [40.107.8.49]) (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 AD13A153597 for ; Thu, 25 Apr 2024 20:24:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076702; cv=fail; b=g0VmU/0AyI9jlmi0r6kp03sKVZhP6Q186T2nyrYnWAM5zvHF+/jdZEOI/0ls9w7sn9sVLhztquE6KrylQXdIDQKs3nXZW9nojhwLXcLmIDw4nicLjb5d3WJjbssf0u2Ot2uw44FtNlkTxj7XIEMlBaKiwytjFfuqO0Xzv9GZMfE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076702; c=relaxed/simple; bh=P6LypuexdM29ZVnlOc+SqUb1sJ97O+y6kEBv8SH6Tzg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=CrxnDr8h4qTDsqpiqnCOFBme1iwcp41BV8YNSSyWRnlNysqw5sum/cCmSZysTG5ah/JH+gNNSwLsxJ0kMU4CZXW4lHQTKkYcfVU4bXmIy2g/2+vaczV3eok3GqrEnEyRb056j24hvMUBRJOL+t9wUU/lsSJFvq9ozp41+UQ2j80= 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=kiXa6Zur; arc=fail smtp.client-ip=40.107.8.49 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="kiXa6Zur" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QTFdErtJh/J3vvaeLnFe063A7pfzfsz0qWa0DojfMlkSB/QTHFe6ZA1V9i/QkJvkoNMr2Ib2fiPizO+nN6X6qR/L8KzKLmu2yvNew1v01VjX2M0wm0UFrB7fHR2Ks9iURTEXYBiot7lkxAcpXGpPiQBWSnxwrQ+8l404x4CsiWsphfKTk2U8lszLuQz/A6awW52USaXI521/uyv7xllbXU7RAA//EcoJpUjcQHJXXl5FSqm/tsrMeby03yUik72ypVxmEJiu01hk16pZIZyj79CSjAnCa7kBsfKfw8KjU4hzlQY7Cgxo4XZGG2DtPTxOc5+JZydlC11B+OCCnDHAHA== 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=i8rQTmWglgESXNlLjT8xBf98KoviNvxay8re42WfcZY=; b=Mi0JAViATCgT87KeeFT2gr5gVB+2r33X8ZiCbtE5MjAEvaOnqWaCVdBS7sEqocnMjyf0qjiovkiQjemcnJbzjai4H0d+ycXEFTbvULVYlGzr0W1xAX75ykuO+PG7tZxAW1bgeUWyfoaFVtXp+VRrZ6Hq/Qk47k+vIZ+nwnyzYYW4YWgPe5Ik4on7deA2yBbdtPQl8xz0cqieD0tX494PPEv3WJsEQER2Uy30lvP2hKkqPAwYp0J2hlrxdQpur3iso+8x3IvAAz21Tqmq7rn31LMvv+CUzoihZiWUA2yB7QwAfN13kt+i38DVN1bCwQiViXcvGlMDNVvbKddH/mZp0A== 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=i8rQTmWglgESXNlLjT8xBf98KoviNvxay8re42WfcZY=; b=kiXa6ZurGj6uu0t1FtTJ/7UB6iBaiODB9k1u8htyVXWgmDAqYoDTwhuC0NrbeZhP4+hVYZYDEAU9RYIyRCIYsUg9tS8DTrtysHsY6MsWgCFKIz1c9WApFlj1DXYxukNacqfhbEHlglinka/6B4KujLygDModDrDGi0I7AN1eSlw= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:24:56 +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; Thu, 25 Apr 2024 20:24:56 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:38 -0400 Subject: [PATCH v4 02/10] arm64: dts: imx8qm-ss-audio: add audio nodes Message-Id: <20240425-dts_8qm_audio-v4-2-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=17204; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=P6LypuexdM29ZVnlOc+SqUb1sJ97O+y6kEBv8SH6Tzg=; b=+GIVURTcj/1t0j7M+u7wyul5qikhApslCuJSdwV9pXbNSm0dqsOhHCVxpfneoSApX3xc3uwEj ECPivG4UWWfAebfx2tu9WYLMFh4MhCPZipvPnwAYFbYOV2oaV4uiuAg X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 4dc2aad7-4ad9-467e-1620-08dc6565c5a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info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kDTTFdImyXOVqBSyLwbfWyv4GhjvenpW11B7MwGXz5iAezs?= =?utf-8?q?wNBX8xDbgKUdWIGVoJPLb5WxAkCqYleHDL+kAHJVm6b5NEvjEPIwhInmWilPArDpI?= =?utf-8?q?w+wLF6CRmRbyS8sZrO4OvYMrlNtUfsxG+YyNjrToEuLAWrIbqhtEq0Kf39QC+Z9fZ?= =?utf-8?q?+brdPjJNWdeEFTOgBtumfEHSW0yFLhbBe/rmkSCW6e/kaAevEvKPTy/9/E5NolvFE?= =?utf-8?q?V8+gaWkR+vTNqrIAmFuUeDJaDmuOsPzkffGoZIFDVgI9MM73bTtBagYQj5/j9vHfy?= =?utf-8?q?/YrFSvEmrrcDjIPCDxnZ9x1AALOl1puZc3ygxEWB0j27T8mUtVZ5cFoqrLzubQl41?= =?utf-8?q?TVP2ucLdtmugYRVlMTtHBEBZBKQeQbT85px8wch07YrOQOtIm1MAnjIPoGrveCC2z?= =?utf-8?q?yL6tyZp9+dQF6oHrg8rkLrabkSx+OfYkllA=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Nc40maYS7cmA5PmuQH0leRHpCkPN?= =?utf-8?q?TOfgIl+HsFYpERNgx+ZmL1icik+KE0pKInUvWtr+oUv3522wmIhQYxFDvLfJsZX0v?= =?utf-8?q?Jkk+cumuA3/T9o/XBKsM3AQE1/yMCXE8VPYQHdEYW4mrSf42E8tulzD6h86e10Nlm?= =?utf-8?q?9Cvx0VZkF8oKf1QZw+z6NTdAYaJB1G6dDYJkSJ1xAWPX29aZ+NaFN/7F/5/Ib2bjU?= =?utf-8?q?OE/lW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KP89nfLSf4wG+rgUDyt91r0vICBMOd/WpZdvFPdRXsxi3HnuBG6rOb18Mz1?= =?utf-8?q?7sDLH2dBUQWId9sZJBhcBbzPeKWvtXrcDkFz4+Q8jUubd2aydsbrjwr31M8fxNFZm?= =?utf-8?q?jiTTqGkNrMhaN2YEdijMowZi8O8PkqSBJw8oiEVeEH6FTCdGBV1eBa2NPo3zr7+6c?= =?utf-8?q?WEydttY7GBak30XFEvmd2eQaKAlLqr/HnfPp++LwQVHhFiy9WzgWtqvxfai138YMM?= =?utf-8?q?cmLK+nZFyz3EwkVArf3mVaFCwszwrO4hTif9liW4HVipsOOWlomY9jSNI32ZpTeCM?= =?utf-8?q?648KWmYTnUbC3awOQQ0DX0ho01ZkPW8rqDeNEbkRlkbPmKWpwcV6j4jop8mJfBXzr?= =?utf-8?q?mf8CTX7lVR4JTXV/7qWqtcUE760mJyiLABnxjOSsF6+qAlCt5RRQheyb5ordsucls?= =?utf-8?q?IxevwRH1rHTs?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4dc2aad7-4ad9-467e-1620-08dc6565c5a1 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:24:56.4576 (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: KcxATOAeb2+2rbzFWwtYO+sH3VligKJcCJjdJ20ET2bOgmFP6CjRWr9kIw0LVVWTFYAQDlqe26nfU+8OTilGXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Add i.MX8QM audio related nodes and update eDMA[0,1]'s information. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi | 473 +++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 86 ++++ 2 files changed, 559 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi new file mode 100644 index 0000000000000..3036af49fc854 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi @@ -0,0 +1,473 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2024 NXP + * Dong Aisheng + */ + +/delete-node/ &acm; +/delete-node/ &sai4; +/delete-node/ &sai5; +/delete-node/ &sai4_lpcg; +/delete-node/ &sai5_lpcg; + +&amix { + dais = <&sai6>, <&sai7>; +}; + +&asrc0 { + clocks = <&asrc0_lpcg IMX_LPCG_CLK_0>, + <&asrc0_lpcg IMX_LPCG_CLK_2>, + <&aud_pll_div0_lpcg IMX_LPCG_CLK_0>, + <&aud_pll_div1_lpcg IMX_LPCG_CLK_0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + power-domains = <&pd IMX_SC_R_ASRC_0>; +}; + +&asrc0_lpcg { + clocks = <&audio_ipg_clk>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "asrc0_lpcg_ipg_clk", "asrc0_lpcg_mem_clk"; +}; + +&asrc1 { + clocks = <&asrc1_lpcg IMX_LPCG_CLK_0>, + <&asrc1_lpcg IMX_LPCG_CLK_2>, + <&aud_pll_div0_lpcg IMX_LPCG_CLK_0>, + <&aud_pll_div1_lpcg IMX_LPCG_CLK_0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + power-domains = <&pd IMX_SC_R_ASRC_1>; +}; + +&asrc1_lpcg { + clocks = <&audio_ipg_clk>, <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "asrc1_lpcg_ipg_clk", "asrc1_lpcg_mem_clk"; +}; + +&audio_subsys { + + sai4: sai@59080000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59080000 0x10000>; + interrupts = ; + clocks = <&sai4_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai4_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dma-names = "rx"; + dmas = <&edma0 18 0 1>; + fsl,dataline = <0 0xf 0x0>; + power-domains = <&pd IMX_SC_R_SAI_4>; + status = "disabled"; + }; + + sai5: sai@59090000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59090000 0x10000>; + interrupts = ; + clocks = <&sai5_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai5_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dma-names = "tx"; + dmas = <&edma0 19 0 0>; + fsl,dataline = <0 0x0 0xf>; + power-domains = <&pd IMX_SC_R_SAI_5>; + status = "disabled"; + }; + + sai4_lpcg: clock-controller@59480000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59480000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI4_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai4_lpcg_mclk", "sai4_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_4>; + status = "disabled"; + }; + + sai5_lpcg: clock-controller@59490000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59490000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI5_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai5_lpcg_mclk", "sai5_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_5>; + status = "disabled"; + }; + + esai1: esai@59810000 { + compatible = "fsl,imx8qm-esai"; + reg = <0x59810000 0x10000>; + interrupts = ; + clocks = <&esai1_lpcg IMX_LPCG_CLK_0>, + <&esai1_lpcg IMX_LPCG_CLK_4>, + <&esai1_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>; + clock-names = "core", "extal", "fsys", "spba"; + dmas = <&edma1 6 0 1>, <&edma1 7 0 0>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_ESAI_1>; + status = "disabled"; + }; + + sai6: sai@59820000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59820000 0x10000>; + interrupts = ; + clocks = <&sai6_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai6_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dma-names = "rx", "tx"; + dmas = <&edma1 8 0 1>, <&edma1 9 0 0>; + power-domains = <&pd IMX_SC_R_SAI_6>; + status = "disabled"; + }; + + sai7: sai@59830000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59830000 0x10000>; + interrupts = ; + clocks = <&sai7_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai7_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dma-names = "tx"; + dmas = <&edma1 10 0 0>; + power-domains = <&pd IMX_SC_R_SAI_7>; + status = "disabled"; + }; + + esai1_lpcg: clock-controller@59c10000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c10000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_ESAI1_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "esai1_lpcg_extal_clk", "esai1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ESAI_1>; + }; + + sai6_lpcg: clock-controller@59c20000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c20000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI6_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai6_lpcg_mclk", "sai6_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_6>; + }; + + sai7_lpcg: clock-controller@59c30000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c30000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI7_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai7_lpcg_mclk", "sai7_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_7>; + }; + + acm: acm@59e00000 { + compatible = "fsl,imx8qm-acm"; + reg = <0x59e00000 0x1d0000>; + #clock-cells = <1>; + power-domains = <&pd IMX_SC_R_AUDIO_CLK_0>, + <&pd IMX_SC_R_AUDIO_CLK_1>, + <&pd IMX_SC_R_MCLK_OUT_0>, + <&pd IMX_SC_R_MCLK_OUT_1>, + <&pd IMX_SC_R_AUDIO_PLL_0>, + <&pd IMX_SC_R_AUDIO_PLL_1>, + <&pd IMX_SC_R_ASRC_0>, + <&pd IMX_SC_R_ASRC_1>, + <&pd IMX_SC_R_ESAI_0>, + <&pd IMX_SC_R_ESAI_1>, + <&pd IMX_SC_R_SAI_0>, + <&pd IMX_SC_R_SAI_1>, + <&pd IMX_SC_R_SAI_2>, + <&pd IMX_SC_R_SAI_3>, + <&pd IMX_SC_R_SAI_4>, + <&pd IMX_SC_R_SAI_5>, + <&pd IMX_SC_R_SAI_6>, + <&pd IMX_SC_R_SAI_7>, + <&pd IMX_SC_R_SPDIF_0>, + <&pd IMX_SC_R_SPDIF_1>, + <&pd IMX_SC_R_MQS_0>; + clocks = <&aud_rec0_lpcg IMX_LPCG_CLK_0>, + <&aud_rec1_lpcg IMX_LPCG_CLK_0>, + <&aud_pll_div0_lpcg IMX_LPCG_CLK_0>, + <&aud_pll_div1_lpcg IMX_LPCG_CLK_0>, + <&clk_mlb_clk>, + <&clk_hdmi_rx_mclk>, + <&clk_ext_aud_mclk0>, + <&clk_ext_aud_mclk1>, + <&clk_esai0_rx_clk>, + <&clk_esai0_rx_hf_clk>, + <&clk_esai0_tx_clk>, + <&clk_esai0_tx_hf_clk>, + <&clk_esai1_rx_clk>, + <&clk_esai1_rx_hf_clk>, + <&clk_esai1_tx_clk>, + <&clk_esai1_tx_hf_clk>, + <&clk_spdif0_rx>, + <&clk_spdif0_rx>, + <&clk_sai0_rx_bclk>, + <&clk_sai0_tx_bclk>, + <&clk_sai1_rx_bclk>, + <&clk_sai1_tx_bclk>, + <&clk_sai2_rx_bclk>, + <&clk_sai3_rx_bclk>, + <&clk_sai4_rx_bclk>, + <&clk_sai5_rx_bclk>, + <&clk_sai6_rx_bclk>; + clock-names = "aud_rec_clk0_lpcg_clk", + "aud_rec_clk1_lpcg_clk", + "aud_pll_div_clk0_lpcg_clk", + "aud_pll_div_clk1_lpcg_clk", + "mlb_clk", + "hdmi_rx_mclk", + "ext_aud_mclk0", + "ext_aud_mclk1", + "esai0_rx_clk", + "esai0_rx_hf_clk", + "esai0_tx_clk", + "esai0_tx_hf_clk", + "esai1_rx_clk", + "esai1_rx_hf_clk", + "esai1_tx_clk", + "esai1_tx_hf_clk", + "spdif0_rx", + "spdif1_rx", + "sai0_rx_bclk", + "sai0_tx_bclk", + "sai1_rx_bclk", + "sai1_tx_bclk", + "sai2_rx_bclk", + "sai3_rx_bclk", + "sai4_rx_bclk", + "sai5_tx_bclk", + "sai6_rx_bclk"; + }; +}; + +&dsp_lpcg { + status = "disabled"; +}; + +&dsp_ram_lpcg { + status = "disabled"; +}; + +/* edma2 called in imx8qm RM with the same address in edma0 of imx8qxp */ +&edma0{ + reg = <0x591f0000 0x150000>; + dma-channels = <20>; + dma-channel-mask = <0>; + interrupts = , /* asrc0 */ + , + , + , + , + , + , /* esai0 */ + , + , /* spdif0 */ + , + , /* spdif1 */ + , + , /* sai0 */ + , + , /* sai1 */ + , + , /* sai2 */ + , /* sai3 */ + , /* sai4 */ + ; /* sai5 */ + power-domains = <&pd IMX_SC_R_DMA_2_CH0>, + <&pd IMX_SC_R_DMA_2_CH1>, + <&pd IMX_SC_R_DMA_2_CH2>, + <&pd IMX_SC_R_DMA_2_CH3>, + <&pd IMX_SC_R_DMA_2_CH4>, + <&pd IMX_SC_R_DMA_2_CH5>, + <&pd IMX_SC_R_DMA_2_CH6>, + <&pd IMX_SC_R_DMA_2_CH7>, + <&pd IMX_SC_R_DMA_2_CH8>, + <&pd IMX_SC_R_DMA_2_CH9>, + <&pd IMX_SC_R_DMA_2_CH10>, + <&pd IMX_SC_R_DMA_2_CH11>, + <&pd IMX_SC_R_DMA_2_CH12>, + <&pd IMX_SC_R_DMA_2_CH13>, + <&pd IMX_SC_R_DMA_2_CH14>, + <&pd IMX_SC_R_DMA_2_CH15>, + <&pd IMX_SC_R_DMA_2_CH16>, + <&pd IMX_SC_R_DMA_2_CH17>, + <&pd IMX_SC_R_DMA_2_CH18>, + <&pd IMX_SC_R_DMA_2_CH19>; +}; + +/* edma3 called in imx8qm RM with the same address in edma1 of imx8qxp */ +&edma1{ + reg = <0x599f0000 0xc0000>; + dma-channels = <11>; + dma-channel-mask = <0xc0>; + interrupts = , /* asrc1 */ + , + , + , + , + , + , /* no used */ + , /* no used */ + , /* sai6 */ + , + ; /* sai7 */ + power-domains = <&pd IMX_SC_R_DMA_3_CH0>, + <&pd IMX_SC_R_DMA_3_CH1>, + <&pd IMX_SC_R_DMA_3_CH2>, + <&pd IMX_SC_R_DMA_3_CH3>, + <&pd IMX_SC_R_DMA_3_CH4>, + <&pd IMX_SC_R_DMA_3_CH5>, + <&pd IMX_SC_R_DMA_3_CH6>, + <&pd IMX_SC_R_DMA_3_CH7>, + <&pd IMX_SC_R_DMA_3_CH8>, + <&pd IMX_SC_R_DMA_3_CH9>, + <&pd IMX_SC_R_DMA_3_CH10>; +}; + +&esai0 { + clocks = <&esai0_lpcg IMX_LPCG_CLK_0>, + <&esai0_lpcg IMX_LPCG_CLK_4>, + <&esai0_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>; + power-domains = <&pd IMX_SC_R_ESAI_0>; +}; + +&esai0_lpcg { + clock-indices = , ; + clock-output-names = "esai0_lpcg_extal_clk", "esai0_lpcg_ipg_clk"; +}; + +&mqs0_lpcg { + clock-indices = , ; + clock-output-names = "mqs0_lpcg_mclk", "mqs0_lpcg_ipg_clk"; +}; + +&sai0 { + clocks = <&sai0_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai0_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + power-domains = <&pd IMX_SC_R_SAI_0>; +}; + +&sai0_lpcg { + clock-indices = , ; + clock-output-names = "sai0_lpcg_mclk", "sai0_lpcg_ipg_clk"; +}; + +&sai1 { + clocks = <&sai1_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai1_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + power-domains = <&pd IMX_SC_R_SAI_1>; +}; + +&sai1_lpcg { + clock-indices = , ; + clock-output-names = "sai1_lpcg_mclk", "sai1_lpcg_ipg_clk"; +}; + +&sai2 { + clocks = <&sai2_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai2_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + power-domains = <&pd IMX_SC_R_SAI_2>; +}; + +&sai2_lpcg { + clock-indices = , ; + clock-output-names = "sai2_lpcg_mclk", "sai2_lpcg_ipg_clk"; +}; + +&sai3 { + clocks = <&sai3_lpcg IMX_LPCG_CLK_0>, + <&clk_dummy>, + <&sai3_lpcg IMX_LPCG_CLK_4>, + <&clk_dummy>, + <&clk_dummy>; + power-domains = <&pd IMX_SC_R_SAI_3>; +}; + +&sai3_lpcg { + clock-indices = , ; + clock-output-names = "sai3_lpcg_mclk", "sai3_lpcg_ipg_clk"; +}; + +&spdif0 { + clocks = <&spdif0_lpcg IMX_LPCG_CLK_4>, /* core */ + <&clk_dummy>, /* rxtx0 */ + <&spdif0_lpcg IMX_LPCG_CLK_5>, /* rxtx1 */ + <&clk_dummy>, /* rxtx2 */ + <&clk_dummy>, /* rxtx3 */ + <&clk_dummy>, /* rxtx4 */ + <&audio_ipg_clk>, /* rxtx5 */ + <&clk_dummy>, /* rxtx6 */ + <&clk_dummy>, /* rxtx7 */ + <&clk_dummy>; /* spba */ + power-domains = <&pd IMX_SC_R_SPDIF_0>; +}; + +&spdif0_lpcg { + clock-indices = , ; + clock-output-names = "spdif0_lpcg_tx_clk", "spdif0_lpcg_gclkw"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index b3d01677b70c4..6092d70b10b97 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -461,7 +461,92 @@ drc_crit0: trip1 { }; }; + clk_dummy: clock-dummy { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "clk_dummy"; + }; + + clk_esai1_rx_clk: clock-esai1-rx { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "esai1_rx_clk"; + }; + + clk_esai1_rx_hf_clk: clock-esai1-rx-hf { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "esai1_rx_hf_clk"; + }; + + clk_esai1_tx_clk: clock-esai1-tx { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "esai1_tx_clk"; + }; + + clk_esai1_tx_hf_clk: clock-esai1-tx-hf { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "esai1_tx_hf_clk"; + }; + + clk_hdmi_rx_mclk: clock-hdmi-rx-mclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "hdmi-rx-mclk"; + }; + + clk_mlb_clk: clock-mlb-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "mlb_clk"; + }; + + clk_sai5_rx_bclk: clock-sai5-rx-bclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "sai5_rx_bclk"; + }; + + clk_sai5_tx_bclk: clock-sai5-tx-bclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "sai5_tx_bclk"; + }; + + clk_sai6_rx_bclk: clock-sai6-rx-bclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "sai6_rx_bclk"; + }; + + clk_sai6_tx_bclk: clock-sai6-tx-bclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "sai6_tx_bclk"; + }; + + clk_spdif1_rx: clock-spdif1-rx { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "spdif1_rx"; + }; + /* sorted in register address */ + #include "imx8-ss-audio.dtsi" #include "imx8-ss-vpu.dtsi" #include "imx8-ss-img.dtsi" #include "imx8-ss-dma.dtsi" @@ -473,3 +558,4 @@ drc_crit0: trip1 { #include "imx8qm-ss-dma.dtsi" #include "imx8qm-ss-conn.dtsi" #include "imx8qm-ss-lsio.dtsi" +#include "imx8qm-ss-audio.dtsi" From patchwork Thu Apr 25 20:24:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643726 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2049.outbound.protection.outlook.com [40.107.8.49]) (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 56509153597 for ; Thu, 25 Apr 2024 20:25:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076704; cv=fail; b=C/e7xguWc3n+UPARQTRWPORR80OcAMYJhfpbn5hyLqPpBjpv8KsCXUPH60eCHqVezs9g3gmqjKnLBfZXqJ4hQx8KPy5EyWYrshnwRJE1wqzIqAAvGQxfICKsoa4c263J+aGDaURn48w/ZLGg77Qk/GcV/Uk1MN2vKQi3HAUPNIw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076704; c=relaxed/simple; bh=BksCUPkX5pso8erTfLwxSdrIzwnxLVEK9TqKxi9mY/I=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=uH6RgnAkFRmAEuWYTwC7RqiIadXCgWY7HPayf4Gu+OD022a6glQ0QXahQJerBy8pPo59+ZwsnbeB5UJyjLKxTUaTvRm+UwQzgZ4PB07a1K32MA8smTxBGifclgEpRsA/4icvdu2jhV8GRKHvZyhwbsROwvlbxcmYhiymLspCu84= 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=LTyWz1Ys; arc=fail smtp.client-ip=40.107.8.49 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="LTyWz1Ys" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KqbTboNa2Ok9VhiTX0nO0BeSFmLOgpA6fP9D2RS7pyjbBSsyn3ITEEwig90JnWMOndEl3C8oAvfjQzSUsAUCVQsXdifi0xIrtYlw6Be0PzJA6POCLAHyEZQMcxEAZgFY/5Qtv9MQwZkJD8GD3mZPrTj6Td/TPhXBh+gziJVXzCdS4dzV8hMP7m/2O0+6/w/kFxoc4gvlNWwHxUZ1f0qCmCJNEGxANrj5j5HiseC9K5OQpmm23/WPDv6X5+P9T45kG6cFee5TGhplPUaW+okwMgAdrlceRsXxyg/jeze+aoa5B27X5F2wMNveoDdkSH8HApr4lPXMbWXGSlhY0Q8Yxg== 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=+4hYBLAxRg/AcBx/aHMpSjAI/I+nLfEkT9ATv5cvK+c=; b=AtfxTwuXRChjhxfAkfOu2SoDLsTLHDmnouAlONw52cxrdtBGjQptr1Anf+NYeaQSXalK/klvUHA245hmVuYGOECpHXwvy364aAiQdOJ5smQFBj05RM1AhgGjICuc29RgJhiuxbtMsOHESQqy4bQd5mKLzrQDtcDScGGOlH7hhd7bfVtFGdZQVXTiqqgXIYP5AWgy1WWEI1Z7pKo4NJmBjuArOzDoFbnhpnawwllzodFIq3VrXVl/fR36XoJqDePlDv7mszl7mastzWR7vD2k8aMTJqVpEIaNBbf4kyg7Pi7gtLMfA4w4LDZUvxtXs5mczCvhvnh8H6b3CoygodVyig== 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=+4hYBLAxRg/AcBx/aHMpSjAI/I+nLfEkT9ATv5cvK+c=; b=LTyWz1Ysh46BWZXQo1djc/BhPw8RJpej+LOv0C8Pkn556aGzbTA7uUJY492Sns+qw7zCVURLKlxjazCsbUqeFLG/DnM5OY9gvumPsFMksm0FD9w+f0/9lqpOsv3Bf5Bip0PkBqMRDW1oWt0S72HGSBh5tQYAl6IXrF6WS1H6xxk= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:24:59 +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; Thu, 25 Apr 2024 20:24:59 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:39 -0400 Subject: [PATCH v4 03/10] arm64: dts: imx8qm-mek: add sai and wm8960 support Message-Id: <20240425-dts_8qm_audio-v4-3-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=5451; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=BksCUPkX5pso8erTfLwxSdrIzwnxLVEK9TqKxi9mY/I=; b=AWHZGHX9AreLTx7L54NOCWjvSi2rJgbtgAwnF54W3XshbRoiuQTkbZMMI1mQG/WRBiFrUmUTd sp1mxSGl/STAUM6DSnvxdtGGYH5w3kANCAqqJNyNsfx/yv2vPaGkjRf X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f33fca5-8ca4-4ca4-c290-08dc6565c794 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?JHBQEzSeoDGHg6jYCzzr3748aZrFVa7?= =?utf-8?q?17QvJbD/qxbEjYMnBs/iHYBEiiEqZ7vLaR8qLW55lIbN7CHC0aAw7tBRkLQTU8l5x?= =?utf-8?q?pPElWp5eaNZnedFGcFMEQQkNHvI78pv5xZbOfi9/8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I4R9?= =?utf-8?q?gpMAY9BHW5VF5/8glv3ixJOl2DiLsNAWpHNqNlv/H1sH/9efuUBA6ocL+AXW+nzk+?= =?utf-8?q?gUcBAcn9DLX1TUCGxvxiAiSU7MZHgg0SZCcvnZ+u8DhWRKv6Ctw8sBwXLxQx7JBBb?= =?utf-8?q?vXRtLXJBxJipdy3lPJdnkSGS1iq6blNX7Zr8tsgXYO1vr+yPj6MK2NEkQXujxvoZZ?= =?utf-8?q?bPti7gztA5JuFhJuDL5ZyVhCyg/vOi4fWpdfxVDTm9ushM2+D95+2BR2sA8hdQ+h4?= =?utf-8?q?hoHlEZWMGi/CMGF7kZo0IKgApu6dxo8Bg0A=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TST/InLPylo5SiaOedKdS8aEYIY+?= =?utf-8?q?0wDWMtbjlVzK6/bOOIEaw2rL/kF6BY+mHfAejnHEIwKPLNIHL3UBH+9jaQ0uZE7Ly?= =?utf-8?q?ToRTyZcaCUXmabziV7APmzuutMxnOKXskv4+FgQHmm4mY/OdCmKOtVnjtc7W5X9PN?= =?utf-8?q?FgrIGnM0/eAQnh11B0hI+kA87oOhvgRMGoAooZW483hlJsLfUPLl/awBsq41/PeE8?= =?utf-8?q?iu5lTqvY3jZFQS0U2PM1nUqZirKh+VJQXY0dJzQYydDBItq4xkXS6nEPUUm4JaSJI?= =?utf-8?q?1HMGtGNoTa+mj/JiGFwxnxno5bohBs/w2WeZI9IGnyAF2sKCBqOKxiqYKhlbDjiT8?= =?utf-8?q?7/qCkSbY+BLI/SkQuztWRxnFF/MzXj2UIO0KXoUp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NlRatUrH3J0CPD0C?= =?utf-8?q?oLt0vGObd7o7P4GyXs8y0XU4xO7I3k3uZfO1xkJEi4JRvXrW75yYeU2B61sr3yow1?= =?utf-8?q?ODlZlFzvNOxRKHWy9pP9lhO0yDAHE25Lfk0mmXZhlm0lOnjF37s6/Uldf5rvT25Vv?= =?utf-8?q?U3LE9S0nYy794mx6DaROpGBZUPyoj0IzX0Adwkh0hcP6iTG/gWUA9hgyMYwDH6enR?= =?utf-8?q?3KUp/jdt6g3EAyrPNYeF6bPtMDLr51IOIk5gSZQXlctxF7jOcV2ngbPisG7o8klfK?= =?utf-8?q?Gvyy9/li9MsB?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f33fca5-8ca4-4ca4-c290-08dc6565c794 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:24:59.5026 (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: yyyeij3LBk4S7Trm6ZdxAd2MslL6Lf8wwSu/mkglN8xrUVoqz+iPVFI4/fPLR8WIPFOCojQ66ND1OYDChyp7AQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Add sai[0,1,6,7], wm8960 and asrc0 support. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 139 +++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 5c6b39c6933fc..6bdda248179f9 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -46,6 +46,46 @@ reg_vref_1v8: regulator-adc-vref { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; + + bt_sco_codec: audio-codec-bt { + compatible = "linux,bt-sco"; + #sound-dai-cells = <1>; + }; + + sound-bt-sco { + compatible = "simple-audio-card"; + simple-audio-card,name = "bt-sco-audio"; + simple-audio-card,format = "dsp_a"; + simple-audio-card,bitclock-inversion; + simple-audio-card,frame-master = <&btcpu>; + simple-audio-card,bitclock-master = <&btcpu>; + + btcpu: simple-audio-card,cpu { + sound-dai = <&sai0>; + dai-tdm-slot-num = <2>; + dai-tdm-slot-width = <16>; + }; + + simple-audio-card,codec { + sound-dai = <&bt_sco_codec 1>; + }; + }; + + sound-wm8960 { + compatible = "fsl,imx-audio-wm8960"; + model = "wm8960-audio"; + audio-cpu = <&sai1>; + audio-codec = <&wm8960>; + hp-det-gpio = <&lsio_gpio0 31 GPIO_ACTIVE_HIGH>; + audio-routing = "Headphone Jack", "HP_L", + "Headphone Jack", "HP_R", + "Ext Spk", "SPK_LP", + "Ext Spk", "SPK_LN", + "Ext Spk", "SPK_RP", + "Ext Spk", "SPK_RN", + "LINPUT1", "Mic Jack", + "Mic Jack", "MICB"; + }; }; &adc0 { @@ -55,6 +95,15 @@ &adc0 { status = "okay"; }; +&amix { + status = "okay"; +}; + +&asrc0 { + fsl,asrc-rate = <48000>; + status = "okay"; +}; + &i2c1 { #address-cells = <1>; #size-cells = <0>; @@ -65,6 +114,21 @@ &i2c1 { scl-gpios = <&lsio_gpio0 14 GPIO_ACTIVE_HIGH>; sda-gpios = <&lsio_gpio0 15 GPIO_ACTIVE_HIGH>; status = "okay"; + + wm8960: audio-codec@1a { + compatible = "wlf,wm8960"; + reg = <0x1a>; + clocks = <&mclkout0_lpcg IMX_LPCG_CLK_0>; + clock-names = "mclk"; + assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&mclkout0_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <12288000>; + wlf,shared-lrclk; + wlf,hp-cfg = <2 2 3>; + wlf,gpio-cfg = <1 3>; + }; }; &lpuart0 { @@ -160,7 +224,64 @@ &usdhc2 { status = "okay"; }; +&sai0 { + #sound-dai-cells = <0>; + assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&sai0_lpcg IMX_LPCG_CLK_4>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai0>; + status = "okay"; +}; + +&sai1 { + assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&sai1_lpcg IMX_LPCG_CLK_4>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai1>; + status = "okay"; +}; + +&sai6 { + assigned-clocks = <&acm IMX_ADMA_ACM_SAI6_MCLK_SEL>, + <&clk IMX_SC_R_AUDIO_PLL_1 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_1 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_1 IMX_SC_PM_CLK_MST_BUS>, + <&sai6_lpcg IMX_LPCG_CLK_4>; + assigned-clock-parents = <&aud_pll_div1_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <0>, <786432000>, <98304000>, <12288000>, <98304000>; + fsl,sai-asynchronous; + status = "okay"; +}; + +&sai7 { + assigned-clocks = <&acm IMX_ADMA_ACM_SAI7_MCLK_SEL>, + <&clk IMX_SC_R_AUDIO_PLL_1 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_1 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_1 IMX_SC_PM_CLK_MST_BUS>, + <&sai7_lpcg IMX_LPCG_CLK_4>; + assigned-clock-parents = <&aud_pll_div1_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <0>, <786432000>, <98304000>, <12288000>, <98304000>; + fsl,sai-asynchronous; + status = "okay"; +}; + &iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog>; + + pinctrl_hog: hoggrp { + fsl,pins = < + IMX8QM_MCLK_OUT0_AUD_ACM_MCLK_OUT0 0x0600004c + IMX8QM_SCU_GPIO0_03_LSIO_GPIO0_IO31 0x0600004c + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < IMX8QM_GPT0_CLK_DMA_I2C1_SCL 0x0600004c @@ -256,6 +377,24 @@ IMX8QM_M41_GPIO0_01_DMA_UART3_TX 0x06000020 >; }; + pinctrl_sai0: sai0grp { + fsl,pins = < + IMX8QM_SPI0_CS1_AUD_SAI0_TXC 0x0600004c + IMX8QM_SPI2_CS1_AUD_SAI0_TXFS 0x0600004c + IMX8QM_SAI1_RXFS_AUD_SAI0_RXD 0x0600004c + IMX8QM_SAI1_RXC_AUD_SAI0_TXD 0x0600006c + >; + }; + + pinctrl_sai1: sai1grp { + fsl,pins = < + IMX8QM_SAI1_RXD_AUD_SAI1_RXD 0x06000040 + IMX8QM_SAI1_TXFS_AUD_SAI1_TXFS 0x06000040 + IMX8QM_SAI1_TXD_AUD_SAI1_TXD 0x06000060 + IMX8QM_SAI1_TXC_AUD_SAI1_TXC 0x06000040 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 From patchwork Thu Apr 25 20:24:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643727 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2049.outbound.protection.outlook.com [40.107.8.49]) (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 6BDE2153597 for ; Thu, 25 Apr 2024 20:25:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076706; cv=fail; b=hxh/G/IW+RvEF1P6D6rVwkuWboPeGQGC+BwpV9ar6YmwPH31TI9xXtjC+jfx9IxSD76eWwLcuMuqg6FmqQB2qjsOGLzeoEouSSJ5jkLKVmZXEiAZv92EoXZM5wRJiYcEJuCAvt/EB5NLgr6azCnY9BySd2gabyjEYV79+LtqSZ8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076706; c=relaxed/simple; bh=9fmIJkFw0KfxOK2DM4bhQ75RCjeHF50mZasUegU6tNU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=uvJ6hOQBoCup8HIcmJjT1R8CuRtj3C0jpBp1tpTIjjt+9Mjgq7J2lEF8qsR4v17EeC6A4Vtf13Hz0nBZlrdYPpzlZ2ntJwaEuCiZqf9q/ZzoJGqmSofhJHzYkKu1plF0X4EvZ4gLGDE4VZVDOGC7Sd+bW5p/kadj77Rbg6HYoXg= 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=nKrOc+jj; arc=fail smtp.client-ip=40.107.8.49 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="nKrOc+jj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gs6tnYnliLtiWndE/mPc85dhMU21hYnnfcr+O91+SOEmJU0cGI+3G2YSwmRyg4zNRmDpwqe7V5mt+Vx/YTd9HrMtkEAlddakPMDFfHfEBcx3Gxb/2ppgGmb/hY/tpbyoBkuOJeEmPfKx62banoJfOHS6o2dLNKcIKc0Tl924+TF74NH06vqy3fAUDROPZ5wdGkjxMSLiv2cuF3UlAJ0tjvG/9s1uAVNDMNuWJLeaO5Rm/aDqxCrYtoAmKkmFEkksFMyP675gI9Us2QVPkvsebky+4aQY2O03ymRl0htH92XkwkdSnXKfJGpX7CtIk+FFHKlo5ZoVlpl/KMzREieBTA== 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=yCmlxCGGOsWaHIEylor02Ed86ZbePw2LfOO0jMhY+z4=; b=k2YPPWrbyomt2OGq7c3FMwYhuMnzelCnc6yylh9fyUSMSRKFXWAai95Je79iix3GsqAzqGdYEK9ngFM/+AgfUYtQ4rikrIr0H3IKXB+oBkbsr/Bt5SasxMyQptusSbSDbnADbP8UQWvpg9E5konQsvK9sR0pVxjUCImQqGCAISNVk/THA4d6R9Y5OFd5qibeW+8Rd6Z5pnD2W24KtPuN2g0CnYd/t4waMHM93qq4g0n7yZCLdyYykYwUQeTPwPKMu+ZSzIOGoHeqNIP8DJ1vxBQBwUZo2hpivXvYb+R1adRsd0/2ra985FKxX8Bh9XUEhVRfyzuCtCNQnSXlPJCsNg== 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=yCmlxCGGOsWaHIEylor02Ed86ZbePw2LfOO0jMhY+z4=; b=nKrOc+jjgAtGLo6EknZxTnV+1UoUCAjLwhMi3ttPf0KeEo8PZ3GxmhBynkCYkIsemduQDaK+F2eEQSPaQIT/EWO16tJbJMIQ9LN8/LjzV1yYk0v54ZzkWoCXE7LwjyXphoHYPVqMJgXzz3S+j26rJFWT0anKHNZJpQwW6nluyXk= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:25:02 +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; Thu, 25 Apr 2024 20:25:02 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:40 -0400 Subject: [PATCH v4 04/10] arm64: dts: imx8x: add cm41 subsystem dtsi Message-Id: <20240425-dts_8qm_audio-v4-4-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=3140; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=9fmIJkFw0KfxOK2DM4bhQ75RCjeHF50mZasUegU6tNU=; b=a/yLUJqNNeXsnS1259tsnWxvqbXJrUFOqpGP1+iakAFeg0ZVgcHzltqRtwQf5L5pvksnNvd4v hrUK4eFOLEaCIm0O1gzPpU7/IyTD5ONAqZAhOmN2F4HtLvpwenKOz7c X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: ba09da5e-5d4b-45ba-7c06-08dc6565c967 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?yeyq2wvj03ObWtDXJvZn0w/bZT29fJB?= =?utf-8?q?E+Nt78nh5wQyAEwmez8N645Izn1inl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xj63hD6DNkW+vt1Al3Zy2A3LPzrvWwa?= =?utf-8?q?iJSUP5V8Y/8VLphWUOx7skqFVIel23BW0OVWJZfEZI0wT3c9PIVsq2b5WCjvN32Qf?= =?utf-8?q?KYs6Ae635Z4kpBKf+8i0FYt/pSkAKA8DrafWmTHu2yNPv3XHgVdmyl5g3E0GP1lxp?= =?utf-8?q?XqpzkqHELsBt8KFh8g84oT1Ph+i5UGTvdXZLStJD4PUVmFYCDlFPAV+QvumPqNGbw?= =?utf-8?q?aV86gvafoZ0i0VSMgBQ6uBFUw16BAD0omdeKAxxr9eIROPQyrpnMCIoSM6q5+mwNe?= =?utf-8?q?wMpL7039xOYt7V2tGLQM91EgyHOhW6H3wTtFjTcH8kAioL5rcv5SDwHZB0rTO/9vz?= =?utf-8?q?dpN93NH3nh8qAo9CCdU00bPpsRVTD9Rh+YA=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?iZ6icTqS7GOsm+szbUAMRxOeeAP6?= =?utf-8?q?Gtx9ChCggBEthxC+SK+EEh2cjzONqfFr0GNXgGtX5elrSptmxO5GO/RhDw96FEPZ0?= =?utf-8?q?1zPUBEi7WTqnp3weIMKk4pwXc/+ZiiNla7jqN1gHtO2h4Z9V4+li9DmowmY7imxKD?= =?utf-8?q?luTRNa14nlE2p85jIjZrODBnHg1f+443Paqoa5nF68Qx5XPr8pjSJDzhbrlg3eLuB?= =?utf-8?q?rqkiP9JqaVEahwLDASmGnBLSBJx5bKF2bw5GYcJTMRM3YeJ0NzGFkHxkmV3vaoEFv?= =?utf-8?q?8zFZlweaP46XNiWq8Yo3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a9fN6tj5r4cXFBDBH96GZdRKLrjpHQopln1POZzHe1tT6qoC4In?= =?utf-8?q?Z61Jom4nETMb04yTXiJhyroFOfs6sZAEk9CuCmlsXCTHEXDQ8qra3MUWH7Gw0O1r0?= =?utf-8?q?eqByYCA/IszxTJsGonjy9oGWQA3YpxzwbO5FMv2v2BMPMyznz2glhHe1XdkHMLhTK?= =?utf-8?q?dbAeTN2ZcF87EsUfas6hKQKuXqO1IZ/q9EENCH4qI3nlXBaklPlURRPZoZW1vjcqz?= =?utf-8?q?ktvMaXbcqVOullss9E9a0L29BKe3+VPfW8fwqtuj6SmCEUBknLWggqtTM5lifwNWT?= =?utf-8?q?C8b/IbV+vpf86MCkiacTpV+dP6ADVvtRxvK8PLs/zCCwPaeKj635mSNZljvJlq8N7?= =?utf-8?q?aJ+BHZaZo2ol?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba09da5e-5d4b-45ba-7c06-08dc6565c967 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:25:02.5653 (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: rFZfG/YXDJ6HjFtoxH/B6tsiOsmjzyjC+Svm4IQcwdSfjQUuAonhhG3q4ZN86yltuKLLoE/5+jcQIgJvPyrjgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Add cm41 subsystem dtsi for iMX8X chips. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-cm41.dtsi | 68 +++++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 1 + 2 files changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-cm41.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-cm41.dtsi new file mode 100644 index 0000000000000..d715f2a6b0378 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8-ss-cm41.dtsi @@ -0,0 +1,68 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2024 NXP + * Dong Aisheng + */ + +#include +#include + +cm41_ipg_clk: clock-cm41-ipg { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <132000000>; + clock-output-names = "cm41_ipg_clk"; +}; + +cm41_subsys: bus@38000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x38000000 0x0 0x38000000 0x4000000>; + interrupt-parent = <&cm41_intmux>; + + cm41_i2c: i2c@3b230000 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x3b230000 0x1000>; + interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cm41_i2c_lpcg IMX_LPCG_CLK_0>, + <&cm41_i2c_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_M4_1_I2C IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_M4_1_I2C>; + status = "disabled"; + }; + + cm41_intmux: intmux@3b400000 { + compatible = "fsl,imx-intmux"; + reg = <0x3b400000 0x1000>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&cm41_ipg_clk>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_M4_1_INTMUX>; + status = "disabled"; + }; + + cm41_i2c_lpcg: clock-controller@3b630000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x3b630000 0x1000>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_M4_1_I2C IMX_SC_PM_CLK_PER>, + <&cm41_ipg_clk>; + clock-indices = , ; + clock-output-names = "cm41_lpcg_i2c_clk", + "cm41_lpcg_i2c_ipg_clk"; + power-domains = <&pd IMX_SC_R_M4_1_I2C>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 6092d70b10b97..8e94ffe1acb57 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -546,6 +546,7 @@ clk_spdif1_rx: clock-spdif1-rx { }; /* sorted in register address */ + #include "imx8-ss-cm41.dtsi" #include "imx8-ss-audio.dtsi" #include "imx8-ss-vpu.dtsi" #include "imx8-ss-img.dtsi" From patchwork Thu Apr 25 20:24:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643728 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2049.outbound.protection.outlook.com [40.107.8.49]) (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 BF00E155A2A for ; Thu, 25 Apr 2024 20:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076708; cv=fail; b=ORIPpe5pMA+AjdM0sIQgNncYxrN83PrCS41O8imwnlfYaWHQ1GiPcRS8Soh3XGNBN3IONgAqXPmP5bNr5QTOo5xu/JIrCcLdkYiXZ3yMErZK66Y8RNZDorN4CwFTNJbE3G6ytWqZUgHgYrvN9BVvRlGTUjokSmvw0uQNZozvlTg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076708; c=relaxed/simple; bh=KUsw0dhMkFj7qR53hs2zo3pJcSwNFRAfIdjGrecPBoA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Fk89JZysHrUFIygzaFMU4MUcLV2hfjdP03rLM0NQ2fA6uNo40rDtqZemMzXWu28W7HcD8TCz6wja/ZsDKY6yJv+UfHbqXVxm0lF/sN5QfMkb6LXH3/Ku+YxXu+EZuBhN8d0v94nhSvpl/7yFSNcyJNzWgMYfDW+Yey6B2lGThLA= 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=SX6Afvcs; arc=fail smtp.client-ip=40.107.8.49 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="SX6Afvcs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gf9JUlGKHKTOxs1m+5PK3DR01aWlwJX03PUoA3Cy2IhJU5H7n7CO4KcJ9D+WWvklXAj6SRO3K1CxkCmpaAC20YMfLpXe8656KBlpHAUVy38BH61wxWnFKk9c1Q1CW4Ku29JnOfJm9c8NOppeLANpsYtuxPwNDUt57PK4aaPVc2U80p/MWTXJnSu7GVu10w8LeAFWO3Q5fo2g2IupQlD3MUzy2WhsXIU4Dtu5g0AnmyOnRDxM59+8Egs6/maWyBM2Zb4SBqdp9+lwCI/TLGfdOdXNcJI4hGGTVLBBAKe98KAy1Fvlw4AITrK5qwJexzoJLndJt7Y3gGLvLaEYOg210w== 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=Kw7HMSGRKHTkZ7ZB98kmLpuy/Xb3D48kuCuPxQsFlcg=; b=elRP/MxoLMyQuwgazdwDjXthMpvY/bidJmMIeOWh4Hl5TZx8KXsyBn2GvnlnSpUyBuDYdFx/uC9/A7TepSc22t2Qw6IO1iyIZvAgLf55N/iQ4RSAsG0Y7ZlgMUSYCQxASGvmsid4hMnl02HIKtM+OfJKkQE55m1iYtljHtfuTp29wrc1dSF1lsi2T0FZlGM5d0L7uhIkgf7w22hruZErnnAj5gOsKBMyxTfcylvqYTsfEX0FxmgMBlkKFEdTkbc+tCn+BVgPa9+6TPIc7Tts760GLJp9QXSDqF0ii73jJndZh7QsOgc6QWV5WRshNGa9qcR3Mtxzm4uF14dgf0nhIQ== 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=Kw7HMSGRKHTkZ7ZB98kmLpuy/Xb3D48kuCuPxQsFlcg=; b=SX6Afvcs31d9MfS2u8aMXz3sHIIEcLcjUQftX1rssVR6IA0Zudv5Mr41R2BELUfrdstoYZDAtyZQaQfKC2GvXZgXGM0op2eokKJKP/rvMx/idpysnzz6Z+rheafKoq5Bm97T4Vxx8qmtBU3xjM3lf98NLmDOTG3CrBYD1684+Mc= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:25:05 +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; Thu, 25 Apr 2024 20:25:05 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:41 -0400 Subject: [PATCH v4 05/10] arm64: dts: imx8qm-mek: add i2c0 and children devices Message-Id: <20240425-dts_8qm_audio-v4-5-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=1737; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=KUsw0dhMkFj7qR53hs2zo3pJcSwNFRAfIdjGrecPBoA=; b=tckHOsj0m8Ns8mhmK2ycvKCnuyxGZsGhUkVNRw90zsM14+mFkf94WbdUKYiZh07awdsaEqqk0 Lsv8Cal22uiAl/Io8TzbOkgfilcthiHwVXcjFzh7FoflBX2W+YsCeSU X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: ccf4fc80-bdf1-41d8-696d-08dc6565cb39 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Og1hnZ8DBQyXfO1ZNBbpY92rRFe/lC5?= =?utf-8?q?kInWboHUOWmjoWyfIWd8/Tusm9Avomu0mApFGEBqTOj5dSJC6qy0ZaomGU9/dv/ce?= =?utf-8?q?7umAk/uPBnvkQm+KWn5rfVPBl84wYmFR3Skwab6uUnmGRMpYkPeusa3k2yXbw6Yfc?= =?utf-8?q?SB/83kw+5Pq6rbef2XlAG05OR2YVMvw12O3x8aXFT+JvL0dMxgVk1jluSlRaZ10Pl?= =?utf-8?q?wUt+97VIViY5YljilTpzOO2GM31VhUTKzltHsA4LziBbcSzg5/A9f7EDiWH+gGiKe?= =?utf-8?q?JfdppsE48M4JTP21dxRFTTB8+6qQAPBsq3WZ6xwcBzWVFXn/TAjW1TPwxNZpN5F2T?= =?utf-8?q?DbkoFglcnP0mkzRb2NdrYP+1/RNDmLWzxKKgyL50UJxQWFu8hKNwhrYyghneqV+Cd?= =?utf-8?q?Wmv05l1aXgEwkMtOgGma3jm3rMRDBRA0RDldgsVOI5Ng/2jl3KnHpNbQ+PjUwXCqH?= =?utf-8?q?qktAA0PfpWHb7sttiHeRhRzwKAB2jcdOFVV/3wZa0hRPBWNzx0lnA8FmrRIv714yW?= =?utf-8?q?rlh4SnhZRlA/gAtBHviR9LiCQvcIwR/iYOUViMiH2E3l7OlFYKG6IxAzVh/NUW8Mv?= =?utf-8?q?YW4oixNeXqXONkVBrMY0d6j2u4HSzobs2/i2A0X7r51D/pweTXyBLMrqks/5+L+xH?= =?utf-8?q?Ff5Q+KEABQAJDfghHLfVNsBFwWKt5kwxPtv+Cpoluy5z1hHDuEt9SRmo6nmGhT6vK?= =?utf-8?q?EfXqBwwUoxB0ywwVuaFEC3oaNV8MOEF8+W/8vJWOCzFqyjtHcN899+vjqspzsaspZ?= =?utf-8?q?JdwmEnIOZq22oJ5374rfsE0OzlPj8TZmTUQRJR9QkKRfS+JPJstbz0UNWpyAsqGkb?= =?utf-8?q?12QU8mtpESXH8am8l6A1QrWUlsDENcFPJJNZo5eYAAWeXbk0cWIpyQsh1XWWit3QY?= =?utf-8?q?a8y0jxCK48DQsSgh7M/HeVJLXxNal3bnoI5Up0f6A4Mjv21uAoQYKSS7p69DJxPpZ?= =?utf-8?q?6oyeFs2DsVnZ5uzNnXSzurdgXRZeGiq5BjOXgGC3JU/6oGvcnupbfjmu3zRQEPyPn?= =?utf-8?q?EMq2qPDloikYjMQE0mpYbj07KTjTWB9sidt4m48scaLluxS1xhJ0EMxRXMheAStrx?= =?utf-8?q?OiUWqam9j7kJStWevYmukRvsABOgVM0wZyFdcKEgb46mmaMaThvZgzLrOoxChfFV4?= =?utf-8?q?9V48n2umhzb5Z7p2yeF9lx/ZGUaoz2fOJ784VUHqFbhUlF7lWcdASLsOgFnJwUS9s?= =?utf-8?q?1nqwnEOhTSPBZVwYcq2FT6wTr9lHNXcjB7Sqbs4aHJrc761CJovQd6rmKpM5IXyGq?= =?utf-8?q?R+KPx7hnD4R1TBcrfrV0f6r9UVUPja0yT5g=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+oSFFpkWkV4SlEzf8rwYq2qvSSLn?= =?utf-8?q?HxCKN5s3V7EGtsjHu367kWfwnA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qLNp/vi7Hx3zaYPakhB3s0qYHcgyH2JNlQVZF?= =?utf-8?q?vWpBuAIy1pXIju0ac/ykfsMDMKeG+GucbAPT8QTcKM5VT8LAPzxV8QKzFVLqiV8qD?= =?utf-8?q?s83wVPx2rLdfRcNbdF1/727TMUFka/jj34GzKdVqwrLHXl7oGiIl/SKYDrPFPewmO?= =?utf-8?q?Sg0WSm/HL40bnVzHrqS0ED3IJiClyYdeIa6aMP8e8MMPvr+NQEO52Hfc5HI9qQ40k?= =?utf-8?q?AnBVd+CVF65qZemGPcDWYT9dBMjjWECBwWuXgf3JTFHYQ8XfLDJobmHZmhfM4cQSv?= =?utf-8?q?BG3o6q0FvVL4GAwhyTilLZ8Qnc2SEw2U0kFvvhT2iJ1mypOFhGYJAxvalXym2QRlS?= =?utf-8?q?HYFUlU9GhRy25jfk49lipRufrQryZN+CKbsKEi6ldU0b0TP/sHQPgpJ2LBy5uUGAc?= =?utf-8?q?dXr1XrcI1+22prMqWoVT2+wXm2a9aYV9LNYHE+nIKgXFmHsB/gGFIfc5sZXkieDpE?= =?utf-8?q?neBVsHJ9wnx6xxz9YzVkhv+sGicAIVu0Ljwl06A6ksMAU+N0cl3P/sTDojkuwvrJp?= =?utf-8?q?wPV9m+K/ZyqJKRftalr3DeMzF7djlLIqGALvAizFpGV5hJ+oSkAPiIjYVDKTM2t4D?= =?utf-8?q?iT1OtrRfLVwr?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ccf4fc80-bdf1-41d8-696d-08dc6565cb39 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:25:05.6130 (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: 9w+CzfWtcPSytb6lofWYrtMW7uBetsAcT1WIVBoKVcP1zFNPWcISQYxMUJe1pivwmvR2rzdvgcWOSodd80tOKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Add i2c0 and all devices under it for imx8qm-mek board. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 6bdda248179f9..dd9dd3cb7d47c 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -104,6 +104,49 @@ &asrc0 { status = "okay"; }; +&i2c0 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c0>; + status = "okay"; + + accelerometer@19 { + compatible = "st,lsm303agr-accel"; + reg = <0x19>; + }; + + gyrometer@20 { + compatible = "nxp,fxas21002c"; + reg = <0x20>; + }; + + light-sensor@44 { + compatible = "isil,isl29023"; + reg = <0x44>; + interrupt-parent = <&lsio_gpio4>; + interrupts = <11 2>; + }; + + pressure-sensor@60 { + compatible = "fsl,mpl3115"; + reg = <0x60>; + }; + + max7322: gpio@68 { + compatible = "maxim,max7322"; + reg = <0x68>; + gpio-controller; + #gpio-cells = <2>; + }; + + gyrometer@69 { + compatible = "st,l3g4200d-gyro"; + reg = <0x69>; + }; +}; + &i2c1 { #address-cells = <1>; #size-cells = <0>; @@ -282,6 +325,13 @@ IMX8QM_SCU_GPIO0_03_LSIO_GPIO0_IO31 0x0600004c >; }; + pinctrl_i2c0: i2c0grp { + fsl,pins = < + IMX8QM_HDMI_TX0_TS_SCL_DMA_I2C0_SCL 0x06000021 + IMX8QM_HDMI_TX0_TS_SDA_DMA_I2C0_SDA 0x06000021 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < IMX8QM_GPT0_CLK_DMA_I2C1_SCL 0x0600004c From patchwork Thu Apr 25 20:24:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643729 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.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 1A68A156880 for ; Thu, 25 Apr 2024 20:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076722; cv=fail; b=pq981B7ndPrMuYLJWdI1jiN24nX7oTSDLQDAau29F+0Bso4WvyYJP+bT31yGYIGIHc6zmN4ruTYyAfI+YMT+qa/nEdUaoI+O9fJl7yvh7PqICFggQQh4qKzykqw9OOOmxJlwlIKKqG7uuDqd3bFxisgV1rJnZ10Q3bE4BunJ8cU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076722; c=relaxed/simple; bh=B7Nh1K6fH5lap/DYtq4PngWnZFswFEAuSD/w/w3Kb1o=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=GYJ121+on27B5lZG9m8yDLJU1VMgetpWDb11/pdy1uqc8hKQxT9Tma7cGWLzg9IUH/su18Dv34CpVy1JE2k+6+W8MCD69JlUhTAcpsJ2loDbdwCfOrwC0n0QcE2XT+//khPSkvJ+T6a54C2F6bIBOJDiPndJFq2U5M+2+jawjVA= 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=oaeIXI9G; arc=fail smtp.client-ip=40.107.20.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="oaeIXI9G" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C2X94zcSa1IVKOoeZweoPM0XF2sOeC7bF3aOx09F1upZiOR7zMFHXHhg11oLN0TEDyt0csNWZylAF9owZsAxv1IonIErV66/Fji+BSeV1VPTj7Y77nOBBOsRRKJQGcpkB65B6g5g8m++8RbrmErvCgHi/JV5NcELx9CtpPWW9b4in9Lu49DpUPOPaBUqap1YxXuPrxJbIpGjd+qOkvx3le7c9oX2ucnRVgJYHed0HYemvWKV9OW6I7ycK0dRg1B9htCdvmY3WpYvcOJTYEoxTR2+kVN5J/HjYirTxD3FExWEmR6d3mp/RP7fi6jaJ1YoCT0W7P+lVFVWRRQ0ISYLag== 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=G/F5fwrIyb3wOOZMN9+AtpsorSlVS80TwRyoDyHcj64=; b=nldCZhlPW/O90HdIFRYgQYsXF0WbYEFPH95SMaFItGAoELkTB9sMSH5NfZ+tI6tV1+zdP85eNzUgs/bjjx055Far4f/5f2N2ns4e/csydaXtPBJG8DlMhR4X2K2w6QX3k6DOKbUYuW39u/vjzFdTtlTgiRu3JXD06ORxMkLkqIJ680QLfe2qbvHHqgrgjyO3/e90TK8Q4U0Vb1gDuTeDfmDhQv310v4WDE0q76nWeDftbuNWLzuolZ9YTabdO4U9PYoc9j20EkBqEBrXHNhmZZ8+1zPLArIfT7H2oalXFsA1qoUnL8jGrqPiIxziYfBh6Jj97/J34oADycp1TDr6BA== 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=G/F5fwrIyb3wOOZMN9+AtpsorSlVS80TwRyoDyHcj64=; b=oaeIXI9GF45o6aMh8YhxYolQGNycPkAb5ToRA9X9qFDSzxVfC38mCOH0RLdQwv1CDyFvWoc33c2IRPZjoYwJyMDx1dYF0JVkig82SVjUzAqczpRxYjNsceTBsYHN55T7gBsXOXGCtmGyIkiBHVZ84EXSQtbr9PxjLZDYeR84R0I= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:25:14 +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; Thu, 25 Apr 2024 20:25:08 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:42 -0400 Subject: [PATCH v4 06/10] arm64: dts: imx8qm-mek: add cm41_i2c and children devices Message-Id: <20240425-dts_8qm_audio-v4-6-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=1308; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=B7Nh1K6fH5lap/DYtq4PngWnZFswFEAuSD/w/w3Kb1o=; b=3wn+5kf2+OV/5Vlp7XaO6oWBAJKB1LspSRnPYr4xgJQHUZHmMi6IFJAtYUT1Z5B7m0vwnwB++ q7Cna4rSi/cC73QxgrVol+mnU8CZSIpZLhWDzDf7ebCci42Kk+yc6Ko X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 9904bb1d-155c-4fbb-47c5-08dc6565cd0a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?76Plgqg5fY5auYUuxHXONYn+cPQWpFU?= =?utf-8?q?z7LxTU4iaJ8X4M6Db3DCREIe5qvqAsQYQ6dtFaRnNNmpxkjnrQpEn6o0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b9YqM/kjm?= =?utf-8?q?UGnSRJmPQpUbfqelo6IN0HQc7LqoPWjogXNVVjPUHVyQncpdHSuz3CBKGel4ukBpl?= =?utf-8?q?8OvZC50etVjpYruoIMbP18Oz3wMHwu4Wuep2Rr2/VaQJMqWT+mYOagxOACi/OXwoC?= =?utf-8?q?W5sH1LBkrp5OovhYg4XXwT9KWs8647WHzpcVblVciAkj0fbBGBTevR1vxSTz8x5Ja?= =?utf-8?q?nIMga5CilK61CDRH3XLG62h2BwWOBeOkOznEZp0VnfFlDUJHpUuhpSeAQaYK9VAJM?= =?utf-8?q?rAqelk1apVIC8Js7zhXkO7OdeD9froyIGfIagwzLstr8So1EcX6rMQYtrQZjVlU/A?= =?utf-8?q?LZxr30vkeM03weRWRzoNiy049Fnll1J1lKw=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2wm2Ha+7MYM+zwiBq/TLx0HeZuhi?= =?utf-8?q?SVrvziQFdIQrWkD/yEL0ulQTPXU32VwVxPh8HC8zlMjJdGJclnPGdUfGYM+08QInP?= =?utf-8?q?/rTliaMdF0Wap6B/3DlD4U0Z8IUqGtBZeAav1UqsOpVBvDbg3/fypIZFMLytiu7zu?= =?utf-8?q?1bxQLrEcGm2pqr6APB75eOdhaifd2BQ5QmxhWhATmYqFem9FblEBvaC1roFSIx0ff?= =?utf-8?q?qa+gpxKZ5enuTe58j5OlakCO1Svi3M6kIvPplPIhD7xdYmFNyOgQhZUFsAsG1DXZ/?= =?utf-8?q?PqsQXBkUlo/RHZXhGuqydgUakGvwoTRiMhb+09tUWkZ9iaajMlB3InMCJ+62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J?= =?utf-8?q?1qhlFAjXkMDvBhQc/DR6qzEJEGinvka8+u13rgtTyxJeoEuBvF3maDZ114EQZu9HC?= =?utf-8?q?DbvDUvxovm2bsus8kyoVwZd5x+MBrAz5z1Db1LO4uks+kNz+XP51jnzP3IZ9D8Vb8?= =?utf-8?q?I/pICkI6BiaCgtec5KVPQzeYDdzM7JqNc70MiFkWOcCEiazWQ+XQlNrE1DvWVUQhA?= =?utf-8?q?OXhPK/fxZMutadldz6QA0QyVLYPg33/+oESBzdTfFHHNzJXB+hXj6yKH7QhuIfYoz?= =?utf-8?q?9i06/cGa8bIy/WreelnlwrACeBw2KLQiPoejdWpJkcyw980iovRMINcoAXLbQH29H?= =?utf-8?q?Cfb+gFkEBaw4?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9904bb1d-155c-4fbb-47c5-08dc6565cd0a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:25:08.7429 (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: mGyMy23BXeqfsFr1NUH+P9ervZVWMgyp6hYjgoENaGpqj4f3KGmd1Q5c+lYA9sqo0hwdvUjmXRtljO24edYBaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 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 dd9dd3cb7d47c..c5cb461c30c97 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -104,6 +104,26 @@ &asrc0 { 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"; +}; + &i2c0 { #address-cells = <1>; #size-cells = <0>; @@ -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 From patchwork Thu Apr 25 20:24:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643730 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.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 980DA155398 for ; Thu, 25 Apr 2024 20:25:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076732; cv=fail; b=SqiNo+r5zzjjKHYe9vjuHYgp+8NztqYzLiu2jN7ZjmgKijGVWewDb+S409w3dGPuXzx33kKWr7ccuodSncfoqrc2Wz0XbBSy55mIuKZm6aZ9nyAXmzXbAcQx/FsCXu/T7WJRm+L1GJ84y5rU5eOShMIdu6Ce+O7zSrT465M24MQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076732; c=relaxed/simple; bh=znXmOAR8oiAmewQWmXkowufKc/whgbYUCiOGSzFY+Vo=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=fvE1fIEM0Mt/+F+cKtL2uCIgaixUxRDCxU5p4JBtCOhDpZ8i9Ir84A7yXSoVxxS+xHbNezZQ2dqIOgQV+xHMJZ/K84QqScYdU9FPlbBIafa/6Ywi+SWs9EOrOO7NXHzxyv39w2N+/X9lwRh3VxZQPEyJbciLzbbWw6jwGCsKFlQ= 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=eI1C7ZaM; arc=fail smtp.client-ip=40.107.20.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="eI1C7ZaM" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=og2DDFDUEp2F9AT0Kzxq2PFavjplNNq5nsCNpQc3Jiy44drcrz6hpRzNdqFcPY54x0iarYPvrf/nwgnUJuQqrTUSbKxT5rhx3dOLNYPCvJWByUp2A3o5FJA2crRkFflaaOmCTbpbYuedKJ0UFu2jQ28omoW8ibNz9r4IVvy7sM8jWMPPW1uFakPxWK5eO9gTZiRXfmwYEhkPGyRjSD4z9vYGdGYndl4vXIkok5IM991daVrH+i5vp4dkeKCNcSSdw8eHazFqtIFkg1hxXMeWgtdMGtiLiwjKCQw5JYvryDRZgcyzwIBROJP9wrsKrjiPEmto90w1Cs2wOemOl0SwEA== 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=gIEtUyndz5TM3L2y8jsBM36tWKCtkVCkgkvbrBlqLXE=; b=SS7/J4/obG4wkFMOvDN+jTsltXXodXOh51p+LGL5uudQk52/y2EqoxBiEk3K0H7g3K30wSbSGe8KZcczc1QDRn/x88sgMHUFwEICrs+CW3n77a9H9owjk4jOi8CZLr6Xr7vviA8i3Frt556OUfpURgtF+02Kx1azvWD6z8WmIgYnd6LJTZXoZGcFthnxah4RdbZWfrXkUFh5OgO30n3GWPzG7fW822ciOvxLdt5PM1Ep8EDGj0OnxkOttyzCIHhkk926rHLbEqQ90fXe1meTEMJtSQ9Bs31N2ScAUvXoQrz4+gjwew5u9y7OzPkEWz9WC4aIqhAtqldCC5ODOpEi3Q== 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=gIEtUyndz5TM3L2y8jsBM36tWKCtkVCkgkvbrBlqLXE=; b=eI1C7ZaMT92aSAU4InjIWdoNsAPM5XXRzpIAZZZDZ+k8H6GBFXL7a9QJOj+SUYshD+KcFrqRZghy16mnvaHqY+z/IPVUpAMUP8ukLKJUUjUrmNsIp+K6zsmGkstm6p6TVZ1tzWd6v0Ls1VaKnupGvRyVaoZTJmr3KAbl6A8pq3o= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:25:14 +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; Thu, 25 Apr 2024 20:25:14 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:43 -0400 Subject: [PATCH v4 07/10] arm64: dts: imx8qm-mek: add flexcan support Message-Id: <20240425-dts_8qm_audio-v4-7-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=3063; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=znXmOAR8oiAmewQWmXkowufKc/whgbYUCiOGSzFY+Vo=; b=ILi+0GcxViv/tHW0LD0h2UISFxufnqNzwzWSefYCdN5dCqZ8yBXcmVn4mgToPGWY/+pEIyshS /5Ouo+LULt9A8waj42AGfSECtkqOaDgRNl5fe+I808wsEpC2IL9bN+L X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 517d242e-2131-4b79-7007-08dc6565cee8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?oySd/UgoCkS2KEuTMfyEvDqRVv5MTGC?= =?utf-8?q?2Uahlhy1V/ADNevE/L0E2uHompdEoBjE22cDqGDLYQTzjfANxD74mH1MXcCDidrWU?= =?utf-8?q?hUXIjylj75xbNh2+S8ECSnzvdRDACQCbH1jf9rT3pAxHC5E7w/NsrxZPHS1E+TtZC?= =?utf-8?q?nCc6I3i+snODU9nKwglB5OnOIPojuDWEqfS3Yvi4F2isCNCTrzFPe/bDDs+6vPsXR?= =?utf-8?q?qb2LYU2RvvC6eqZTuh7p9iO8hu2lHbukvP56PA1o4d2UqztX1KvjlBHBVQ2zavaBO?= =?utf-8?q?qZ2BK+Ar9WongfR/mF6kjMEva/H1GjjlsnOL7U/gTA8VT/m/LW/GwQ4hbBDSjLdm4?= =?utf-8?q?8+8nE8mUN+by+b49WmZdyWhHCjdH3HbP965cXw84+B341vv0uyJ56jIfRto4kpAU/?= =?utf-8?q?/eIfIAKIz88ZIGYhobBjRUuuESYXt74F0CTWZOXvGX1Uq+h45VdkVzOH41ciwuIjK?= =?utf-8?q?+GMTf7LO0vKWAKuWyOvJywMNjfW+G1nZBLDOGtyyLOMfNFVP5r+XAiDqu/L4SYRCQ?= =?utf-8?q?cPOKzb1XhT2DTs0/YuNiWAMq2YIVQm40paiFoDRvVwU/2N+DiCQOf2jGjDIqCTL+z?= =?utf-8?q?LphX8gLRpPipdttVWdPL2VzVtFvib8ydk8inSeL7oKymxJ3/g4cgmn/YU11z1fLdC?= =?utf-8?q?IpAN3Cd/xY0zMyj7QnCvlgQSPGeBWxjVgrlgkF1H7MCrXkeKMoHFqqzJa3fcwFvI/?= =?utf-8?q?RVtvpn25FBomDj36Jc+NhWHGQaPnkLYIBSf81Y3ntZpGA41vKuUpTB986B/w+6If2?= =?utf-8?q?2wP7JlXlVXjYbxcxNiexka9EPrnuNoifPdxr5DrEBER6rBpKzOTfuAzUZ8CEU83uq?= =?utf-8?q?MpsSjJ8YLaRMRLsAohXdBQwrv4eg6ztrcYbg0hK2XVO6vQyqismJnBljywdCi33y7?= =?utf-8?q?yFKNvJ/Sy2BeKJ0BzQq3/VG72ztffYgjzhXaLSEeroTlUNpVqGcw2YybZhID/EgsM?= =?utf-8?q?IcsCg8FGxN7n+wVeMsVurR+WkHCjay91bGqCjQXhUbb7aRok9O5emCcmcwQoFEG2W?= =?utf-8?q?d6UJB6TZXkN4BlWkPvcidooC9MUUQdNVjmbmhvrxj1dxC9urBUm1SO3bm8Sfed9ay?= =?utf-8?q?LY53FlKo+hmtCHloQeakERE45EVtrcF63vnHadtHsLsmSdzxVzpmHdvVELIj17fPV?= =?utf-8?q?krMBSdC5l7hXs5JZ0DHDiWCYZqT8bDcAktdMO5Zdd4p7+PFkls2Uj728/qGBUmzWR?= =?utf-8?q?J7HTi4BLlwOWrfUyYpduyC8X5tqAbL9m6MxeYSO7YQg74Bn39xVMyaBrlJS4dFXCO?= =?utf-8?q?Wz7R/xhEY5zY0PHigglsLdYj8bhskHzNrWA=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FqjHfwCoS34FUzmxlSY6M+y3cMDP?= =?utf-8?q?9rAOxqcq/bmYuLQEp4blMqKJEt8zNhJ5mhh+buu74PuONTaVj/LJ7t5riffYde97G?= =?utf-8?q?30A1HuKyR9V2rMTYiRbKc5MccsOuhn+iiYpV/9s47CDe+6iK1V26+b6wN2f/0zFAx?= =?utf-8?q?bOAOH5Gwtz8U17LLCSSjwdRrXiwRyx6zjltyNtbKlXZit1wo4V+x/xd7LKDIDNSWe?= =?utf-8?q?7OAJ31hkdRVj3TeXybqpzc1WD3fI57APqtLnysv5gqYR/IEpnumiEaVFWYzjMZaEi?= =?utf-8?q?O4e7G9aPDuaTVjpcqVVD1l9hb7rFvROWctevapCGQn9agw2s7NaRhauhbYonBiIDn?= =?utf-8?q?kpNBir7toubHLBNZN+1G9GYIf2nlq/iHwTc8r0qzYQqiaBuvnPoIJ7QC/OoThJi7o?= =?utf-8?q?iHWPUbPezVv8ovrtJ46JY8WYyqGPed6PCkikr5UG1jAkL3YijvtKBRMnt4vE4VBKg?= =?utf-8?q?Yvk3qeOAQ/M+GLDlIYt/gjWZ1IL5iLRzaqpHaRtQIPzEUepCMIuv7TMAq6E04kmQ6?= =?utf-8?q?PxLJVJKTLp72zd3g21rVPrrkiLKh0s7DNEdeV9daOS4ZQEgArGYAhBKjkmKc7IICS?= =?utf-8?q?NBBzF3yqmNCa3BaBBqQ9B1oq0vl7IGAFwISbKYkGEWlQvJkrGfFw9mumHlu7fInj2?= =?utf-8?q?NclNx2rJpXrvyEIEnK58OI8FOmiyUmTxR9qApicZKUg1MtbbPmfLXeHOoB2UDEcc9?= =?utf-8?q?2QjV+A6uPASm5EXo+kdSOQFc1Xb7bSZqT4xZjOBiRNqRVYgUdz4mCfMIy+0KAHsnD?= =?utf-8?q?7e6274MnqoiWKbVQ2eB9gCN8QJhgsJKmH1pMsJcmAekYIHNlSaGDvi86ZKfQhPJVu?= =?utf-8?q?lu728CrNoI7bes99uapGm6YC3OJ5qJxuR76w/U1WlD++dgLc1KJXWo/yqDurpqA6l?= =?utf-8?q?5GbzWfLWqjxeph+OIR7MzjdeN82TLtJmYYa5Ly4QSvQDC4bho3ytDdsjwcrKsFJKH?= =?utf-8?q?r59VkpaVQT7IWd/td0IMQl7EsWoeOfeCqzvK6mquHpF0xkK6F9ETLtnEPuEVtyFjW?= =?utf-8?q?zdU9ZCKf4sKBvWpsSl1zQdBs2z7AkT9nGt9Oxikg3Y9c3Ml25HjWeheQAhcdpubB5?= =?utf-8?q?9XL6QnYwzo9MnmNnMEBXaypz2YGfvYJuu9W/1IbzVk2ZP3JBEE0fiUylqEwOsTdJA?= =?utf-8?q?oGTp7u4R47UKQoc4Kw+DFbZ6IDM/Xl7H8XY5IkNPNUToqELfEHBAHs9eI7uTYDduH?= =?utf-8?q?0hoaAfmTV5G+1Mz/NmvVLUxHXyJoljW7GppPeT1ioAvu4y1rRNzVSkiV5NGIs/T8R?= =?utf-8?q?05RC2AN8f/l7FXsgofASrNJAelfZVojW0FWNonMm0aMYVo4H3/NFaORbV+L103ET6?= =?utf-8?q?GsfpgFvktVdEvP2E3IdrjfrKaVhhTrMA81vHehwlEfY9J8AWZkIh3/ePsuI4DFYwP?= =?utf-8?q?MT7XX6IJE7BLcn7C296DzTduFUAAYLBWZoJ98m357P7hsLWLgM3W6BP9daOZ7bxI1?= =?utf-8?q?5fMxD2YtR4oM9BZkLrkMdeNBDfLLHsAdDVmKf7Y0lYqAm6Ot3DHZeYy7GfIQ9nY1T?= =?utf-8?q?+vL6qNsXXJQq?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 517d242e-2131-4b79-7007-08dc6565cee8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:25:11.8026 (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: v1uA4OqwEjoN4GtxAXI3gj3wMtdTEGSTe01zAVjAO2HvSVaelirKMmyf0pjHgiddGDW3Fdh/Q5SHkxWo+5FU5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Add flexcan[1,2,3] support for imx8qm-mek board. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 80 ++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index c5cb461c30c97..cb5cfd04b1690 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -40,6 +40,44 @@ reg_usdhc2_vmmc: usdhc2-vmmc { enable-active-high; }; + reg_can01_en: regulator-can01-gen { + compatible = "regulator-fixed"; + regulator-name = "can01-en"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pca6416 3 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_can2_en: regulator-can2-gen { + compatible = "regulator-fixed"; + regulator-name = "can2-en"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pca6416 4 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_can01_stby: regulator-can01-stby { + compatible = "regulator-fixed"; + regulator-name = "can01-stby"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pca6416 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <®_can01_en>; + }; + + reg_can2_stby: regulator-can2-stby { + compatible = "regulator-fixed"; + regulator-name = "can2-stby"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pca6416 6 GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <®_can2_en>; + }; + reg_vref_1v8: regulator-adc-vref { compatible = "regulator-fixed"; regulator-name = "vref_1v8"; @@ -194,6 +232,27 @@ wm8960: audio-codec@1a { }; }; +&flexcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + xceiver-supply = <®_can01_stby>; + status = "okay"; +}; + +&flexcan2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + xceiver-supply = <®_can01_stby>; + status = "okay"; +}; + +&flexcan3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan3>; + xceiver-supply = <®_can2_stby>; + status = "okay"; +}; + &lpuart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart0>; @@ -433,6 +492,27 @@ IMX8QM_QSPI0B_SS1_B_LSIO_QSPI0B_SS1_B 0x06000021 >; }; + pinctrl_flexcan1: flexcan0grp { + fsl,pins = < + IMX8QM_FLEXCAN0_TX_DMA_FLEXCAN0_TX 0x21 + IMX8QM_FLEXCAN0_RX_DMA_FLEXCAN0_RX 0x21 + >; + }; + + pinctrl_flexcan2: flexcan1grp { + fsl,pins = < + IMX8QM_FLEXCAN1_TX_DMA_FLEXCAN1_TX 0x21 + IMX8QM_FLEXCAN1_RX_DMA_FLEXCAN1_RX 0x21 + >; + }; + + pinctrl_flexcan3: flexcan3grp { + fsl,pins = < + IMX8QM_FLEXCAN2_TX_DMA_FLEXCAN2_TX 0x21 + IMX8QM_FLEXCAN2_RX_DMA_FLEXCAN2_RX 0x21 + >; + }; + pinctrl_lpuart0: lpuart0grp { fsl,pins = < IMX8QM_UART0_RX_DMA_UART0_RX 0x06000020 From patchwork Thu Apr 25 20:24:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643731 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.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 BBC43155398 for ; Thu, 25 Apr 2024 20:25:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076734; cv=fail; b=MpZUoEGrGskRKK0hGzc3spB/pF6TufjARRBdUYIEE8IXFboIeEepsstAUcVpBPvxFZztZEuhzXY26iDfQI1cPMTrQ/xckG4P9fi1+aYlcIW4JX7i3Eio/qCgXm5ZK5JLRMnbx2pisxj+s+EXv+JAC9RNuKYhIg61iQBR8/jGZLM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076734; c=relaxed/simple; bh=bpHf2PIHbiGpZGSQKar1LrDw/OTVWqe+dAjENJs3/E4=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=cvi+VA+L4pV+Wbf/XVacdpZcLGFdNzLZmpuqEnYJVIZQHjyCpZwY3Ci8puAcD5zLM2VVfuUP8CU8z3ER1Z0F84XBph8MbA44F7U6OzU5uYPN8wy+KFwbgtliP28qUfmBTh5DCPWZqWK2Kt0kOABpplSKp9rInoSLysAJoSpiULI= 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=odNTGlF1; arc=fail smtp.client-ip=40.107.20.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="odNTGlF1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RQxWu/mzDiqdV3rCRbM/veNFZt6cCPkffBXE/QMHBB/nBIwbtQQ1yYuF6RQpACqNJ+OTZKmWdZBMzlyMkAlaTUl5huQnDZ2U2AsIUEuQbl6yRl31UKy8TzZS20ZshLYVYobUWfmt5uBP49YIxcMgW1LbPM4CysApva0nUDMhvg+ZsWSkaTbA6rurmLY3cBbTar9+2KkM0kBcMyekD4q/Co6OUPzZLktPgr33+qohYjRpv8NjPBjdmbl17zk96PP4QM3ayXgPRL7+vuViLKK7lnA55akOUsvfxp4wst8oTf+37fy5EEYz/lbthyFhulEF32XWZhTDaLfpyARIxX+kDg== 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=NyWjNgSjS+K+ww1SAEgZJtTZlCdElVEcZHiMH8mSt28=; b=XQf/sXZWflAOMsC+7QQ8Ptt5hRX+yZJKKdlTlouFLDqTYdOFhe0++pO1ISTEak82Vc+N7UmUHcKSg6wwGkFdGOi9jMjkcVWtXYfZJMyBdGFZTpBzNqFElKCjNy+DMqngvYwmX8S5/ShNWE0SNXXPWNwODtLS4T63CEA20HJiO5Zdcy3djRYrHHGI1TXEiXseg1rG4cqTSDNTKtd8rsu8dm7sB8YEPEXec4E4ldL+HeRCHfilLe9LyuaGTPUxIW5H7d4QlT9Wp+Trzfmvfei98SVH5otGAfsbCqICGc31AS5ZPltAbQiwYaDGspqOZkZilyJMPcEkU2gvjv2pvRfXQQ== 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=NyWjNgSjS+K+ww1SAEgZJtTZlCdElVEcZHiMH8mSt28=; b=odNTGlF1h0lc4kUBa/BsTBStJrdSLcz4z5I6JVlO9LQEBLIAw+JfBMlNxbAWFCtdAfgv1Qj/y/N2p6swb8J/BbDaD8V7UNYRrxFJ1XSIxYiWbPb2nnTJ2HDrpN6gar1trWISoLXdyW0EOZT33yMGiNcyIF13XE1tf0QZfH0oETM= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:25:15 +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; Thu, 25 Apr 2024 20:25:15 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:44 -0400 Subject: [PATCH v4 08/10] arm64: dts: imx8qm-mek: add lsio mu5 and mu6 Message-Id: <20240425-dts_8qm_audio-v4-8-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=655; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=bpHf2PIHbiGpZGSQKar1LrDw/OTVWqe+dAjENJs3/E4=; b=iKNKPn7WjDeXZvrehlRxgfT1JXioUXrIg1QhMRcR72E7ILDHRCdtni0dfbMIVBNbHk512jz4j JrCcC6MddZ5DnY8aYX2BMWHGNA0jAcwywzaHNzV7nSA5Tp+2mxW8ZGe X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: e940f6a5-48d3-4648-dadf-08dc6565d0c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?X1h/KiOdIDUeT9z/SozT5Styg0Tj2Sd?= =?utf-8?q?L/IAfD5JSm6U+gxrU722IsSDx+6YDETlZfzirbKm3iWCldU9GK+Zd8HXwY4BO9BdN?= =?utf-8?q?zlGPU/ssYuKnP8CtwqGjqLRN63Kwuz7WQqp5V+uK7PisLBQXCkXKfZVwUE8EKpm39?= =?utf-8?q?B+z5gzhCjnO63/O+iRXy5ExqKAwshMDy5zGpi3AmOrP2yRAbbU06M2AfNj4RFEfAf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?utf-8?q?FmX70ur/mrUSnRpCnpCmj8P+teWn83sju6nWCG4sw4ZIWJE7f4df9w66oD9N4+byB?= =?utf-8?q?11JAvSh3XC6wr1TWdVIUe0SZoM1Z9jvU91ghQI/NZL9zxzgpVLjskgjNOGU/jmgJe?= =?utf-8?q?RplySIyMPLtM8S52I99YKKlbcBt8nsvosjGKCaiPUV2IAOUM1eahzusAud0CTwmrX?= =?utf-8?q?TquNfsJK43oN2IM094UHvzw/DDuAnEpkrdw=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?vhWw9RCD4CDemvYrHJCfYOIOsmJN?= =?utf-8?q?DDdVOcL+ZQFVIFnpQz8hlHgzOQB7qHmI29UtL1cler1W55suFnErLNWvsP6nrVDAd?= =?utf-8?q?17eHfLF4S/7okNDsJcLoMQ22z4Nl9PsgrrG+EAgGmwDqEXKJpuZfQniSpjCxSzLgQ?= =?utf-8?q?w67ADsGk8I6BEb8ViDHR9yl7E5UnwoR0naY+TY/3+vy2k53h+F6jmQhCtiaU8LNyB?= =?utf-8?q?l0l41L9ye3AeXg60aWTiJlvBBa+fXJAH/WL9/jvENCfPP2+HvcxpoNqcx5IVhgEiH?= =?utf-8?q?gSHTiONUAPFbDT+L4Co54eifF7Cu1VfzlSUHrFSTQFKeRzas6Vi22q/dAiA6dMLe5?= =?utf-8?q?jBa0HkAtJZPE1dLeNalrLW5bXEDMhckSMWFRyrLgNukPlF187/7Xpyq4vboujMaWI?= =?utf-8?q?02k1nRM0Fp7CG/Q6US39+K/inU6vjPDzAvz0CaQuEke9tuf1fMkNOyNzHXEeXLeR/?= =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utf-8?q?ZSNl+/FgEslQYOPzrePynhmnaaowiqVlS8cIbadb3M1Z/Zf4HofSP/NIXa/rjOZh/?= =?utf-8?q?lacXderxSJNgvouwKyfbv0ty029WB9GLfq5E+z1fVUuFOB6qPD5CL1EMzWi0p4iBl?= =?utf-8?q?PxdL11KZZ2LI4XGXUX5FbTzGbGYY5YOpyLplkkUgwl0vumPoDiwX4Ov6FUJXNn8jJ?= =?utf-8?q?CHKtjJOv6i3c?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e940f6a5-48d3-4648-dadf-08dc6565d0c2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:25:14.9188 (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: qCRqujYxti+cy0msuRlNx6nmpT86pIhc/K0pjiOU71afi6SxFsncTye6pcr0Vms7Kkk1X8hIyXSaHtodUW3iYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Add lsio mu5 and mu6. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index cb5cfd04b1690..3e57c760e40a5 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -286,6 +286,14 @@ spidev0: spi@0 { }; }; +&lsio_mu5 { + status = "okay"; +}; + +&lsio_mu6 { + status = "okay"; +}; + &flexspi0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexspi0>; From patchwork Thu Apr 25 20:24:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643732 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.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 CC331156F40 for ; Thu, 25 Apr 2024 20:25:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076736; cv=fail; b=sQdpJorErlPmEusMqj2M6tN1kzF1a1b58gMbpIYNPCcDemxwDcQ8bHb98tKcCpHcO9P7sMxcgfdLgfznSCm5VU509kCKWR/3ofsIIGvKnU7x6st7plTKSwZ7gQgIZNtSyBmn+oikqG8Ff9yqnSqiGok3F+w3aWJi8kUQcXkVwPo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076736; c=relaxed/simple; bh=1Hjo5Nh5r0Z7n+ggINRlxikZqgMbbEtlFiuh7aRqESg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=EORejT7vCAIf05IdEcrfyjff6jcXxuUeJPNcB5eyeYkQi3gOtjPkXE1mV5jTd9+wOaJvahGIe46XTJsOewCSozj3Iqy4gqlBwoOJ2+Xo5EMP9vDUPQBn4TU0BgnX76T2+eF30mu9ULjsSmGPQfY4s/+by0O+N967/yLduOJIasA= 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=itU55qLQ; arc=fail smtp.client-ip=40.107.20.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="itU55qLQ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nzyf6wKYhh/N1IsbLFHvyBp2zc1gWMLCk9iyZprXZBGwanyX7ZMiNtK7V4JtkNVfTnay4O9kYwrW4hkbDoXUGz1NJseCEYPmJ316lS5E+y8VZQPVW4BjP5z2aFxa23xB11r442Cvk5Tqy4nx+yPZYWAK3sLR7rrpNHlUELCD5ENDzzb2trmJukaBE/uTDK8KEqc8aNOXs9vEPTrs8zks333u/bvbjSu8QFVfqyZqLcPAtSet+97HSU2J1Y6mLXQv8KN8X1tFJktdKqCxlMUy+UGaEoA+d5rPFvwZ7yThx/xLkunHxMotJXcVxnfx75GZxRCEdaBe7fmcgsoESh5RyQ== 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=n7mDMj1bwE+zTT4nfQZ5oOk3n8WJnWM8yHZwM9YcUTo=; b=O4nO5Dl66fV4tg2MKxLfRazdK6p8iGfqjxlEqOo/9+dHDfRNWK2fc+Rm1yNcMN9375KyL7aQronYqlQ/moA4d7eT5sVsLX6vunTvoSHfrsRBJaNUVf3C8iM8HTe/2SK+lFRr2Jo73K7PRhyOqPm9osHmJsDnIKMso+JkIUXuxe5MI2cXf3JQ+0dzblnjcexjXYqt/do6XGTtjGiT6qZP8kTeHCN/GKmPNM61odoJw8ynpDLOXiNg1gGbg12FEJUvIJ94v3MjhqYz0OjxqYtao/bd3dgaLa1cZrWp07rC7boooAWcxIKswzTFy3s16dAUa0D5yS0/O+yTvem71rTemA== 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=n7mDMj1bwE+zTT4nfQZ5oOk3n8WJnWM8yHZwM9YcUTo=; b=itU55qLQoU+XaqD1vJ1IYpUrmrGzIY4I9/jfMp/H4G95kQRHsDsU8xYtZEmBnUXsoVUVJgXwe4Nt1TdKZxZGWnEvuIy6NW36JKuo7BFaT6kIHhHFgfyIZLMlfkIp+Ld0VO37mvPd5UnMS8jP/HdFERTqAMG4D6LpGNrOmh8puqw= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:25:20 +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; Thu, 25 Apr 2024 20:25:17 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:45 -0400 Subject: [PATCH v4 09/10] arm64: dts: imx8qm: add ocopt and fec_mac[0,1] Message-Id: <20240425-dts_8qm_audio-v4-9-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=915; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=1Hjo5Nh5r0Z7n+ggINRlxikZqgMbbEtlFiuh7aRqESg=; b=rf7L9uKRNw8/QmT7LKyTg9TgZPKs5Xno5LIfwRqyt+916TpC94ltU8gyGSxoGNS4nZsQJOAGF 2ZqPOVEZ9WUCkb2yDZDvweMZ/AUCresZTT1uo4mbnLAbf+LChL7SLQH X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 10550ef2-254c-4615-8d0c-08dc6565d295 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?4RyktoyCWP7lKuU/9NYz3p06bkZKC0o?= =?utf-8?q?oMXmRGk0WudztTD8Lu7X02jAf9lpN/o7tMuTAe1k3OF/Uo/O4Vzzujj8z/jpQoFi9?= =?utf-8?q?Vfc0ebeIRSKBAVioREx844TjQuvy+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nalbC90rbylVMoL/3lfD32hPssRF9yM6tJV0zR?= =?utf-8?q?UaFQFY6Qr02qqEj5oSTifv48YBMCM3rZiC52UQIc170z5Kj4xcyU0TlWrhmAOhbhj?= =?utf-8?q?V/PQzvhIKyq/d1XWPXl9vKgbW5xvh4O/LJV6FBAh4+pb03oex+Evedeyd/SW/yWGA?= =?utf-8?q?Xv1dKkflyR9XwKScqeYMi31G7ZvSz8zLk9sLKMeYqMAAhqs2gKnWW5xZJ3pLsWo/f?= =?utf-8?q?RPxoPF9YpXsnYmwGMNKqxJUPgKjO14jHif0zd2S0SSDjNch00TaRWxx9xYppBh2+1?= =?utf-8?q?F1gS+Kjk1OSN6?= 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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?xbxKBPDRTlSeQZD287EUCB3iYLUc?= =?utf-8?q?cLe1ZGNnGflve5on4NTmjBCKI0jYOsDF5dYK05LYtjKO1INe2hd87GGQlS+ZWeS70?= =?utf-8?q?+Ryhh8PXUoqt+gEtjYbsyGWaL7eHUUgNfYiOSwTkFD2TTx0B8u8LqpvgQKSPHwgwP?= =?utf-8?q?ZSDVF1Xo9TXKX0Stvr9UsC531j74mq52UDRE3+Jjxe8wWeNccEa9Dj3UYzxQuJmyP?= =?utf-8?q?kdVo/aox4bRZTJkgmQHBKlKSfZPmCSn61p7Hd6013wrqS8e9CTgJu71YBdUmSgeaG?= =?utf-8?q?kbEHNMTPdIEHXD/QWeMtaYY1oOIcNH+gehILx9/u2iowGZGm34m2baWpsR9LFl1x3?= =?utf-8?q?CJJ+pxOcVbI7/GrTlhRHAF/cJiPj2MWD+qhc2GFuK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hb4ClTZTGe+dvkC8jXneHLJT5x?= =?utf-8?q?WD5hi7OV75oaArLA4TodIEaXjpvMO9QfPcqmdHewhM3uRAW9c3KMppUg+Qv//k1Wi?= =?utf-8?q?Gj3dsXF4ubRdM2hBAVkER6/hc4IYrkY5CKPgV04zUvG+cdkzuyJLseAHwKSZgHme1?= =?utf-8?q?g5QxJ6oM9bW3JbQi2Qfb/F4cyDcCfbEOHypqh66C3SfXFoE6Gl+A3Z+501Ng/sBdx?= =?utf-8?q?HaXAtbpzecUjRAqu9hcZ0nULyNVBKaN3G+hLnsOt3N30eGwWEkdl1tKKtqf4SGuOF?= =?utf-8?q?X3oiusRGlbAm?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10550ef2-254c-4615-8d0c-08dc6565d295 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:25:17.9564 (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: hp3pbMBZPtpGUj15nJu6LAjB9rG3Pla9p1DRa1wUMJ+QlnBkN4yO5RT17CNUDFBmaRVB0lukz8DJQywzK+uK2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 add ocotp ad fec_mac[0,1] for imx8qm. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 8e94ffe1acb57..46a8046e9f508 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -333,6 +333,21 @@ rtc: rtc { compatible = "fsl,imx8qxp-sc-rtc"; }; + ocotp: ocotp { + compatible = "fsl,imx8qm-scu-ocotp"; + #address-cells = <1>; + #size-cells = <1>; + read-only; + + fec_mac0: mac@1c4 { + reg = <0x1c4 6>; + }; + + fec_mac1: mac@1c6 { + reg = <0x1c6 6>; + }; + }; + tsens: thermal-sensor { compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; #thermal-sensor-cells = <1>; From patchwork Thu Apr 25 20:24:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13643733 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.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 AC59C156F40 for ; Thu, 25 Apr 2024 20:25:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076738; cv=fail; b=R8/2vW5GOWEiJ3jKYFY29Qks+e7rrc76rsJkDqPFjIEYRn6Iz3+sfYx0mv8LuTYgxRYWmIVpfpPwnz8xFtt+3i0cPs/H7KwyiGrmpQ27YciCTXAjIOBiBchRpQklzJ+05QfmNjkzydmA5vWqcqrvevzjDi62hm4pLBBwh7xwjvU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076738; c=relaxed/simple; bh=qgtpZs8h0sMtJnWa1Uf9rdRcA/9df8/3X0jXedEQWJ4=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=axmvQwlQPy3v0+uo18qEOEXQgPZKu0hpWxCZwKlmDXKolPR21PfSTsE256GcneRqTwpIThB3zPjrHG299H3H7DtERlyudNlJ0oc2tp4hKTqVvUpVsmFI1zQ3ivYLUsW2bRlPpRA0flSEKqNSx+/DmrsytXVcrQGq/8igQU1ttmM= 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=s8V9ov4J; arc=fail smtp.client-ip=40.107.20.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="s8V9ov4J" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S5OLUk2xQlXPZNTNHuEZn55cKk9FSXQTc6a7I9muhLmglkxjxEEx734NsUEUI3gqNpQQR+UGaMBV7ryKTvU0BgTXA099lM5Vj5GgK3C8amLExPmj2lK3IWXF1jlGvQr0w+DdRqjWMGA46pbP1wbEKjdV3KUqX7P1/xHSSOuE7Xsp6ll/JmE3up2qj1ECvOtxSuyJ3w1TfIRj/k3QhZ8T6WBzSwtse16X6TAO3cwcLZfTdpOUbkYO+bhYTDt0AEfvNYOh7BKfAzKdT6CVucYph1pDpK4qWzfBz/ywweM5x2DLIrksyRr55kvzd9Zegy3N6ccjfirbA5bhHcYdbkai3A== 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=IvcYlTa5/HNkjL4SiohDX/DdXdyQ9Nx1QmcSfyAYkyg=; b=bBlkdruYyXu+PaUdgpQ3Y7opW6yc2OiAlRubFLTAJQuer4A/6x8orviCkLAM7yYKRdF4GQgN7ek0F08IVSjamsTwLFGuz/LvRJxsiDs/8hMgUFWHoYO/ZTyx1OkobJYRjEUEOWeqh44+IH7WEDhFUdVZyEQsoX2pulGgAj7fxM28oLdZXnONuNU/cwt/5V/tsikBdkFHSF4eqFJ3c8wSIRE3qcOzugOyQPTpKHbPXrDHFUHNK4UKwVTTDQ8tt9jAKAUG11CkJd67FWSBHL8MhBld4stzdOwE5/P4tkGvB8cpjxXjFmOgKbC9unSQtF8vlsBTfuifACwr+zx3HuriLw== 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=IvcYlTa5/HNkjL4SiohDX/DdXdyQ9Nx1QmcSfyAYkyg=; b=s8V9ov4J3j6nMmtOjAvfv3UCqq9zgbG3MCvJyXzHqMIqPAFQq3yH+1iNp17PoCylSoKpJu5H8wMk/XzEvmHo0T20a+Qn8TczbOpeb+QvhMiwWNza1TQlMtgc2Fc0m+ozG5Mwq1Nt0BjhKrjPCO8xbSWHQ5cwlUiJba97gI/QrGs= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:25:22 +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; Thu, 25 Apr 2024 20:25:22 +0000 From: Frank Li Date: Thu, 25 Apr 2024 16:24:46 -0400 Subject: [PATCH v4 10/10] arm64: dts: imx8qm-mek: add fec2 support Message-Id: <20240425-dts_8qm_audio-v4-10-7fa6ab2fd64e@nxp.com> References: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> In-Reply-To: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@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=1714076687; l=2438; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=qgtpZs8h0sMtJnWa1Uf9rdRcA/9df8/3X0jXedEQWJ4=; b=nyk8eXi0UHM5KyxQOwC6grQsTgiMYznWQ63YAuXFzPjBkeSJFHUszxVtfdo6NjfHQQYxUhmWE ECPNZ0FjzauATKsLIvJMg1HzfTRERbis4P+qwcQxRtOretMtdR8ABE+ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 1450dd20-caed-4eb5-ddd2-08dc6565d465 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?zMhArIXzQkYgGsqjSi8icCzjCxvWfHN?= =?utf-8?q?AG6n18gwLOPS7OAsBAls9ZXSBe14nk0+mcEQ96PuUljG6VRQZzs3FXY2GJLyFP3gl?= =?utf-8?q?19535TuDXxWJSRcdvkm6IRLBVCt0NzGuvldMaJK8WDAOlwunKxceqPKJygAHaAcGR?= =?utf-8?q?MyXm2jwpNjxQ/61wVJeGsaT2DJFWpsi418MIFTN+/iwhiEuAJHW2fDLKz3ZFz2cQQ?= =?utf-8?q?+X7YGB3neU99FidRevK3gzEHW+Z376uMg+B/hUMVdEPL5s9ZvOSwqRb2pdwETZCv5?= =?utf-8?q?dIHArGHEKf3wYqHfMeTgGmQ/5JlJdhPmmwodNDDmUDS60ZnEboXwX1Mu4hTiL2mi9?= =?utf-8?q?LA5wR18liINAj4E/0FpZFlzyAxGxGx5vk4DbgVwkvxS5jGtS3Ri0ixIy/AjUa1ZLu?= =?utf-8?q?D1t/bw1qz1kvLPdc2SKrNhZfbwz/qp/qihP1LAoIZkEsQv7HukI98wMpU/vwo5KEq?= =?utf-8?q?VdYb4dybrokkFMxlu5CZYlcIWN61kVI44gMfHO2Q/oC9OzpEW1HhGx2NVtHAKqR3/?= =?utf-8?q?fpG3fe4UiV5eGl4i6xenX39hqEg+I0WuwQhTXR8+SdqOaEITNG6NFZlodSLJddmpy?= =?utf-8?q?KYktpXd2IVv+uTcpqw+SBtyEaM4kdne34AyLycuYOHZ2cB1dXsw/+nynOw4MzQpIG?= =?utf-8?q?1G0J0nIIW6BU190YX4IzE+KR8MI3aqr/+mF3tv4r+Nw3Ufbc2YocIfBr4vs8PoqI1?= =?utf-8?q?u7glAY6HvNpsU6H/BwKvPoHmbo5golbvyniIVxgk3UBus53C2ArcCO8Z/Iy/3ugq6?= =?utf-8?q?0cMoIi90O0HXyJ3HugkrlluM17aXjNiJ2aPebGLRAMQmjzBjXDwwmePlVIgt80+AR?= =?utf-8?q?tKp62PjLRvQ1TIZM4jsJln5E6MerTeTK9XdumE+IVs7T2zwFyG1aGPhWWfvSK/pL4?= =?utf-8?q?zSvwaawHW7/YkEzS03fH9bPvAAiThSZqOGdbG84VM71TtiDO+6MCe1qgHbluomfAu?= =?utf-8?q?XiBmYh5ewZsxg5o8aDEARsq1sxsds+qZzuok5bcFPeZe+c5V9FHzMCfYeT6+02sYr?= =?utf-8?q?JaHXAlkZorebAyGJGD2r6aOckbq20qH5cRg6wC3TKvJVgpfFFH3RSREuDr3PklgE6?= =?utf-8?q?rAB5oqspDEPxeBiSF9YZUIYPQubWfgUQPryWinZtPABBWxV9661R1Kfyn0mW42l4S?= =?utf-8?q?iZzPhhGUdqUTUEUFxxl7pqtBy+68XdFLD1Y4bJ87Rcd5Rk85rDFmPDRMOkmvgPGr4?= =?utf-8?q?ea3Y1dzqhG9+hoRq3SpJdyBEcUUZTdLD4JYb2QLtlzihEcHaZmwoEoWNrdFndHbtT?= =?utf-8?q?STJ8TE0Jem1QNJDvUfZ7wOFR9bMgkKhZzpQ=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)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0/Ygah29n/2Tnrx7hntpswTeRQNn?= =?utf-8?q?s8GwgBpSpX7pu7UTpXy0TNNV+lkYuaB1JcOzTRbUaETrxsIm//cDfcXCPGrbnMwP2?= =?utf-8?q?DmQGhn45w6gnXwZSJfe2ExBVEMToSulUg/nYxWG8SkqgyMEm5pXB8xO8titUHaDmi?= =?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?utf-8?q?WTUm0IZTyEefhR1sFIkF9rf+SmtbFTBXPEp0IqUUpQUe/AaJjd0CTIr8dDt5YAT9L?= =?utf-8?q?cgKI1A7g2OmFSfRgfU6wo0MGm1Zu9NzsjzD8wI2vgpYnALMkVNX0CvCE9UbcPD7qB?= =?utf-8?q?FHoAjg+q/89hVmmKAYgvlpN2ZG7oA7IvIukdXrzR9ipld/GbVUP8mlXjT/nrEdMwL?= =?utf-8?q?GEw5Yu4wWCdk5cgNR+HsG58SzdFIukisuXNylcEB84tQ+W+dqeTzBe2VtbxlbKgRP?= =?utf-8?q?5PROMRwGBfcTIVXl/zh/Vm9Y1VQ9LUL2kANdOu+k0e68BHePJhkxn/1VWGOvyuwlI?= =?utf-8?q?u0LB/e1NpC5unLCRtViERGSdVTVLgLjti0UhVRck9oRFGEw9dWPqRv0HmpxpVcJ9L?= =?utf-8?q?jCpTuo+zdz0zkqocL/6TvOSm4A9SO+Rdb4+pNLBhC8UxxIuHm43Nba72ppyBKFYX4?= =?utf-8?q?HkAGxTn7xv2tj4oQ9EMVmUpp/LeG+tp3n5qAqe9VRyF2LeMhXnwiV4X78fI6yy1gv?= =?utf-8?q?8LAyPP/Gd1tu?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1450dd20-caed-4eb5-ddd2-08dc6565d465 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:25:20.9941 (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: RL3/RZeQJrj9bBqhrbFMUcgqU+PELdrKANzhlgrBvlONghFUTpBUrPwul9lV/dRjQDXLQbQ469Ecb5fl8HMw+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 Add fec2 support. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 3e57c760e40a5..c024be33fbcce 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -40,6 +40,15 @@ reg_usdhc2_vmmc: usdhc2-vmmc { enable-active-high; }; + reg_fec2_supply: regulator-fec2-nvcc { + compatible = "regulator-fixed"; + regulator-name = "fec2_nvcc"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&max7322 0 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + reg_can01_en: regulator-can01-gen { compatible = "regulator-fixed"; regulator-name = "can01-en"; @@ -334,6 +343,19 @@ ethphy1: ethernet-phy@1 { }; }; +&fec2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec2>; + phy-mode = "rgmii-txid"; + phy-handle = <ðphy1>; + phy-supply = <®_fec2_supply>; + nvmem-cells = <&fec_mac1>; + nvmem-cell-names = "mac-address"; + rx-internal-delay-ps = <2000>; + fsl,magic-packet; + status = "okay"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -500,6 +522,24 @@ IMX8QM_QSPI0B_SS1_B_LSIO_QSPI0B_SS1_B 0x06000021 >; }; + pinctrl_fec2: fec2grp { + fsl,pins = < + IMX8QM_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA_PAD 0x000014a0 + IMX8QM_ENET1_RGMII_TX_CTL_CONN_ENET1_RGMII_TX_CTL 0x00000060 + IMX8QM_ENET1_RGMII_TXC_CONN_ENET1_RGMII_TXC 0x00000060 + IMX8QM_ENET1_RGMII_TXD0_CONN_ENET1_RGMII_TXD0 0x00000060 + IMX8QM_ENET1_RGMII_TXD1_CONN_ENET1_RGMII_TXD1 0x00000060 + IMX8QM_ENET1_RGMII_TXD2_CONN_ENET1_RGMII_TXD2 0x00000060 + IMX8QM_ENET1_RGMII_TXD3_CONN_ENET1_RGMII_TXD3 0x00000060 + IMX8QM_ENET1_RGMII_RXC_CONN_ENET1_RGMII_RXC 0x00000060 + IMX8QM_ENET1_RGMII_RX_CTL_CONN_ENET1_RGMII_RX_CTL 0x00000060 + IMX8QM_ENET1_RGMII_RXD0_CONN_ENET1_RGMII_RXD0 0x00000060 + IMX8QM_ENET1_RGMII_RXD1_CONN_ENET1_RGMII_RXD1 0x00000060 + IMX8QM_ENET1_RGMII_RXD2_CONN_ENET1_RGMII_RXD2 0x00000060 + IMX8QM_ENET1_RGMII_RXD3_CONN_ENET1_RGMII_RXD3 0x00000060 + >; + }; + pinctrl_flexcan1: flexcan0grp { fsl,pins = < IMX8QM_FLEXCAN0_TX_DMA_FLEXCAN0_TX 0x21