From patchwork Thu Apr 18 16:36:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13635109 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2074.outbound.protection.outlook.com [40.107.104.74]) (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 BC7E916C6BD for ; Thu, 18 Apr 2024 16:36:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.74 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458219; cv=fail; b=umHDXcbygZwzc1f0i9IBL6NB4ZQwfI3ZOXw6gUKQLtMvcqn6ZsVzUGWubQ02ik6EHtWUUtHYeOsaGBISEYDMhvSYqOOqXAAla40aOiU+Ml8ZdLm9SO9kF7cslyP3T8VHhlP7oYQ9ov6qLexygeUWs9O4PJTJnJqVM71i/p1foDI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458219; c=relaxed/simple; bh=Anf5/cBCqL2nH+zYCUD3DObM7bD8CDoVdBveSiz8u0s=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=bNbG7LECISMYnbgURi241vbmcSlgkc821nouBg5qzF6JLIMFRgfT8+laFANIwTRh7YAf6rhF4l2M2CtQ8rgFq3Hi9ehJCfnkkqf8xZcbF7PIlErWrw7TtXIm8VLkXjZ4RyZoBxjhWMrFh8ZEZTcR8E2kZKG1hTGXNSntMmIx/Zo= 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=VPaVGMiP; arc=fail smtp.client-ip=40.107.104.74 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="VPaVGMiP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XttueOwe9yrULQDGSMnZbNFQZ5PWlk9jC5uHKkGxOcj0ncnME2NHA4k+5tYMu3EWt5oCb2Grtjl4VXMiWfQGEwPZlkFZCHn66hZjwA/ZUzvf56/csYsLR5X5UDredVOP95MCo5FBCmJQ13PMl90N+9a4sJ3iucAx1CafKO6BzJFPf6BoPNl0TGmfEeID1Wt5q6HuSprj34OiOYilTn1PV7+UVwN0jAF1hrt7nUPnFHf+k6MA90+7iEYtc3Y2q3TmjLfs2HYqurhMr6/xE6qjVSgFhyA0AyEAoeNXUb1t7B3kLnU/4gNS2pxV1vZn9sGc5RokclR3XlTRsLhwR64NFw== 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=NVvBVE3pdRmpI7QRL54pq3VSohkdp6VfshnUl74XmRFwDypz8GfKeDqoeYq38QFWXgwwhzjjCl4uL83iLZm/rvMIVqGRUxiYEUAcbdGfUdO+k4Q7sEgMMZQZ5VJ/JGxqBPRno7loYd/3hVLSO9GgJtSgmrqMndR//avgejiNLk3o1b8Q9EGc931nUli0LRGr30qJbHD543hC8TJNZD0cFMOAvy3J6qxIVloAfdNhVIiZVHcY23D7dbzvaEKwlqlccgyKC6fu6F1NRCKo2v4fwaq/AD3erxHPDeOkDsxqk+wq8PuMTorVnTIu1BPYw9WWm/d9KT67mlXVMK2R6lRtnw== 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=VPaVGMiPoZrAg50fx46A0+qiTpxyLsUbj6evQSTNNQHcLOdg/GTSLgk89Ds3VgYMVnFhrphiM9gHH1S0unrUsXuH6OJrNsRw4k+I6hpsnCuI5uwdz/BISqnh2VCUcupmMnU66K3zq7F/cYI73FLMmOIKeEDxg4hfNzZH2TZ0YaY= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:36: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.037; Thu, 18 Apr 2024 16:36:56 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:36 -0400 Subject: [PATCH v2 01/10] arm64: dts: imx8-ss-audio: remove memory-region = <&dsp_reserved>; Message-Id: <20240418-dts_8qm_audio-v2-1-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=757; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Anf5/cBCqL2nH+zYCUD3DObM7bD8CDoVdBveSiz8u0s=; b=yhf7LIM9coCkjNovrhM5nXo3lqsJmYnTXyp/TIg0hM7kYzImOJ5qQbcuNYN04mvJkJpoYMykq 7SsjkQVrC5/DWZ4JqHKf22RfFJE2mccpA72r35XFiM4Jnlb9wnQLB69 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: 8da4155d-40ef-4847-1c50-08dc5fc5c2bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qMXf7uruEAd2ws8wvmbMlXvJi42uAGQ1U0bxBr37JLzrdGVnu8iqk3cCAG3F2kY9wspAXW4NiM/Z8bU3xE3wj3hZ+2jdAQrQBZugZZh3kQH2ONaPni48p5giVntzPgT3ka0Top8d3K8nNB5oe3uG2jskordoFvf+GV0GhbpaxbXRld5LVQakZEG06F53mNtwDVFQzhGut+sp71omkLICViIg0IHKyYuMtx2WMprESl8Ov58Rdax3a1N409ATjbQbPe+zq2Sc3SIyNlppFg5mEdNjl/4an7Avhu4m0Gp99GIDauphr1RC5HASqgWram2XruTlI8Ekv4rI7Czu9NMQDbCPf2a6mNYdOn9Gee6O9y/+44G4K4+ReqKA8k3NZOLDhQx4cnrwfluD4uQtR3DxoEVL7Y/oRJdp8u5dThF7RXk3SB1XnRAYAIHKlwQzG4UisePf+/gI0MyGT0lfqTBjytfWXY5n9azL9TVYHLez/wRHNKg+324V5bn/RoReH475WiFXJ+aQlmnTj4x3BmCENig0crJPsJgRROr0l2q6f/zYLosIQJx9/U6wGkOqxl3I8nI6FlbzRzoCHEo/0c76l+6Gtcl8X+55Ji7vv7XMyuFagyZA5XNyXk8ngBEAL7OKqRjz9/oJv32yY9poiiHQ0ALabKGowLMNJ+9OkqyQpyzfB/zUWKpeIw4pwP+yv219mF8X+q1fQptHWqJIwF364b6mrGtg6YygKsA/s3Sq95k= 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?oSkd4CIJs9qiRHURE3hJhQKVGy7k?= =?utf-8?q?H2N/HrF0Egy0RuUhvU4Up1xTW5hx0QyE/xbcFUKyB6+OnXXw4Pjr7ItKCNtREKxmj?= =?utf-8?q?+r09M6lRilrJuhCNwxU4NboxulaJlNhYQJymBupf5dkv2BVGaPcXIqNLqhlJ4VgEk?= =?utf-8?q?/jlLplG7UTxK3ouJhAW2+kpfkvGygZ/cCYu8SX6nNfFiYcFbGOnP7WSzMFWqczEk7?= =?utf-8?q?wSPnfeHyKOk8jM5rLM3I0ka62AipfDkoPzeJa7J8e+P73Atlpmtg3R89JIQEdHFWV?= =?utf-8?q?DULAI6uMIIUpc1AFPVa1t5IanuOmQbPMr3KWMTvDAP6FmH5gkQGYSnfDbwL1rfHdr?= =?utf-8?q?EP62wwqxYOPOCSU0uKILETh9zw5QMWZiu0VDDjb9hGiUAvCTPO92IjsqUkWbHK1Cx?= =?utf-8?q?yH0+ueoEXZ/OMR7Su6ydMLepEpSJEEXe830qKkU0pr4qVp4XFgIBiIVQZMmv5pBVq?= =?utf-8?q?hqwIzTrMLSA4NsRcCQOyLytwsS1AR71goAxeXy4iU5ZyR9uaG3fW08qPVas1eK9A+?= =?utf-8?q?Q3oBVF+0yujX9CEIr1ELRklUHy6Y+rmeTIBSFsS89t1BrBpUiejZA3tZPC5m6DKXI?= =?utf-8?q?N6Tt7pw89hpEcXT8Mx9EHOv+a/6d342vht0nY1gvH0CEUnRr56HBjaMPcW0NwgX48?= =?utf-8?q?2DRwcI5xjJdZDMF5VlpWTOTo8uMQvtS0s47V4TIrRjn6pIh7WiD2SGkrVXH3qXROI?= =?utf-8?q?a6OUBGd1M5hXFiO043KyS1O9cxhEIBI0QzyBYgPr/xxin0pilfFFltISR/grYeYHT?= =?utf-8?q?RrOdEoPk/4MJJTY6GUBNtNEQSNlHZem660ffTOMlpEYMxRRyb+/P2uhrMRFyU2KAN?= =?utf-8?q?dWQvzCB2OuKe4oLDjiR0RvJWofO6DHVngiCPbvmByuWbqFUExvsyEhmN5OzwLTk3A?= =?utf-8?q?c27eW0k7S9KkhK4eZavCNtRpNe8sGjieUaBUgPb4VKrNvTWpGkSbjFE+DZ+QQ7TyW?= =?utf-8?q?lmF9TZyplAjP9imQGD6t8burPmkyBOyaqI286HJAKbzCLMx8y3+oLIEUjY/5Mij0n?= =?utf-8?q?4L8oasUzVb+OerjbzGB/zth7J5/1EtVOWPVvuWjJZ4laIufXs0/pA4ft5hltUAr61?= =?utf-8?q?fOI9+QQgyKlLElOP8k5PKHneVPJEnNE3+/PTk8c0w9mR27/JTAFRO4P+AyS54joB7?= =?utf-8?q?nrlBPJIIp2v0H9ukiQNiKGs3uxb7atdS4d21lGC3cCqLkjxvEamNFVMMiBPU+m2Ub?= =?utf-8?q?fnKkL9kdLbX1W4bjMNJBlT74KZ0qRg0+fITHz5xqSHNAN3FkJAvRNyApO3t8NVujk?= =?utf-8?q?jnLuvJmloPPtXqblLq3Jr2f7r1PSp34v5YddNt3au3cNX1dkWN+QLDhqonGUJKi3S?= =?utf-8?q?NnzBClEDR3G14MA3lU3tpOg0G4dn8b8K/X2BOF2MIvWl47v3zpUEwm1RTHN9+lDdP?= =?utf-8?q?t2IDd6ivEGYZKKKa9Op+Etk754fXpACqPEpwsvzuIVKgMh6JpZ4DP1JXCRAA7cbuF?= =?utf-8?q?QFOUCcptQhGtQ0rsgvIU7EXx/abBpjr+x86X8h5IZmZNUeVkMVnWQxrPNaOyjxBkW?= =?utf-8?q?/bnVBtwktJsh?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8da4155d-40ef-4847-1c50-08dc5fc5c2bb X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:36:56.1684 (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: jRifiVaKP7G025WkKPMATzUXEnQG4ReenUDLyLn70zBqzcog2kigloC/qW4B2bpN0ix24Ynd0iC9SYZagKsdwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 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 18 16:36: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: 13635110 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com [40.107.21.55]) (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 5472A171E66 for ; Thu, 18 Apr 2024 16:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458225; cv=fail; b=DbtDUYyA9UQsMph2RUbDi98X7CxpWWN3wmh27bjNq9uJu31Zg0QKVojLyZXIGYiYY6NMt2H2Z93zsoaE8EYI1KqeQZTbw2Fcl+nS7862rqOg5PVgjwWJA6S+d38W0Fc55e2+mvIIKSSnCFIgFdFMbAYdIRzOw97lRWm3ipoMO0w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458225; c=relaxed/simple; bh=74WRf2hZ01bpNrBc57wX17mWK358KdyRuKdmddDwo0c=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=jCJcgXqLngSWfqQ7xM0CknLFkLLS8EPoKwkklIr5FOcXNQcuOkdYI7QW6qr9e3T+75+Bb+TAkUVVGHKMe5rswqnYi6xMNbFCPg7nE0DKgGMZSnlMbk75kFUyKRYRW5ZrhlmeMvDp1UnJVhoucrqOaKGxQmnK5HqIiS4yr7ajPyU= 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=mBRWgx3c; arc=fail smtp.client-ip=40.107.21.55 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="mBRWgx3c" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dv5SeyNt3nktqPKv+O4YMUY/LIlSFDrAlvdUQYTI9g/ckj576w9ECAX6QaBl1I2Zjs/fHIIBqsKft57R06YRAYiSsZH5fm4+BW4fVNc0NJK6Kte4/7RfFXQE83mikabG9AhdeS31pTsHz/D1tVYrV8JDoP50eBn047CGl4WwT81QC2avYWCdVGL8rqCSyk42w+/0+jUC9iBfTgAf03DEmRLy8nE/1IYICfbYW985BAZRgX3iYI6Mq0LNl5BqNgTYpHZgoFrNT1NRcsFUdDLOXoMxNouEqxNhzm6Tfa0iuJ/tzDnKLwSQldXPHQwOGWEMxmzdd9kpVZf/gSrtYWewbw== 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=vOPwZ+dxtfymvQm7advunBIoPjrQe9QwrXrhqCr248k=; b=BUxR1l4R0qt3q1PlIAjjhv0lIJ7TrzjJa+4RvcQwUy96kYqFXvIlgCiDlCzaB8gFjZr5r9wqPtFCEzajFB4CraN28iBrU+/zyTEF9gnUygb0dotLgb6iB4qQsNsKdrWRmabOH6o3FmUbhI5OQ+cyR1EAqT3Bh3ctFdTXGaEtSVNG7lrlUdbO2YYS6ha8oc3EBnkcOzkAMHH+F0/0i6i21gWL0fOEESb2QANikuyt0YbeDEfT/6PWkcVKYbFrqVQ/SiyWykAeflsQQSLJ3JtMfFB3ieetr+BH3A2wGr2s8tYUoO+r3T4zlqgoszwnqij4qhZilfLNyvS+IGowJEgFuA== 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=vOPwZ+dxtfymvQm7advunBIoPjrQe9QwrXrhqCr248k=; b=mBRWgx3c10PcoIrkaBjNHVP9Y2WB+j7pavXq7W0nKLcCyyrFzJ3Qeohab+/M/lzdAKSyxSCpuH2xrpmy3bm4S9MP3Um5D/HcUNSy0ikwktUBMvUfqvYYgsA+rlEcjZ6M2RHVif0411uv+jZ1RmUNRa4rROzeKy23EMMqLbtnKbM= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:36: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.037; Thu, 18 Apr 2024 16:36:59 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:37 -0400 Subject: [PATCH v2 02/10] arm64: dts: imx8qm-ss-audio: add audio nodes Message-Id: <20240418-dts_8qm_audio-v2-2-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=17204; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=74WRf2hZ01bpNrBc57wX17mWK358KdyRuKdmddDwo0c=; b=ki8LbDvDBH03+IjkEyfQi/KfakyQeYnMPoN3Vxk2q3IWjcHGh5cIEKJPnIdwH1d9ikyN0D5BB 2BSpV/8M0TnAAn9jGtbId9vd3HOMIiqFX+DxqDZ5asV0SM3rGt2lrA9 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: 929c005d-94cf-4716-262d-08dc5fc5c4c7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /otHEYYz8/i2bkarQUy06c3j+dVG+b/LY8uEJMkkC7FeSu4N+IyrBvwVl8S6PSnTk/scFflKkRztkpgh2W2MHE6UUoR4fgFrSZUeMx4wduM52p1htRqGWItlQ+KRbBQlv7RKXcU120UZXaI0U+C5lyE8YPOMqJJP+lZQ5ScYC9ektCCFgW1U40qlHxPnWM9xg2KWG8pJ+Uq/f0dkgSgJVk4BmVWsb8pxbYl5+doDTFNDcwTpsUfYNzd2cMnlN6Wle2bOfUoxciv4P0+vSheVk282DYTYVjEarEy6JyxtuATGNuGDdPkpL0CmnfZV5bqZArrACgEA6i4xkVbGGf8FdlxbTswdGl451y+IGnFIMUTV1V3KNJmmfasSm2Osp9JoMj4BqQyM9DvNjH/22J3fCwt/FXIB1+TkX4k7Zpq8BenE6AsYh5zn41ZlVEc+2DFdqSJiO0uh2Up2Aqb3e+7wGvk6pWyFZbJZviDAmDXawCOogEOYGpUN34ysuLWo0wri5uQw5RLGI1KMbXxx+LS7OW5XC6KGBTMiSR1+YAPS1qlLpzXgSTfNzDWfy6wtbpJVf4g6/FlqnV97xr+piY8vk1XfpX5IWeNqdm2QCtO53ZDMBEYBljuCiTMaKva6YuE4Ccq2AAlZDKAZGo2DhfeoQE5CA54Fjf5T3qFX+34kPaO5gHklfY9Fk0FBVdBqH2AJJyAjRSg7QqV/vA0HSfyyKg== 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?EJjknI5rAS7X9OEtTshGsQGMGyYj?= =?utf-8?q?MhTnfr8WNz5Rr2MqKlG7sKw2KckvTqjaEcqj5L+5mNv4arwk30e7SGSErsISrtSv8?= =?utf-8?q?rREa0ckU6SBqACHcH3z33vSD2bzgrLJUL2WG4BcFsYYQR1NWcxW9XdWO17vLoYv5V?= =?utf-8?q?Fw0uGhDncBVSJSMiCWICNq7h0FzeUzHpzVJWkDQDGr6E+D38V4b0T4ve8D4JNeVmr?= =?utf-8?q?eFgy/mdadLtZxvKnDMcs4a9xs+p9X9XNC0GfNWuERCCYAzeMsCpLzIEvgtoI2pYGc?= =?utf-8?q?FUsQwM1RKjydLjkYR27aQ51ncvHdBZItkLuZhviDhM7Kyelfo/6S9D7iFp2fcsKk8?= =?utf-8?q?IHIQX5PZNEBBQdBlzdjtJoO0dj7OE+i11xaj6lWo3RSqxPWGFXdXQMyCA3XxvecSg?= =?utf-8?q?thfzEYF97Cx1LZjEEFjMkk7KQzom42YfA/zGCcBZhWThJkO/Fa3uIEfGSyAkJyOUr?= =?utf-8?q?G/9gtjPFvTE8ny0P3zNhR7vgqpvPJEht0QzK0mPijoRoi16xmcDOZf4cdSEV2lvKs?= =?utf-8?q?nnh0BJpGnf9eFVfj1OdtaihkWQXK9fVpSFLUvN+ku6Zvo3L9jiJaTJ1yQqtjgJnjT?= =?utf-8?q?XZWbGmVkn+vOr0Iq5uCsVwDbgbDpZW+AIGYGgLNbKbFutKSOAUse4lh3c7q1FpgZI?= =?utf-8?q?PdgsiGTBD2eoDOhHgB3cbV2N1373EwivJ4DA0GD1aPYxNYu/bwS+bYFJSxMtIVg58?= =?utf-8?q?ZwJ2tHFs7f0W6on6+LrtsvJ/ZhZQNkvHbpQn6gEbImgGNb3B+Aa56Jzaj8UfRdlFj?= =?utf-8?q?dHbrPAKsnYq6An0LHKd3fnuS2cwUFQ7bff5W8YErwASILTmq7ok9gJOw6GlAebGIv?= =?utf-8?q?87gQY1AAheRF5TOYE2tXiMS6rv28i7V1wyTYJNVeI8J1gd1PG3xFRiLnMEZB1NkXg?= =?utf-8?q?tNQ7hnGh5Yz0O+ZY/RkKpWgInHhXh3fCtZPClWmG0gMXqfetoMv2fUCFIhyNKn1Zz?= =?utf-8?q?SBECuTs2kZHw/koths8QHiysonC7b2uG6iMYJK0DLErIvOWk4PUuoY9X0sS9mVrpP?= =?utf-8?q?xN/ljJ2crJ8ZRjb2djzd+Xp/DM0DVK00G8yrD+g1l6zRKNLMVC2xE6QIDRGWtsZfs?= =?utf-8?q?dwU85X2cw39F7qN2KC8I6ghQe8FaAR8GJImiv77LVUVzriSh/B7xub+EbCr7KVR+b?= =?utf-8?q?BTFZ31eUgvHzHtAeZOck6Zr7xRVrmgwFskt1wWfvGiOqEb1DCnWRYtPgTcZzpcodY?= =?utf-8?q?XnkjRcUyI6so2m0kIyx9y4gSd7jX//0PRmO4/imwJ1EwXGlP8xmtPeoykBSNUj42j?= =?utf-8?q?gii4zV/wQPXUvHE1VS+iuD/igLxZ611QgzSbYQQnYOdQpxLJ3G60QR+Ig1GLp92/z?= =?utf-8?q?eySHbQNqi3OGeg1l+KbJpYSNdP0vWGKIR7+wCWeHf4FWOGehmGDgdJMBQ0sn2p6zl?= =?utf-8?q?EdsTLcwWoahCI/1dxv0VrI3Ce4E8czVGXC7PEFefgUK00g3evXzrUkJGRMk7wR1BE?= =?utf-8?q?iieTbdRwQzgH2VC0VjvCTLiTlI5aKPqQuLZNgOi86m31Td6SKJ3fCECm73jdtIMaw?= =?utf-8?q?l3Oej2yUjq9a?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 929c005d-94cf-4716-262d-08dc5fc5c4c7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:36:59.5527 (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: rO2krNoD2AOoEb4ZH0novBrQZjrDr8YbfIzH7CupPtaluM+tDuvzu9/XxnEJA5QLtZb4nsL1PO1x3fNAKrOhFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 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..ed5a1b4af1d76 --- /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; + +/* 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>; +}; + +&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>; +}; + +&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>; +}; + +&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>; +}; + +&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>; +}; + +&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>; +}; + +&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>; +}; + +&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>; +}; + +&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>; +}; + +&amix { + dais = <&sai6>, <&sai7>; +}; + +&asrc0_lpcg { + clocks = <&audio_ipg_clk>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "asrc0_lpcg_ipg_clk", "asrc0_lpcg_mem_clk"; +}; + +&esai0_lpcg { + clock-indices = , ; + clock-output-names = "esai0_lpcg_extal_clk", "esai0_lpcg_ipg_clk"; +}; + +&spdif0_lpcg { + clock-indices = , ; + clock-output-names = "spdif0_lpcg_tx_clk", "spdif0_lpcg_gclkw"; +}; + +&sai0_lpcg { + clock-indices = , ; + clock-output-names = "sai0_lpcg_mclk", "sai0_lpcg_ipg_clk"; +}; + +&sai1_lpcg { + clock-indices = , ; + clock-output-names = "sai1_lpcg_mclk", "sai1_lpcg_ipg_clk"; +}; + +&sai2_lpcg { + clock-indices = , ; + clock-output-names = "sai2_lpcg_mclk", "sai2_lpcg_ipg_clk"; +}; + +&sai3_lpcg { + clock-indices = , ; + clock-output-names = "sai3_lpcg_mclk", "sai3_lpcg_ipg_clk"; +}; + +&asrc1_lpcg { + clocks = <&audio_ipg_clk>, <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "asrc1_lpcg_ipg_clk", "asrc1_lpcg_mem_clk"; +}; + +&mqs0_lpcg { + clock-indices = , ; + clock-output-names = "mqs0_lpcg_mclk", "mqs0_lpcg_ipg_clk"; +}; + +&dsp_lpcg { + status = "disabled"; +}; + +&dsp_ram_lpcg { + status = "disabled"; +}; + +&audio_subsys { + + 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"; + }; + + 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"; + }; + + 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"; + }; + + 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_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>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index b3d01677b70c4..da49d4bad32ee 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_mlb_clk: clock-mlb-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "mlb_clk"; + }; + + 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_spdif1_rx: clock-spdif1-rx { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "spdif1_rx"; + }; + + 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_hdmi_rx_mclk: clock-hdmi-rx-mclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "hdmi-rx-mclk"; + }; + /* 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 18 16:36: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: 13635111 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com [40.107.21.55]) (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 1099C16F908 for ; Thu, 18 Apr 2024 16:37:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458227; cv=fail; b=foWtxPFEMp5AEIedGZwZQi/YzBViLrhwvg6Wl1VVhc0dT+wti6I3/AZ07rRDJd56sguoTSTQ/ajSt7hAbL5Uj5S5NQs77b2FgNYQTxp4BGNKY2tyZqRLRKVajJlEumcLmWb5dhPklLX5VSlm4ZOVlqcORduNZ8SOyiEWo5EeQGg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458227; c=relaxed/simple; bh=Rh/b9AhzPHgqfUXhyPNS+ooEafl5IZyY/rGIVJCUJfo=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=N88LKHZku2I4ZegjAyQH+sXuXkrvfUCBA7crcXOGroO23h6Kq3IARxvVAxyxGjtg9ZB2kMczcRH6uUQUbfMn913Rf8Jf69HFypyzmhOSMWEyUewOl8FWkso1R53ldUydvCM0raBkDEFxtiI9LM3o1+39oGZJM+keQXAhKzkmBa0= 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=oJPMrIY5; arc=fail smtp.client-ip=40.107.21.55 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="oJPMrIY5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jmw0cKy428AIzezwB5bBlciy6YNe/V4gnomhHNmWE56o0q0Hca54ixCIHtLhyX/gNCBbCSyyRHV5mrctPcbmHk9IvNbwmBXlFR8GneEO9JEAn/cKzRgDF468ITyyL2+bMMdqnt5pPKa1LHzhHMKBZb1Ed1d8whA1ts/PDE91jRzLQYKMTR+gGAFq+KJmtZMTD8hiiVUjghvtGVeCUZX6Hj3AX7jBDhVhY5+kkD2IdcCvTuhsKRDjug9lwhtTfDaXaGEgABDUJdleOkH6la4ZM/aZcVNLDxNBg/+swKeXAfHMY3NyCqXlRKw+AA4p551c2wxGQQtSrbms+fZsojvT2w== 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=jikigYYfD0fsPyQJhI0NprYi0N4hhry476mPk/hhN3g=; b=FmnN8wa0zgtFpKD2jPUmRES667l8cq1KlhU0p3LUFLentuQV/yRF3eeushBvQ3XxuJD7WhdtgIt3upBC++UB+cXW1jKSGdu5FDosU2Bm8uybh2pUFVyBwCAUFeaYwBX2DNuH5IqRczA5DmcIxGz6zCkAUgeRC0+5CbqTxf6IC+wi76x4PDh+35Rr27lH0NSkxC7IdA+Zjz2Uc/9FePYO/6tKD6xWegXtauK24TKFn6E7AdmwD6hcacc7QSi+moAMIbRJq3kDrs8PN21T8Y8FcdKYV/4f5iDOn6C2akxtN0pKnwuwc4RfU+m5IxkVeOqvOwLluZNghg9Lqol986jORw== 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=jikigYYfD0fsPyQJhI0NprYi0N4hhry476mPk/hhN3g=; b=oJPMrIY54G88kmU94tWdF9GEUM+J+K5jXUblRhbdJpSVbOcugg/23i9dHk7+7MloR2mZA/lg95iRAIYOKe130Dv9JgGW24OVu6QIw6d+3ii6XzioPhveIU2q+RmbEQ40T47eDO6w4JXKYSve2bdh2RLD9szXmNaWQ3RFAXpscvw= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:37: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.037; Thu, 18 Apr 2024 16:37:02 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:38 -0400 Subject: [PATCH v2 03/10] arm64: dts: imx8qm-mek: add sai and wm8960 support Message-Id: <20240418-dts_8qm_audio-v2-3-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=5359; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Rh/b9AhzPHgqfUXhyPNS+ooEafl5IZyY/rGIVJCUJfo=; b=smoAAaW1TMZZz3v44cvHQHTphVRrXxEMsfxGTYFHBHSlzWGbu9l9D12K5DAw9++NN2bxf7GPN aIDF900FUXzAat21vlTeGO0k3jHwJ+RrmSN/niVzFy/CRssawtl7LGt X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: ade923b1-76eb-4d54-0559-08dc5fc5c6b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UPsLw41rVf+yQNFHohkWhZdK6cC3NNnsx6rRT+TeD89yT76/XnEgSdAAXI4ajto7E6aufGk3cFKaIHjZnI11O+K/zJts9SDaEkCPQZQGXz7eCWOMtG0qeN/84NMRSfFiIEaxyjL+kHbwFBYcCWaO7WuQZmRuZbRZyMGkHCcLF23+fc3yKWIzk0BmrOq9YKToIJ5Z98YAvXRLhKeQ99UvF6wuQ1O3Izb3W6SLJ9tIHZaQRw8PHgQpfqcMvFUxG5NNL66gzCYk5bN2yB/y9p/bXJKdjFZ/hDTSY1LbQ9ZfV2Or7cDtLZiivXtI0L1Yw57bcVyx8PGEAX6SBWT2CSSLBYbB8l9H9XAXDT4Xhl2+RThLVE/AAj1du/LdZs/VCJFyq3VuWTmZyR/8eV4QDFjEGWA8lXJtH1yjwHZv3oi5nHQ81Ywx1WENCTJSCAf7HRSgfPDlPbH4uHLVBY0vXkMhPZEyNoQyRy+D1ZaP9O5tcZzYX5ZonnIm4KkxNh6B1+8N43vUTzMhw89p+dai2+sXUSZgl2VjCUvgY+RS+V9JkyitZ79s2GsgtIoeuMAz/br5nzbop5yI892XLwHP4DEzBFQfp96HAXx/1YLRnSelavHdEIOTZZlJfFf86VMV26CDUT08OE2I+i0Rvcyl7lRbeHUK9+v5XgIS9H7kuvOaoI6e+0mzaFIvUKW++lEmnIiQ9aBvHjpfXe3ykmcTECR4Tw== 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4PeULl+J0nnbIxiGCkXDpr+iOTZc?= =?utf-8?q?pR1jscxDtD+g6kKDY7+dZGBeAJVKCHOTzgfkeY4Ctf/EYb1aass3ZaB56l9XNFOzv?= =?utf-8?q?70YoYsuaoJdibm7fqay3tta6m4dg74dXR7rTJgmD2MNR/c4a2VFfA3aAL0AOLUmSY?= =?utf-8?q?va3v216lnUylYr0iVTItOKGrowcxxyleGBuETaji/cai3pgSCwq4xiyYjHGe4J8X2?= =?utf-8?q?X1uciScTl+MKPyHt4tmiF7Lhnu/iOeVn6L8ROUBsoXwueIEUWsh55C1f+6ezECZXV?= =?utf-8?q?8r2YJOVxLV7EciXdyyepqdK5aaEegKIKFCwKY0qaJEGdQctNINgjkX64BvBTND5bS?= =?utf-8?q?1Tgv76uUJchWUioGLyqMGgRykVx3Yk/hdvGF0RIOfVNHOuFJv9pIFXfKEcCTRGlQa?= =?utf-8?q?mzP7PI/98ZDfu6cym0dbQRHROUuVSW7H0yaf9JNcGfd8BMdADbwrTEzgXVPFd6YUw?= =?utf-8?q?BbVb/DP+Bo2epTVr3JVO/uDtPdq2Ixu0NbiAzBX54ETaYRmWgOc8kU12NXNQ+MYro?= =?utf-8?q?FSKSutkywHJByGnYFbg49AVFv1w/WIelCXh2Z2LRbN21TZrL5GoK8cI682ouJ/IQN?= =?utf-8?q?x18LVO7NIHZYBDFd2I7FwGWeZYjqvJWWauDX/aZ37e9Rl1Inf+vwpGQTP6M55Z55w?= =?utf-8?q?6k4qd6RuVjevYIzaO/bZC5uc1yuyxaOZgPQMWzBnRa/XCcx1+LjoEWvuIgkHhFrZB?= =?utf-8?q?QWrpsdIvMe9nEKyzXuVm/LwEzr185ix8ISbTOmm74KiuJTD8coUWlmcHiVQXMleIW?= =?utf-8?q?f9q/MUOYj8N4onpGd7lwBI38Tycr8qswjgKuCW503rL2J/HQJFbQV8x8eVgtw2Eca?= =?utf-8?q?9dQe1a/LA08qJQ9C+79L3Qg6EquJOGgSaYuPY8ZarlIWntv7AcfeuhUiJxLrYUWij?= =?utf-8?q?/6/kzhkcHaOyx9AbTnbSJdoAbExA+f97HvEsvM3Js3aEeZiuDKaejTbfck71TQAef?= =?utf-8?q?EXvBP7JZthfSVVe83zc7ugfmV0f8Xc29Pyj7lFvrbgo0fB1lhAeyUz1vP+xpk62u3?= =?utf-8?q?dw+bCQMGKf9Y9b9MwU+DM3uaem2oSTOpz80VBp9Fhk06m5GYT8qER6yXZHU2AAhY3?= =?utf-8?q?0SenikZf/FuM/X091/4tn1crU0LosXzF4w9jKvWUfT2Xa38A2vzIvgVw/3Btix7F7?= =?utf-8?q?klyxhXGUqVIRnuzUVoXpx/NphIDvO1VMkT9NAb5HXGeeGnkrNxoxYgfy1gh7YM+h0?= =?utf-8?q?Mvc3xvPiUkRfT9G9xtHSNM0NXs+NU54zVbpTC3HcdSYcucSuLCN0khCSZtSUHrj9K?= =?utf-8?q?54bN99mg3Zwfp1uZ6j8+ifBNTA/5p6mBKLHD4IkHJ7bUD2AQIVcRnwxkwe5brQMFq?= =?utf-8?q?1Ynu0QR8Z0vw7r45mMwuVJRJt72MxC3HfEVKAZGPf6/5wPiqCu0cOAwfLgdL636hj?= =?utf-8?q?KiXfgIM5TntQKdyO+K6G5NcDeq1VriZOJNfdOB4+XyUwBM2YO99kheRhr+ZOcMU83?= =?utf-8?q?D8XjN5JFat/j57EN6ifFrvhwveDTg7rEdURmgE5I7Uqh5siRUXiT4e8Zug+8yYk+n?= =?utf-8?q?VnQ5tVLEDYm4?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ade923b1-76eb-4d54-0559-08dc5fc5c6b3 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:02.7742 (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: jWlgRKLZ1Ro1RcSueE0HxKqzgppWVbgAXOLVFlonmEv28GtizyWgVqNBfpdqko3zD2Ys7q+6x7b3eFa90ur3kA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 Add sai[0,1,6,7], wm8960 and asrc0 support. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 140 +++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 5c6b39c6933fc..9f8d3df00f793 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -46,6 +46,47 @@ reg_vref_1v8: regulator-adc-vref { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; + + bt_sco_codec: bt_sco_codec { + #sound-dai-cells = <1>; + compatible = "linux,bt-sco"; + }; + + 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 { @@ -65,6 +106,77 @@ &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>; + }; +}; + +&asrc0 { + fsl,asrc-rate = <48000>; + status = "okay"; +}; + +&amix { + 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>; /* FIXME: should be sai1, original code is 0 */ + 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"; }; &lpuart0 { @@ -161,6 +273,16 @@ &usdhc2 { }; &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 +378,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 18 16:36: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: 13635112 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com [40.107.21.55]) (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 37674172BC4 for ; Thu, 18 Apr 2024 16:37:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458230; cv=fail; b=q7SIzcAHpfguG70PZTdtKqwDz6a9h7ghu05hlSevMuA0P3X4jNH4KzJ/J+m2M2ggJOK6h4eRXq5DvFdyQ+tiEGkUPobMf+v19M4Wm3gHLdjLupNAvHgnCcMdPt7NBRBDlbSMh4QXnxEXpCXMurAP1GTy/pBPnDA///+VFG2F94w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458230; c=relaxed/simple; bh=tBWF0Asy9OzGdJVvC/vxC7/ms1YGwCbPE2oc8x07IEI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=LyKgbEyxpNtXDX26l2s0TeEESi7KznNbv2oL/f7gxzQGbnLSWrnpT+OiEVDfPpi88V+zHDKl6BdA1f4K9XMeXGZVwUqf/Lt5RHLp9m7M5soSOphA0MHMofH3fUW5CmjUFUqCbwleeqH6zR2Ly62NqzQHUazN+70v4swW/S1N9Ow= 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=l5NCTrZx; arc=fail smtp.client-ip=40.107.21.55 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="l5NCTrZx" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H22ZUl59XuH3ZBpctgkvs4hwue6aYsPJTIr089gOypyGM31EML4WE1IJA55jkuFiC9G0hsi2Z6xuSmJBzzjeAiNq5ixD5BbGzUQkNJ8/irl9N34ZwQwCv4SHozOS3TY3fBqyiAi3EdcRiVsrLt8rnoBCHgWB3qZ57RCXImftf52cV6onT4SddiQqbbqskwPEuW18XLNnvMVokSNTNmDu1FWaYafkJranNalpldkE52sR0httDyW8XCjfq3UoC2OZXiCqvG8XwT4qEV6vt7jtXhfygNGD6tf90Ll9Kpun/nlg6zeeL/FxT26mTENT+aaaJXAu2yjoduIzMPLqXCJWFw== 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=1pfVE0FL5EjoFxtfQHO9cTRC/GSrOq8OvMAS142KhT8=; b=Jv0QzXiII1MhyWQSVK2jJvnaYUMgGxiNUgof09IWjkrGL5w9k53+6q6u5Uw0wdw6bqvT6LaiirHv7ZCUsp27QnnF2B70aNP91Mix39RA46v3+mFerByXyEvG5TqyAQGhKleepARTF5oPjKiOofnhbNQu20VFOcGtTc8mBwmSS0cEDt+LfXdYHVi47MF7zLq3hw/cPrFMeip/05evt+ToqSnrqlL29Nt+2b0GbN5/Ab9akmVhTh6lzYTNEATeWufwgBxLYwLbuYnH3IJu+1IOalkEbJF9NEDUeSzVAs2cZLYJHdLPSPyXHnSRqxpbv5Nh0f+zp4hm4Rz4VC0h8PAIxg== 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=1pfVE0FL5EjoFxtfQHO9cTRC/GSrOq8OvMAS142KhT8=; b=l5NCTrZxu5paN3oMssUAzus7/FWrAeHaY8tIhIGAeNKd/xTLM12JdEQzrLo6jVO7DE3znHhPOT6pptjMZ6/3ueoSAixANbadVdL5NjQ7Wb5Z9HvbXMjGUgFnARnUEP8K774vbldo2ZgBLGMnrqZ5ZAJq0Lhu0w+OZxdJwigdCNM= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:37:06 +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.037; Thu, 18 Apr 2024 16:37:06 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:39 -0400 Subject: [PATCH v2 04/10] arm64: dts: imx8x: add cm41 subsystem dtsi Message-Id: <20240418-dts_8qm_audio-v2-4-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=3146; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=tBWF0Asy9OzGdJVvC/vxC7/ms1YGwCbPE2oc8x07IEI=; b=sv5z0pkXG5/erE6XXJmzdqGCQSlFOFbFtTneC/tMplo5v8k7daK0bn1jJvRwk7Ja9Eq2zpAsP MfWratKHoRLDc7UnE7rxDb88PdnQDcy1pMfZGZ7UCw+05gIYlmUhr8K X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c5fc490-1702-4f86-0002-08dc5fc5c8a3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5ZL0l5idfJQTOXb7WkpgxvFpiAZF3uyUNtkmfqhkub9rN2POU0S0wzQmbKX6C1jZTqZHqXMfOLysnVTT3VNjz2yIt13eAFXVBTd7CT3Ldbol8B+74g6OQ1ml4+uW5pooj2vDeuRfMtTg/TSFbc+Itt8ZvufXDvpFiDhy8QX8c72gBhGKFYJdaLX2J4lh7VIZeOwVKCB2G/1oAZejMi2VJ9EED3xDY8rux4yrWEraUFROdzifQ0+6ZKNRZkpQsaq3Rb9RTr4NMf9g197iWx7UT1kd1L7ALUszw3yUQ7GJuW0ODlLz27ssZLIZGRlixa/AudfSCryAiJN39KRzSpFEJjmDOxHhqk13hqYKqRmKr5Mmx64sLk6/TxPolAecv+pg/LP7KuRZ2quj6X7bCHkQYx8ty/BhGblhrYmOKwhj8PUYacAFbPc/VxuxTZWvavRVy4F2T2OG4CSROtWssnQiSKpzHzyP+7iD+mwApSG7Eb1g2X2Z5t+CQc0Nuc9ZiguCAjEwiJsMk4GIJYS9sMVgmarXIHpjbkRlFxwn1EaqMoK29mZx2FV15VcERH8xV/JSRCuQDstocUHqF0Gc9LJu2H0dv/pJDW0JJWM3RwLhb6vUSTqgzsMGyccrv+kMyD1j1aPMOa+DSHm0xq8RApAVDAjg0jgTqrskscv1oNJvVxZbNujNxxyPvI3TY9HcpNaBzaqD/klcnQR6YYXD4VeoPQ== 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?OWooaFj5X6ErOVVJALABpFP60LJv?= =?utf-8?q?Z3CpPRYJGGbQHAx2ffIlKiWYHUCVO1uVLhWAjiEHkQV4IGRr0OqYnDKqKXvjKrhF4?= =?utf-8?q?34koadb15RXmLtx8qGD7ImWazcjUxiCXHirpC45rAbcECqvzU2ADTcMm1MJxr1Opj?= =?utf-8?q?/fD4O/bWXsbN7BKtohCY5ZuJKTMBY/nDwFxD8U3g+l8Mf/NNZR2yMLldwyBwFWiSA?= =?utf-8?q?sktB4zDrv2bD1uIRN8QIh6RZMU2U5ggjMW/01sNyyYvUlNXIPd7aC3Je8W06JV84k?= =?utf-8?q?bARNzMn0hCcOKNaNJZxrXUJTWBmKEssZoegWiHYXaDLPqX9NCINyNXrHQDU1uNNSg?= =?utf-8?q?ZVeePzwKS6R/X4EpxX1FNPCE86Xzae/STNHv+lxdOiZuFAjh8EFoGi8r+EVyiuAf9?= =?utf-8?q?uMGo+FjmhnqBgoBNuz7HKeKDDbpde2ZHzil6XNGvh9fU+5L7Lj77RqRn6OaKddpOa?= =?utf-8?q?Cg9BvRxHPIvJ3OXDbdLZhw1MAyAjSZVP9/7VgaUkmcDsh6SsI5o1he7jQH4F7tvjy?= =?utf-8?q?uwKrtGp/9Xhl8q2B2E+7XAikZGpszAGoOkXZ//T/CE1kTu0MvLkYP7vf6rARpw1IM?= =?utf-8?q?RbTeb3DQkk/oLIBShLAveAdj3d+J8lIWMgofd6M4hKhmSbGFkUXj3FGS7OjR2es0T?= =?utf-8?q?909LBNtGS0hiJKSnd75NOVbMvaDZy2Ozh2PfPXbSJiyB6eGuyyJ1HtumN+85dV54x?= =?utf-8?q?Ge3FPruX+TIgMcPbMJjs9mV3lYz7cL6ID31rzbX/QXkO5B5pS7Io8y/f2dSopBBTh?= =?utf-8?q?hughJLGL/Vm6rCW4dGcXTdNnvc/LNodALPnk5zlppHHX7CrW+/zXoJ7ns6QO54mit?= =?utf-8?q?CHw38N8Yfnivw7OSw36J1U8nzdniEKgvTqXofUl0/Ty6qYOwDi0HiQ2neaWqF1Gog?= =?utf-8?q?TtRHS6orxqrEn04PuUqP6pLZL335sf8AYkWH1g7C84i8oz+5nP1G/hLqPaN3MwJ47?= =?utf-8?q?h/BzmEwdVWOiNhEP8jzQzVK8LQbplmvkzNySiJcYxB8/I/VJA2C/Txw+b+dykdbzN?= =?utf-8?q?RZiF3cbR7Z37Nu8v1TyS9VYbxsuOIjwdlv11cffM5cy6kk3Yeps0ZrxD2V9tNgjTb?= =?utf-8?q?AoyKaU11pcN5Qm8CKLLyt99gFx3t/bYMsHWTCOKCD3A8me69zi3Szb5UysC4LDw1G?= =?utf-8?q?i3+gwjaXCaL1Fm5o09N+zlLiwUrL6Y2XW83a7SRuJ2YQaS6cwexlnht02bM2I0uaR?= =?utf-8?q?CEaHgDnNUrSONQZszzeNGa8JfifjTSuGUAJ4ArcQUUcb6OWkWMOJjFT/HiuNFIaMY?= =?utf-8?q?dx7zYdsOVYV0Y0G71gJe+/3yHk9/TqLGUQ8xqLm8qqbZdRhxeBpZURp9Cm7yrAgSi?= =?utf-8?q?By24zbXqf+Aym+lw78LftNYKp7HOwaipwQ71UGF7I0GdMIA4K45C3OQI+Pwyq2pgT?= =?utf-8?q?P0Bwf0U3+7Tlv/DJ10KDjn+9/YvEBn8tzfyT44IWIQZnd8oNHhkJqucZHJFdUxT7R?= =?utf-8?q?BaxWSLsZXX/aGq87b1fQ2K84q8poWos2PZArrDC0dJOKdAgRyxjJbmI+dqpZJ0mbr?= =?utf-8?q?4ytgM+F1MvTa?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c5fc490-1702-4f86-0002-08dc5fc5c8a3 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:06.0196 (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: TLvhx2ArZv1OZP6JI26FjBsJgeRNR+amZwM9eevUtRzWWWqQTbfepmRPZdg05KZGDtLJ8wX8kfcL1sdZPpiwSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 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 da49d4bad32ee..96a940c6046d8 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -546,6 +546,7 @@ clk_hdmi_rx_mclk: clock-hdmi-rx-mclk { }; /* 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 18 16:36: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: 13635113 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2081.outbound.protection.outlook.com [40.107.104.81]) (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 0F9F4175548 for ; Thu, 18 Apr 2024 16:37:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458233; cv=fail; b=BKUqwO3FoRhDytuwvx1FGo3ruJOqbB8VIf4/IRUxSxYiinS7g+0JXEAlHTFYG/ygAY8p3+E1yicfQv0iIqKtS/8THYGehRvr8cOgQFckjocWazJZjZwsCto2c2J9C2utHv7Z3n/9VmUmRde92dQSc0FiAF8mh1gN2+R5UaCp28c= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458233; c=relaxed/simple; bh=Jfg4Vvplj+RzCDKt5gzAaPXK5833pBM2PeC9Y+Nj6Hw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Te5OJkZm5joDkoqBZXRSdbdSbtqhisXu/sxx9VuRF9WeNSAYsuwAooFpA30tP3K5m5w9pxVuGJBo/8XelBml71CfKoJvx5VKSoGSNxdcjelZk0fOodP6X7VOGVPKA3BvqWggAVdrC4fIldrfRKA2DpcWbCZR0eWPmkLQO8r6zFM= 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=UkoaJ+gG; arc=fail smtp.client-ip=40.107.104.81 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="UkoaJ+gG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dVnpPM32e2sxZXdwuU2xRVDqabo1hFkdyXZvBo7pFv07NbkjGuIktqlon7dEqyVcV3SUwj868v9oFNMQGVjqnuGIbbuPwnX/8PNaRdiOYzgkEHPkMAw55PYK6Igqkuj8gCowuBNXromxgDe/Pp0S8ILqFLjD45rf4Hl1dszleIXwmzRBLAo+EhTXo7pAXYUxG19PEB4LhGpI7XcN1DESq9Uu14ePbRBS+6+k9RT4LlTFChloBiLXZHyls/Ns4/wyUWH9Q2ixt9UKy04Q4+0iAOxUDH/Ggx2XcXuzSPYaI0N9/CjRAtSLtTGhT2OLk7t3N1nLG/Fe8OtOKCzyI0d+BA== 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=9Bwjtl05Hm+41tt8t/fWxL05NkXLXiF7wCsejzJxWq0=; b=eMrq4JLLjK/p1Ohn3zHCBLppR6JNkCwZ1SukY7zq+5GFhSC7A0nX4EMeBfKJZRPjtwF9U9vOcXp/MuJvUNq8wj3SPbp8ZYgHW6PJii2pJ4s2GasWBOPOPOfsJZHnQP5NLv73I90t98ST3RAl2XAckcL9ueKA4WNzGjYlNP6Me67U85H8JS5JJ6ICi/CHlxFKsXdMlqvnThaxBy+FS/SQAif7D5gE6B+q6RNH+cC6LILH8QxvM4M4dsXQlSXDiy8F6BSMJhiRO/vCKwRB7UJGW6baYVPGw3zw1035D/6+TVezbCtwegg53IuEnXWZml487IRGQWiGZxyQ3pnkSrHVmA== 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=9Bwjtl05Hm+41tt8t/fWxL05NkXLXiF7wCsejzJxWq0=; b=UkoaJ+gG1YZDubElMoCjgQNdkYT8btuzd0butdNdGeCzdFzlmWl5DsVNcCCkpZgji/CClKMhUzQgg/vV4YgXCpHlogfIn0t0wWpk6bH+v4zUvQzzsl9WNCWhrGnpRbWZN75EpvmTmcmOiGUitcLKoz3qJ/qLasQDKReGylklPQw= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:37:09 +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.037; Thu, 18 Apr 2024 16:37:09 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:40 -0400 Subject: [PATCH v2 05/10] arm64: dts: imx8qm-mek: add i2c0 and children devices Message-Id: <20240418-dts_8qm_audio-v2-5-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=1711; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Jfg4Vvplj+RzCDKt5gzAaPXK5833pBM2PeC9Y+Nj6Hw=; b=rZ+MThLPG/fcvG4Rpq5t8dpQNQycbu+juxgqWCI7YhNtqeb2t6wMqRMYia9J6GV6jC10Bi+r7 l6p0zAzblSGAsuloUcRQyFXtCGvjnkSRZ6czGcGhq0zi19gx+PC+VCS X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: dbc1984d-1f56-4956-9c8a-08dc5fc5ca97 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jsz3teHbg3sqal4aI+wsk/VA1gvIldvuIyxkkrnJT2wcnrD0X33HdKMwo8nfNq+JEeRLlwEoh3NCmmf9fR1UuTV64wsGWAKgw2uc4DYqrQ+Gdo53nzJSZK77rSUXHgEaKdkzCVi7yXZH3uDNfG5FA285/IFauEhuyoTGUGXd7KNf1PGuehaJSGOLlunL/LnlpANEqQcPEwkAivfbcJNPVKfnBTZKgAiGHDrQmWzXHXFQgpT+hoepl1A51/4NkLbIO8ky16FQZvve8/3yzSlgbh2fqI1DWQsIC+JNr66Kvkk+gNU4viBoeKXtQkCqbdlA7jHzRITuagArBdtCdEHUVfsZqLapD3ZWeXnslETDuYkDhQcumYgzhmwbQw00HIcAEYi9v+YkqvDZGP03FS7nWiFqgJwTDNHcAd3jNUk6UbkMy5iDtBApU54KM9ZTihSz11gcVipTui44gVC5cTfr2luQezp4tDwuJG8q1q1pq4DLI60X6kNBoKBkEVXk/Y978Nr+unTBDhEuuKLig18zwCBP+/mlN4BPfSv9bY1xxKIdAyv+PJGgPRxrMigGI+VEnovw9b6wUV3cwimzS4dmo3U6HMsALYi5pfq1vHFsSDWxnsToPG2JIVOAj/nqi5NR5o2FZZCxbxCiyNtGLMvYjQMGMf8U4tBu6plb0QHBrLziZNi5jxBJ0kXwMHgEM/yNdfEhrG9zbiu0AGQZD1QeMA== 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?cCL4oftjBvv7PpHUxyQPJ8BmOJxE?= =?utf-8?q?CfaA5KGmHDoncfmkhfKwbPT6BHBthbrYyh1TwuSO6YLHhwe6Y3+935ABubpa0jQnw?= =?utf-8?q?M3NikgkWnmpfDsBGltMXSeGAa3pYsHVIk8P3fF/bIyriUbSI4RUGM4QyiGs3Q0XhE?= =?utf-8?q?0ONNZTZt4PodZi1b1mcf7iNbh9fWXHe3fD/q3etd0Y7ruO84oPx22DsJMxvqhBESo?= =?utf-8?q?v92bHeCapyBvsbZje+4Gt13U/yVImhrL/k6ArJ2OX7CO3A5F1omLQKuaExnr5Hr7s?= =?utf-8?q?32zBX+HTgmv+Kj4nL1wMD27nY6n/i5GaynaWxqE4Ov1tizI5NN0I76DY6ayfkG90A?= =?utf-8?q?YuV6oo7A30sA+PcNfUpUb7tjlw5qfVK45oz6AIrzJ4puZBUyzgFLTyQBdNFRMckRd?= =?utf-8?q?LP9nFqlkNmanPulf/QK/ADoxteBqNNj9HptV5qpdjcwbORNUudZHK5qIISGCDXG4w?= =?utf-8?q?u9O+OLKW8rLymw2Jrl/IJ4+9iLk3IjRmUt+IU5OaP7k34AhR+XEYtrcZvmLnF7t2H?= =?utf-8?q?aBAx0pYbafzPnXqVzIIo7NGf3cX9m3k3Qsa2nyDw3n2HHDVsb7ahKDF7ys4Npbf3r?= =?utf-8?q?bLsJkc/Ettt7JdlJI19tYbNjMfE+aOCVT3cweTcAhloWlnXVSjDiUXKEYtRnSFhE/?= =?utf-8?q?hHoUNP2vNdSmPcMo5xCQpR1I9hXk8eeen9EsTUMW3sgBLF/rfmjtvt+qR4mf6oG8Y?= =?utf-8?q?TJO0lWQ7KjgIyKoR0yVq/NTb5g2LGZMur/nYuxpLEMTZ5e5mrhO8FX5FEA8xrKGiu?= =?utf-8?q?PQKZrI4EOAtEgiTGNtKyaBeoDU4GgmUzK2bCPVZ2IdRzn+/8hYOnQH4TJzLuHJrS2?= =?utf-8?q?zi6+dX3kXPHvkoUj/IJvJriTQ19CZmoU5RlEN3CDJACxapU4Kz6mEaoDCW2XMermt?= =?utf-8?q?3/isHz8ZMfmuZ8o0yyFHEYE1Y2EFsyWrNIcq1Ys7660+DEqVRB2a9LkMOCDmUbvzE?= =?utf-8?q?UWOLOs8O1nsAXU6M1jXi9tMOboCXmfS6FUmAs19ZyoWGpvsTi1ZwhyGe4//Bix+tR?= =?utf-8?q?q2UW9CQm/+6M7vCof7tLIyq3FwM3xQZhwwAfzmZF8L3cOqV7uqUFOtr/GniFzIDJC?= =?utf-8?q?16jgEJhAewNf3ohiNP0CS84lUdbpFrliHtC+aGdByST9bFejUvWo8eZfv/6q7e0RU?= =?utf-8?q?EPaCWkDx2uZ1fO0ZUORdLpjnOREwcE+RCrBrdkXIPlgguPa3ZKculPF3pz5WfDzIv?= =?utf-8?q?BII9n8FGNdfxeglAGiG+fx+VaSSQTbSoVM7572maAUQ42EIqxYS4AgT2YkJ7LvO3J?= =?utf-8?q?uUmmHD0v4vlMPFVcdxmXbiv4DXcjoyNjPBL3lcMOaQO7XGLf2b59YL78Jzf55I2EJ?= =?utf-8?q?PWSmf23bOP1R1Om6N8g/vu1Z9GmGn7cJIx5gJCEZGcXs/Tv5fNA78xjaU5G/rA/mK?= =?utf-8?q?GKtUS4zOsrEqE8VrX7Pl+JYLWvt8DapT00zoHRI663k4zRxe1lZ+ieIN6jgzxUWBA?= =?utf-8?q?vQWQFg4bshTFbkZxes1wpQ/zz2C5b/4mlfO5G1VmIhsV4Iv00jcGNXGfPaNnZlJ5Q?= =?utf-8?q?ZEqz44eEXhyT?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbc1984d-1f56-4956-9c8a-08dc5fc5ca97 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:09.3134 (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: 8B/pZpoSM0ivaYlmNPxD/ViLKxBxDIrwQCo1jMRQNgHPGYP4lTsKVeGFQicBJQNidN1gDqQWEIEpJtcxY1+Q7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 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 9f8d3df00f793..e5740f301bde0 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -96,6 +96,49 @@ &adc0 { status = "okay"; }; +&i2c0 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c0>; + status = "okay"; + + lsm303arg@19 { + compatible = "st,lsm303agr-accel"; + reg = <0x19>; + }; + + fxas21002c@20 { + compatible = "nxp,fxas21002c"; + reg = <0x20>; + }; + + isl29023@44 { + compatible = "isil,isl29023"; + reg = <0x44>; + interrupt-parent = <&lsio_gpio4>; + interrupts = <11 2>; + }; + + mpl3115@60 { + compatible = "fsl,mpl3115"; + reg = <0x60>; + }; + + max7322: gpio@68 { + compatible = "maxim,max7322"; + reg = <0x68>; + gpio-controller; + #gpio-cells = <2>; + }; + + l3g4250@69 { + compatible = "st,l3g4200d-gyro"; + reg = <0x69>; + }; +}; + &i2c1 { #address-cells = <1>; #size-cells = <0>; @@ -283,6 +326,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 18 16:36: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: 13635114 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2081.outbound.protection.outlook.com [40.107.104.81]) (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 05292176FA8 for ; Thu, 18 Apr 2024 16:37:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458235; cv=fail; b=aNVrIf6iHDCxWsW55Xox+IQUXnOK+cAqn+fd5mOunidASYiIwCLgcpEW4YwuMFJ7V9RAcNiOINFGzXqAKGlNcMS1nRUtAe7jXr9uJsrc8Wsqj7VuA5uPTC53fSq9TPaGTPzBqrDNH8/6au4u+jBNC4iH5MQQLL1OOnYWC6vMTuM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458235; c=relaxed/simple; bh=/qWkdmCItfnkKhql1UId37fRHLMvXRFCRisuxFSzV2U=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=RK6JeqVF3tVUm9yG1POTiSKyICxFE+zf/1A6BnfcHlgZQkAy0cWCqa6OFQluOgHlC1p85cG9MvGQ01DOnd38uMXP9gp7TMcf3ud3keEVdDEerGmqUi2Q+c+wfMa6MPxRXEw3mqtGfhdjxyOvRG7woWWSLitLVrNSG95ffVVpegQ= 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=nqoTdKCA; arc=fail smtp.client-ip=40.107.104.81 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="nqoTdKCA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XLLWiCrOydwZ1ONwgeyGuusYovHNS9iFz9Z/R36/pNXV4/Ohd7hM4PYTBB+g1bwXhusU17j7omiKe2jgo82Y3Nd0bD8kmHnp3goO25wQdaxQhmtsxtsd7aC9yz9jbE92p5tFfOxYj8a9IgDmIeKa4p+7Q/llo3WHTHdCM4Dj5zJta9XSR6W30zqr3UBLB1UZhtgsFC90K8dgyfGu2gGnaa3rjXu0aT1K9Pb6fts1hS4tLp6qGXBzn2uEQtFvtlVfm2Bp9S4QbKxwZsnvDBtitaknp74Q+ySya9QlRDEbEVvJ403RXaqZj3sGKMm1Yuxy0Bhxm96f2nxz6A65dY9qYA== 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=Bmjb5ouB4TJNCtZ+fxOU9Esx1teP5G5L0i7ZnunQiOQ=; b=YaWnMRNE4u7mDaKuCb1ugPoZKR4MuCudcoDzwj6I516fKj6jy7KVy2EHkUNF0vL3yPTGzgdWT6KEXTNxB7Pd2I6G+ezW/7WMTcJ+BLwN8xFbMOFOO+XYMfrVdpVaMedvRkWMVpsEZJRfJkfyPqSkJO1Gm0AzQMH7aUbxjc7i++k9vis0hUHhZ63TIb+q99phhiwdo9IbRcKYZcRhQ6bq6sxWfixxaNqYVdhIP3pczDPNoC+nt2iQCjWSCwsLT1h6V+7RieD7clJvhFEk0OX1F6P+lficvwWcEHTcv9xwDvh/bL7AonqO4xFm47RRnQz0p58RZO01P8WvCvZLROIpXg== 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=Bmjb5ouB4TJNCtZ+fxOU9Esx1teP5G5L0i7ZnunQiOQ=; b=nqoTdKCASxL7NocUj8NasEpR4wf8+sdMVTdin2ah3xLwbAFUkXhegE6m9zPBf2M4pcCcojPtNp4H/OLFY6dioHQYR9g7YZWRN6Z9x7QChUV4l2069u2ev6XgPW3hvWCRZyHTi+l0UuuOR1bBJUCwA0ZlAqau+2B4GZT68io68Nw= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:37:12 +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.037; Thu, 18 Apr 2024 16:37:12 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:41 -0400 Subject: [PATCH v2 06/10] arm64: dts: imx8qm-mek: add cm41_i2c and children devices Message-Id: <20240418-dts_8qm_audio-v2-6-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=1328; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=/qWkdmCItfnkKhql1UId37fRHLMvXRFCRisuxFSzV2U=; b=JJIzZ7sYd+Yo244L/4gnJhCj5DJqeIsWACVQowvBN+uLZwBG9XYmGYigWk1XTPhCrdwUh+Z40 cVxtceZbn4ZD9jGOUx/4gSqehnjEooKTCnlBB+dy8YVRkuhLxdDBm1d X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: b9ef8b8a-04fe-4a42-f05d-08dc5fc5ccc2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6VV5SWVdh9QJPiuNuUrgVvFoiBOUTUdoC5FY8grVIyvAIv/hB3WJKVO3gKfNpDZHPDyStsPg18L2c5r6AL/dP0R4YnZDf3scApZptrcdQQsTGOtu6Zm0e8nShRd3f1VqaRrQkZi8s+t4t8SzT9sRGPbdLr4nq2tHhauO9YAT5QrIC18bOMCBUZMZFOTcBnrlUJY8bz5l+vmLjDGScJgAlawe63IQhSGTS8hAhtQzuqrEQOcZizHxvNOwT9r22SNFw2CvEx1z3ZxNtp8U0Ag3J/huBi08vywUKXhneyB0+nIFwKVL+Z5PgJ3yHb4OhQHB1WX0cBy8nQj9+aeQkYyjd2c3Xp6kGk9KlM6CcjXBEYhwA/hbvMw6WsqvBVD+wcyF79gUiy+3b41p+oYYfxPnBeaaAtUbvGP8YYtEWrKtk2lYKgng2dtECA7v3YfH9mk1Dr+o0fCZ/vUOMKg3YZMelddTZ2g1OJxJaVH7UQO8mfF15gr22OqFfeRfp1UVLyWXnhMQuAvgljbPDnbRM+yPetNUAAyW9BYl2G7uojPXrXyQ+Nr2hvWGsYqgyFYVm6QeFOBI85VafezsJq3hU6FhcnxJrm9+xPbibxU6fH4TuXtoilYnJAr0qoRY5xaQ6hMiXMJEJK1ENaEY/DR71MkGwY9Wif2EcgahrbfipfQH1f2hhTZYzRkZnpYnZQbk6MYS/6iB2GIpTRsVWAuRT00q58JSPR4QObxHzP7+7EuGvhw= 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bdQOK6MvpF9aJeHc75F43/IjgEro?= =?utf-8?q?1HS2GnWYYQsEawrRuMux/I7Kvg5J9zZBzrj3h4R/8OJjDak5yyBJTuMYKiVizRg7H?= =?utf-8?q?aTS7UFHlgb1+xLONi3dvBYghav2v9Om7hXzY+6h6EASfTc9xk/ghZT5xFJfSUSWKd?= =?utf-8?q?QlYjcQOVzXvv6qKX4f6mql//z8i9Qvx3AL8e/ffOp5X4OjHc8CZZJrVxj14AfPCqS?= =?utf-8?q?hft8sk/EDh6G+sA4iorGc9aiQwfxi7+0rH1lRUqFB5HJWmWqQ9h/k+Qiu4T7jeJEs?= =?utf-8?q?KTYs3aC8GywL3+vqrF/eoCW7AawhSVbdC+un1WgW/zFrInTvA4b4yheq2+V4mdT/+?= =?utf-8?q?6fDr9OM7JHkycYJkAFBxa/QJkGxxbJXVCJT4pRXbcCwGaXv8xdr3nZOEep9i0lrFJ?= =?utf-8?q?gXIl6WJGp2sa7FwfosiFQuj+sIQqPbMhJklDznSZjcCmwoYFbxAxDfwtOY7xScRBc?= =?utf-8?q?V/45+fUVYAG7r7x777rgEk6u8ImDVKs7aAy9i6kTYLqlD7F1DlU5tRMdcG78WKEoz?= =?utf-8?q?jQZkZwTyi5dghP5+NZunPc9O5OQcCMR3txcalDzRQDaNMGlH7zlokLkkhfjGR3Dxc?= =?utf-8?q?qHKaHAuW8N46cVzfsd/GuKnhA3/DjfJ4Hf/FvewNpzN3YL+GDS49XVgbBLR7P9Jon?= =?utf-8?q?Xtg0vSjnEuI7rq2waFXLgz8k1E3InYdQU9EORLVY4hBUW5btNN1hwLsoJbxQQna8W?= =?utf-8?q?Ki0P7dsE6PUGEZzvueAtur4O0nbYGMV+I8BEOzGmdpirHkNP0kMIt7SYiWGEsBsI1?= =?utf-8?q?M3JPWFIKfY90We4dEfFOAoCGEhS8KUnse7ShRdKU2azdBI18DNQ57rdOx9hB0lZno?= =?utf-8?q?L0EjReYFv7kOMDLT3KIjvCLUYc2VgWPDWa1DZY79l8+bhn1n4bvfVsq+trr4i+u9m?= =?utf-8?q?GhdrKMBX3j0kHK2yaLzMpCW5jpCeTVtVzRBnvrlyBaCGKtoiJSNrYQbDqVqUejdrT?= =?utf-8?q?6tAY5/QhjSaywwRTXgvM4cwJgum++5c0oLlrK4lS/nVFv+ZwgKdoDFupscDBorXKy?= =?utf-8?q?tVJhH/xFWt5zXn4Q2sedIA9Y7NW7tspp6FFsjW6f5elF4JZ/iBWZJeydTp/oCkm/z?= =?utf-8?q?xo4fWvPOtTO4jwFTaV7q85Ifb/rkijPjqe4ub7IlgBK4asvCBpmpjUPotKt2Y6bbZ?= =?utf-8?q?a9RuQkAAVC20nFfUN/B/TGK4Yp1rnXPTzCpArsnHnpY/Hgh6qEDvUzO/+zEKC5v+5?= =?utf-8?q?Ci2Wzw2nypUaSpq3na+DK9a8YSOF9qTFhZai82oSr81XRpdxqPVTqgcqHFVtpRnMP?= =?utf-8?q?8I4oqt4oCiYEeWG9Vn7hHBeHk/7DD8lsEmdzMMHhUtCzyK6GzBvNIpOlXt2GsU2MA?= =?utf-8?q?I3MdRZ/T3oVmF0KDBUR7NaluY89/SNtfzZn8ASAiJT3EOuP6MlQYMwjBgrWsFyFDG?= =?utf-8?q?wdkDFf9AxD3PDbb0eiTDSZoXhXHwJpPqgxtrGydq9tsrwriwlcLBHtLnOkCeImdVx?= =?utf-8?q?/y3dS78EO9m/+Jh2CyIdF41GXTjAC23lOEPzdJ56Xk9JsQC68/SB1XvicQIdXv+PV?= =?utf-8?q?P70NayMXp2y8?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9ef8b8a-04fe-4a42-f05d-08dc5fc5ccc2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:12.9139 (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: p4030GP/MhB/xf+rVmu/NQuPdcWXYyh3xu0NnsrkIUEHpFysYgsZTkPtdxCmLuJQhWyqaPHnexiiTIoWJQbsdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 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 e5740f301bde0..765ff15b16410 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -222,6 +222,26 @@ &sai7 { status = "okay"; }; +&cm41_i2c { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cm41_i2c>; + status = "okay"; + + pca6416: gpio@20 { + compatible = "ti,tca6416"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&cm41_intmux { + status = "okay"; +}; + &lpuart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart0>; @@ -353,6 +373,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 18 16:36: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: 13635115 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2080.outbound.protection.outlook.com [40.107.104.80]) (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 78E59178CF2 for ; Thu, 18 Apr 2024 16:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.80 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458241; cv=fail; b=Xj8NM9SXaIxmpbTmWwAmcKaO6WOva79Pu7Xb8zpqZLwQ1G/PrlKFFXj0SJz7vc2DkFOObRwXYm+FStfQIOOxobhKHuFMa4t7dFNytxcH16rSMSs6GtUilk2mcutVkRoA5DYikDrGNtGOZh6Nw8tg7xmqLcnEgqSrjFCbLkLDNS0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458241; c=relaxed/simple; bh=U/DnG+FGcXigMnyuuG1EoDI7itzwetaHR2aYuCsXZng=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=g1BmpevgfR2ua1m4hs9XsgLlLSgEspSLz3AN1I0l/GOq2v/6wZDlaKUkUReiOEkKT4EZL3E6ETG3y0mhJoAJ9THqHjcsKODabk4BzhDQt79sjwlyiQ30ie8t2Bk6LZfx2l6tamUIIGQzMtFDDr5yWw/9ZK7/u2zwIWX9TBMr68I= 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=MeJ8IAGA; arc=fail smtp.client-ip=40.107.104.80 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="MeJ8IAGA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jeZhLA5Xq9oAQ7xQwG3mlUKGRHubEfLfpNZVShdQ7LUUmYN96PSOsVV5FppNyL4zuSJFYrQENZCMbh193q4nR0hbBJUGBb51xH0lNDGQIlpM1bZnfjtcAvbEqicJwsiznMhhbW9noF/e2zkVvt1g6+TwK14fgHX/keCh2AMYQbuBoR7Bi1tGBfZHqsbtejlLdLp63J8TU4PiZLDDVrj1fjirG/N+9qvCLikvKG61m8hiIcYa/D1yFVIOjG8hCfdq+vnHM9E0Pqr6Oil+4XKMBnfcGVPM0MS4M2hGmFhhl88Ro/rmrwIAKTzzCEOH4ZMKyJEZK+qcUYEm5bXAcz03zg== 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=dZtRRCqhXVCDe2q5J7khme35bBWcuz60jNui5paDWqI=; b=Tj08BUhBlS4S7A6jOJlPDwlKTTukMYAxqWozmeezoCMSCoH6Dc23v68XgVtJ65UwXINkopmORRKcw03NgedisGztLmxe3PTS5vpOjxPiYe3b5wU6Yg+Dev/SvKzNyIT/8H1Wi3ZotreOUwtH+o4WgrZSiv9y8mOCzgy0CzP9MxZsA8HLyoMJ2Js6Xgejlwhqbgqr6UTwBkIwrmsS2gvkxSEZM/9Lv8i1mzP1EGAOGfZVR65/znjq9rj722lr+NIdM39KCKc9EWEAcLdTRZZQkQSI4OgXa3lCRhvz0Eord+sszQaPfrHP13tc5pu5KToRse1hCIpClocBWD8tGfnuoA== 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=dZtRRCqhXVCDe2q5J7khme35bBWcuz60jNui5paDWqI=; b=MeJ8IAGAEjBgkShqP+0zWKcexwgoIrBFzq9NKRkmIGt3ncu0xfWlM6doIoY2Q+gxEkNNC9dpUS/M6OgqdbTafK8IKCqDWAhGEpRW3+bWA3dw3W5V1XMlEoT1SEIxfSc2EzHjteaSTEMeIbjpfeDkoiQqRTbCKS3yAjdPY682i4U= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:37:16 +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.037; Thu, 18 Apr 2024 16:37:16 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:42 -0400 Subject: [PATCH v2 07/10] arm64: dts: imx8qm-mek: add flexcan support Message-Id: <20240418-dts_8qm_audio-v2-7-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=3123; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=U/DnG+FGcXigMnyuuG1EoDI7itzwetaHR2aYuCsXZng=; b=Fe9d02z0ySmdG2QLqcnTlAWmptppsP2xLLLPAIggcGzsPKIqQWjQPdJxgwDsIl5fGDiCAPbuS hnBAdFVr0W0BQcuwib7ws+S2goVKoIojw0so4cjO8HQ+c0sa/27duU8 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: efde89f9-82a8-44d2-7e44-08dc5fc5ceb2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7TZHObl2nZWomF10wpdAIMe38mNVc9A8Suy1RPwnnUeFJRi0YfSD3+pHGzNF0rRCKtIVw6aR0ZuAA85y5sMiBMLJceG0TXBuoN5es5ycvIsEAuEsTLMyKXvUv2GIHoaJYu3ITtgskk6JQzE95u+i4LnlpFdnupODfyPXq6XsRdUL/QOCHZr9WJAYqHip1u2RierTDK4CFyeVRd19C7JmnOchqRSRj8eyFlykQabG/FV9JGEt2T53Kue3HbL3IrTtoUftVKtEcVpawayZHW+/s+Wz0QQFdvjzRYeY9gwdTGICqwzmV/rL8K20ZHlpxkzl5WWTK8CZUpOtkCgC28ID8DrVL+GbmC7Mu5PCZneLqMYpT43B5IqQwWTwoWhCUb7aO+NAcLWhYyfPoYgN1v7yltmRyP2zRj3iQWj4NoxbEomvB4lZXI7z3GjitVE8J/yyFRNdUS3qX2vlyI2paA5nTU4Suf/f682UE1HAiB025xJRz+2r2BksC1OWtnFYip1kb+M2gL2Q1biVmMXOytyO8+/oEIoTZn9omJBNefcywyvAFDKKA8tl0HsjGBSaSXHPh8kFdIVH7Mob+pJFpSPG6G2gWCdh7GSD65RTUoX6r1H/7H3iOIA7ujfBHLUfVOtw4hXP7WSJUfrtM+Mr9Zr8DwUrcumCp+DfD+3Z8idW9U9Fwij+RXYDgZX/+3fcRbPeE0RA9vSRGcrMwR2/SuF2Dg== 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0RzQ9u4lDFobZtwwdvODx+h1Ca/7?= =?utf-8?q?9Ipig9YEmXF9PgzK3e46bsFAmQ546+vKed5PMBHM7l1JlNFSmw1tFtXl4ubCb0a9A?= =?utf-8?q?I+KFdBCGbgIMEwZh3eVodJ5RbiDHUJHovOdlcAoNyxP3ZHggPIMLz/WqnsiGwdq0B?= =?utf-8?q?/BuFZjyVxHdLQBk5+5Q/uPk5umpuHCV0PrZ+1mBqlFMlUfZ18Jv6wAOWRMLq3EMRA?= =?utf-8?q?lLDHT1uyPdldXMs4NOtivKa4V3Xc6BK+xHR++w32gA946g7nAEaZPJak+NzZXLI5G?= =?utf-8?q?7iHxBbiHHO+JFZW+GpH5Ji3l0asG+wyjDiZhZ/IJAwd24F/Ge26TIEiniNb0Xev/g?= =?utf-8?q?SNO8kODytOC8kBuO59VNM2mylAD5gXqaBL7Zw+iLmnMGI1k92dArzxHRw0ndPkEG2?= =?utf-8?q?k9ix0Fh6KHc1BxPC9qx58Y+jFEGHWCpJOUJpv/OLYO7mhJv6WrlefjgYWf2OKFana?= =?utf-8?q?mB2/sBjxlub6EkeBYvQlHH2HFkMKBJCSG70cGzPQA9WKevWNiz/2kr+PxgQeYm8Og?= =?utf-8?q?A75LbqB+36p2mWYo4u7K0m53e/IO9E2zf1+4h1q7TCOO3qaIEhctsM41BZJ+CDfJ+?= =?utf-8?q?axOXFhwJpWWooBqP8jPm6aCS4vWA0mH6u6i71vTpQIfWn56EQXyZzsm8o583HGfxO?= =?utf-8?q?5seltfaA+xSqKNNJEzLljaNKcAbsffILrVtglw6+2SIvXlt/EQGnrt1jACD6PPCia?= =?utf-8?q?X+sOKeCnwnWY5vTYj9h46cpLnnvxaMQR0z0ZGf+8s+3ZaSTQrGVnJL2Ez7bfV5vzX?= =?utf-8?q?oV9SdRm88C/LzbtYW8OMys8QPN1OdeLTh/yOZyfy2WdwXkOy8J7UgwBvQ+0ygajWC?= =?utf-8?q?YUKFSc//7NB7BIjIYQMcgeVIokHSQBxjL3oXflyChQVvp7bEKnruMguEGuAEfSeZi?= =?utf-8?q?NUW7TbzdbWRp0FlrbnFLXRVX5oj9u00R7pL4elVNAR09MS0+YWDl66CiruqHNIdNb?= =?utf-8?q?ykCkTWRwODxCuu/CacaG+b6pataPMfIzK9aYaU5Ztw58188od6Oh5ymm7xOV/hnwB?= =?utf-8?q?MADziErP+iuXTwINhBuhgusf2rm5H+xKrEb78QLtRefWIFA+Qz7UGyWPHNXFFYtAa?= =?utf-8?q?04xBR76dXMPl6cyJIx+5vDJjxvftIkWUKSV4yp+PhZsZib07abjYOU6y2G56+9Rtc?= =?utf-8?q?pv4K5yx9Z3UUpPv9tFvyW+JPjn4LGY8J03WjnOuhE558Q/Q/d5zY49g46Ml1LmYTJ?= =?utf-8?q?S6/88Oh/ZUfcaR2WXEUe0BjQz1PfB/QIoLkFglzMOwwvAS5yKZ23Fvma2CK1rXtd+?= =?utf-8?q?odcq8eYsPR4NcAcSOosr83AYQns2gVEYjo22pAx+dXJAUdWAjN28QNNGkgJEf9t9A?= =?utf-8?q?mdr9fQvUoObN7cJs36Co3wXsUIRmO33weoAaoGReDyxA7qfbPde+ccethpJMtCX0u?= =?utf-8?q?QfsNnsvMjutNBsYXPic2ZXM4kbuf8ic492TGrzTOvtGPtw8Svo2yuBG/5L4Q/fswi?= =?utf-8?q?uNUX9cGmyG1fmN19rLZSs+QTgqQ+0PX2jhC/dnewnSr38x1+IODZ//D7sDCgrCfAq?= =?utf-8?q?LAn2aRI9Fbng?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: efde89f9-82a8-44d2-7e44-08dc5fc5ceb2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:16.1647 (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: 81ZHf7eb/GR5x/7p6LYjBLpAObJWH8gXKYBX8texygn3jSupKbTxe0nI7VWe3vmrW6m+JqkldkdFqTupTRxoyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 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 765ff15b16410..068bb77ed08aa 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"; @@ -242,6 +280,27 @@ &cm41_intmux { status = "okay"; }; +&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>; @@ -434,6 +493,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 18 16:36: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: 13635116 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2080.outbound.protection.outlook.com [40.107.104.80]) (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 5463017A92D for ; Thu, 18 Apr 2024 16:37:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.80 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458242; cv=fail; b=hA7r85wBJZjxa+kAumuLEQ0PbnSQdRCg9br9CU8T8buI2lIW8nSGlG62pAR+Z81A2BgZBIkJ0RQYoX14SMWQ3w8JlPBYexDsOkFKx+/4EaSQ/q8NLEIFMtIiVI9LI360GHN8masj90xKOiHmc0E0N7Z7X/RsxfrOravc+AgVU0o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458242; c=relaxed/simple; bh=xiMO/Ji0IC9v7XmNUVwztxAaRwExSid8UswlKxDY+jg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=bKe4bpXPpjwNjb+uLosgW6N7y+WVmXu77J3STNHKCOejW7dxtbUMqqsEkYLe0wz0OI4APh1i0x1YG5PtKhwvneJbLTA3Fobcy3DWmTBkt4iMz17RH3jXJ2XeeJenBna2wW0+SVtbJ0F5OicmTXYqGp2COHciuxo65sLPwVGkvzk= 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=Grhm+FAc; arc=fail smtp.client-ip=40.107.104.80 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="Grhm+FAc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NRvY6AQm4plJ4DSmQ4d+ulasl1kiFw1EFWglrC57jv0p5Op1LX0HRGZh1MfVZDekK4rzDA+CdUwh0HVTdbsotsvNfws+9C7yDhafh2YA1SY+BHdEV+qDk1tRhSd6VvSipDBphOiqgow7AWbrDVXAq5RmBAtEnjPXJcU4Gc/Jz4PkUhZ6v3dKz71YP1bBSdLPE0xGEoyRYT9kiPBjXE8mBLB/QCOK9UOI6ShE9ghFSZ2tfL87r9xW88IA3YNScsolmE9pPxYeifiSO5U2BhONC8S681Gjlt/aZhkTpEVry+HUnn9EtuE94P4Y5QFe9pl3g5OAk0+DiimOLFL4IGferg== 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=hh9mD345GDepD1HhDQYYhPpBSP0niF67H/a2uoE2Q8c=; b=kcu4HwY5FWxeD11ySsm8gaXMKjT9V6FcGZ2sgV8Z8UrHJmVE6m6o6Z/c2n5WvBZZMF3N3ch53wtx4h3lren43JiRKK3FJGXuzBTBntiSonOpbbSaRCI+OJgkTc+XyMGUd/0syC7sWoWhYENiz90Xt3RGm4NFA0H+/JDxC2PotacUouBSfZcKx7mpYeTX27p91+ZQuBjSZOAblY1Q7UkpbM4j3HwUsZGaEJYvaq5amdQpoJo9ZgHwhb1mgj3SF7WeswEkKpNaEFse0uutFC3oozaPvloj+8eUhTLIQd+P65PQ6Uh8SVxFIqzw/OWWMDijQlyESX2Np2zDKtZu8lyLEw== 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=hh9mD345GDepD1HhDQYYhPpBSP0niF67H/a2uoE2Q8c=; b=Grhm+FAcGnqgX9iQSnrhavGncA3H4pSEU39mUeVVR8iJT77p7WlOv+Czf2KtwRNsd4T46gE1B0r+G8lDmcYWayR9Gs0m35jOp+ODGd/n+bqdJdrZPCnAjfxcbuWGL/vFI7qIAukJi5Y+2w6cldXGBFjw6mqOaCmVUkvia8ES5H4= 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 AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 16:37:19 +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.037; Thu, 18 Apr 2024 16:37:19 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:43 -0400 Subject: [PATCH v2 08/10] arm64: dts: imx8qm-mek: add lsio mu5 and mu6 Message-Id: <20240418-dts_8qm_audio-v2-8-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=641; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=xiMO/Ji0IC9v7XmNUVwztxAaRwExSid8UswlKxDY+jg=; b=jbGW1XDrQc/osjag7a0UDRy1LLKOYwlF8UvK6Y7b3UfdZgubN0ICsIRSNLmzZo5LxTSFeX6nU x5LGklhKjtIBcGsmmzcaMOf/AFxeuVOBApznXqOb/xTF+cV4bEKmg9u X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM7PR04MB7079:EE_ X-MS-Office365-Filtering-Correlation-Id: 69121acd-0056-4ee6-1efe-08dc5fc5d0d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OgHkN1Dhw+iJUg3m06Q9EZqxJbFACsDIrVMTUpHLXIr+I7MfOGtWWie/l2jDcwbzsHz/JTw8L64lbrQoJgbsph1LvT9rAnBVEvYxujAIvX9KpmHBX0TG037odrhQCbJo/dCAdiMCo1E5hgaTx1GcYxHu1PQQTSWKntRYJ8WGaFZYpzGSVzXNHfKPVBoS5y5vMWyCRX0n7dgsnnKU1B1L3u3F3YbL+IT6rRrNZX9V5ydizWa6kV/iE4j48MBzPE/GlZRm/DKUdRTMmPDxdCoER6bWXpRz7WK9gyp1JpsW5F+0lhrk5YyCPzdFWIPKcu0qV4ssm1KIZ98Bu324h5fT/pwC28s6IS9nLUmRxSiS8on+m+ZhX+pVNybMAn72/ndCnOsNsWOOJ25dbGonuxxeKRuCSTuPH/K8kQkxvPrOPz79VNyt63njgPBa6gTOXFNcRjGxf4J8m27GLZq3GmcZHjQ5wa9son5iGtIQ3Y0PGo15RscwLELFAiu16xrPKVdLIEKmyzS2rI4MRD4HWOlNnX9IRPpt9N4Qb97+LWczbJgPiUdMP4LxwSJxMwA3+wNVKsq6ywSNR1xrqRdGsSku/YtEIRp7tI3fT2DWJtKwzBXTga05cOAvufuqgORh28gyTxc1vIwMH9sTDaYCEdHKK4AxBJ3sVtOYeyAygcEKQ3FyQTYJR9rqCvU4VTotI/0qsdQmTH60suuxlEWyFSDRzeafGLBcBtipDY057guSllE= 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)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?rJuDz49YkxYS6vCMSAmisuB/2d0A?= =?utf-8?q?q7oUsw77hXzyeR3ZQBBcEOKHQi52UEygb4Gkdk0ut263mQ5Nff79jIbITgbG4ta9p?= =?utf-8?q?xBU/Sl5mxjP/aCxbJfizabBeSUN+3aK2iZkG0/UygSHEd30X86x7DxH2BggktJaNM?= =?utf-8?q?yPj9IUqioIVqnpPerF/oXfDQvtfdZ0ryDhWqix2LXGBfaKrJd+4Kl89ZRN9zk+UlT?= =?utf-8?q?dCR4e8VXGA/6TW0ftKFe/3HL8WT1rbE0m6Q8u5zoI+/SYaEMTobwiJ6/G9f+sW6KP?= =?utf-8?q?oUM0WUs3H4QEEDjrtrFw9mzOQlHUha30FYZdJJiN3NiOYBieWdWx1jiACA5jtP4+2?= =?utf-8?q?bypCJJ2zFmPwSjst/CU3H9JUlnScK1c7h6UnFhKbBJBy3niJcbYYwdLaqb3zPsyoo?= =?utf-8?q?Mo2JChqhnt5mp/ji2O6YyqRO3yP4KtgB2aHF+/JbTnymsodkYfw4yUDVYB9JyHCoK?= =?utf-8?q?zkw3zhEuVju5bOYzhOXO6JL+Tv0En0IPaK1/A91v2QIsQ0b6VetGSdE35VPxBl+Nv?= =?utf-8?q?n58qKiaWCuJf3D0j4vlSnI5anQSY6C5txGpMsFlm2kh8wAYnhorEBCRAlxAdKP8Ma?= =?utf-8?q?YLuuSRwt6eGKXO2lh0xoHY1HVktVsxSkduEk4TeIIQQqLPlYvgAdt4GxEgxuTLl7Q?= =?utf-8?q?4AJNeJ55WhDSN+MfYzxZLwaPA3cCHVE5/6bT+fCTcwK4Tmm4YA1aLCzZLqKImegic?= =?utf-8?q?n4F3pl1NMLFC/kZq+N1ld1Tsz0v5Bc01vafvjFwBkuRTN6yRAGFuui2QpFq7LHNTm?= =?utf-8?q?Kva1ZOngBxdnhktN2a1nUwdcMf3rp90LMC62GxjHTojgvNYTGPJSAtPjU8zryxGcf?= =?utf-8?q?kl8jyX6MBeFxviwAJVOoiSiJk622qpAAL3JFMbO45ZHhRucOV581dG84UnCGvH2Oj?= =?utf-8?q?7sghSJE7JtgwtXWHmNYbcwBzjHF6l4SdGeNb+l45P/HpiiadeBFQ92AxyiuiD0hjj?= =?utf-8?q?NV0RQj2Rso6RMeME6c08SoPKCzlciI2o/4+vg2+0m9uAeC0oUlhBHhgBNVdrGf/b/?= =?utf-8?q?sch9qjsjcORZda7IwOBX8UpM/gjcykC79Dp0jam+GiHflZG6VuMsN9sdU+oRi7Mdc?= =?utf-8?q?168HFaW76vN58QhUtVK9bzFG+8nV3Rk1UCz1u4o+xDPNwxEQw3Xg6ytMucbv3cZHj?= =?utf-8?q?yrJn7XxtYSIzyc52cJXFI/rdKao1MljtZIPGFbHuNoT49MvMYbCdHkX/prLx2udZj?= =?utf-8?q?iIykdhax0YZMO/7Qs1YlZDs8qwr1eAT23rkRz9PqPt4wHzm2umrCMZ/Zi9aXPzz8/?= =?utf-8?q?F48ryLQhZ7UKM3y+X/DYhMzTdwpW0NVX5FCSBVu6n6bYfQYzbBq+bA5Rpo8yFW2rZ?= =?utf-8?q?k87DneLv6v+MwcfazdoyFEiBqJU+rnGpv+7sMtjn89ofeQrFnbmCFoyC92giouMvY?= =?utf-8?q?410lRGTfMJdBOCP5gR5f0U2hdpwJ3NJAZfljUnALi9r+cyaocYpCbh+KsmUDGrxMK?= =?utf-8?q?vJrQZ7qqDJzRHT18c8ZsIsiccw8HA9wVHH+000MHqHeQDa/30U+yCUafQy6ZhIG3Z?= =?utf-8?q?UcfLZSbKiBme?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 69121acd-0056-4ee6-1efe-08dc5fc5d0d8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:19.7537 (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: Tix/zZSKGpxCYiQNlDl9GXrRUkdO/woN8NUyM/XP7eUnfh2ZO5gJ31hkrXY7D8gmTPIg9B3RdZHmqdGjiMpZKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 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 068bb77ed08aa..c8b24c46c30a4 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -260,6 +260,14 @@ &sai7 { status = "okay"; }; +&lsio_mu5 { + status = "okay"; +}; + +&lsio_mu6 { + status = "okay"; +}; + &cm41_i2c { #address-cells = <1>; #size-cells = <0>; From patchwork Thu Apr 18 16:36: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: 13635117 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2077.outbound.protection.outlook.com [40.107.20.77]) (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 EFA3117AD85 for ; Thu, 18 Apr 2024 16:37:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458247; cv=fail; b=lxptECA826oWZUsvJ5t0OBVVPMDEnyNdHCeY4wVkDbqC2mHH7uHQTpTBVC6atBn4Iw/et0kcI/px8gqSqUn4Qq5DUODaz5C6vpkKrDoEE9MnZrZXFL86iIPkWWROxqN9WG5RyqBMUZzHdI4MFlFe6rkZ5xi4evKEGySGlwlQbCE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458247; c=relaxed/simple; bh=0ZRbRQcNzLlc5p8hNyg69kRtTQG09ucYbKiY+xtKRF8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=WoBmURdbfRlzgB0T4xZbTjSXc8s2mtl7fYYKmcUtNhDBAZHNhO3a42s4zIHQNB74FYf5jlc2ysan7zKzeNH9tNtabQPZPTdBC0olKLJ2bFNvBwCTjszVL4rZNCHK/1bf9DRljDG6nMr+wsYqEVRzIJ8+W81cMLMcKKstzkyWDt0= 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=QVBgA42/; arc=fail smtp.client-ip=40.107.20.77 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="QVBgA42/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxL4fD+j3yHkSvf+UCib+bRCSQLv4DoC363cKV+HoG4yVXLaoJB1ZI0OZv3U6SpguanfTJp9CXhNy+pdYB/CF8WeH2RZgboX0sWE0Ky7Hu0Ez89b4P6yi31uRKVkpCfm0C6sX8otrsWcQ/lWw5cNO8LagnnLei5sgVuQU+sHVy/Hailtswe8kAbeqVrqN3XhqlBiYG7VVNb82OxFiPltkP/3EzoA/vEnkSVQnTSncYWWkYR33x0vfCTNQtZHpxqM+KqJk4fGavWpTuk+ujsVdn3T6ePy32qSwBZUamtwBwL5SwOiuw3kfqvRMneYi/yYd79Cg1dlpL+J53I3kOUPQg== 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=GtMTD/4S3J402A4i3R4PGR6JLD2G4mFmwxoe0/4aREc=; b=Bnmk0lqAzRoGfJBbx4mpreDTcJgMkITZgqf4eBX//BwVZhZSWEhziFfIrTTCSCmyPdlhntlk9XeiFqq0gAvIkP+VjM+K+2Bl3EYor6YQsD/DwvcGl8bJsqRm95Ve1Y/4cvFS4q8GE5u5UQw8TDLViNLZnQMR5+gZ58P7x5RAASpSodWLylgdemnw9QuONhAxV6f6tfUMV/jYmp4TZIXS0jDfiu+mLkfgUzEXNrNBGSlkvMcCqfeGd6VLErhXupp+sMB/mKRh8xwcqxwiI9z+uOa33QlBTh4GauKDJkwfHWLB9Mu5HcK9LeP2i2VU21Deaa4AMUlOwVCsenWW9JJgvQ== 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=GtMTD/4S3J402A4i3R4PGR6JLD2G4mFmwxoe0/4aREc=; b=QVBgA42/R7kdAbMuBsOx7d19OUOmn7TpS6SB+orWQ0KDWV+/SQvtDNRyhYFekGit56hPkTN0CKNDvnPqIXEIoR1JUGzk2kIqouA/LwaHtbig/gyhkkL5mR2MKC5lHrAkYF6Mfn4I7SUq00lOjPQKGifmrzlpQW8mzdx0hTjMA5M= 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 AM9PR04MB8681.eurprd04.prod.outlook.com (2603:10a6:20b:43c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.37; Thu, 18 Apr 2024 16:37:23 +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.037; Thu, 18 Apr 2024 16:37:23 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:44 -0400 Subject: [PATCH v2 09/10] arm64: dts: imx8qm: add ocopt and fec_mac[0,1] Message-Id: <20240418-dts_8qm_audio-v2-9-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=915; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=0ZRbRQcNzLlc5p8hNyg69kRtTQG09ucYbKiY+xtKRF8=; b=hBlsGhWSEnc4UucJQGSBqyrJewsB4nL4nNF6hDf5mKLOXKuskjbT0W0PvGMh4TcIZ51CkT1Er kmi54+XxMPdAuaTN6iRRy2mWh3h18BRF0VNIJapnif+350JPHAfqiHl X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM9PR04MB8681:EE_ X-MS-Office365-Filtering-Correlation-Id: 52cf0f1d-0947-4a24-6b12-08dc5fc5d2bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 73YkpyqZAmcDPBaVMLh/P+OhK+lwR1Qnr76tZ/DIQzkZW+M9LmufHqWuAgL1dRuvOv5HBLkGx/iONlKDavulgYNat54BYgLK7F64WU8arhUbVOCOxd6QHblI89qwQQ5LHa3IwZCEaUA4tAi7yHKpflNGCUFRsP0f2q7LhsE8zSvFcnkzeYPzlhsyprF4XIjjNHpZF2F9j4Mkff7J8N1BKd+REqM8WUfHbm1k2s8YuTNOauxIwj+Nnxd+oUVXNjvI2Myx2G5qjN3uI+jKXVldniN8eD99t2Eu8cM2EsaGQdXAPWmQkzVUTeWFmDv0kdk5NuzAnNnSVD7c90Ps5rZKrIn48qGBpQUw7LUJ6Yqc1zUpnnwLeveVutmlPN5AG0xuL7uTo008qGl9Qj1wFFKt9NBUJottIOsH3rktLFNjyfLix9ZmZr4EZnC09kjHHAdXHRuZRdwzEdPgQcOh80X77P1QU7TOLxFvQ7lrX4KA5fmP0yomG1FOXpPwaeNPw4MXYrkpuoJa+EJr+R7vkfs0HY79b69UtQMJP/ZY78M+Qqa0Qu6MrNbygj0r5IdM1hM8o75YtLTw+5Mk6o4e12reFk+327oanHa8rgr0N3doeQthmRpniQUiWdG52VFMgzVkZUbiCRbbaIYBgNj+GGgSvxC0Vxu8Z2n15L/8qA+2uEUBjJ1yH1MRp29R6ZeWhKeGzmmrZ6qAPsbbiM6h1mKstw== 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)(7416005)(52116005)(376005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nXVWTjblSUbrb7BH0vRJ1OR4wjV+?= =?utf-8?q?qmHNCsz9Sjs71vx+y9aY7U0HshGVqLWok7n93TcEFcmPx1d9POo7SW5yTA538UWBh?= =?utf-8?q?ANChp0CGEZGngGpp5XUz6LkTg93rVn7Pq2rvAs5uQ6qDwMDj9S6wCu5o3IRiw3hC+?= =?utf-8?q?b4O8i5mlwKphPClkP7zBJ0/xPWYWClLQ3u0jojmQVBh9IhuAuoqsF9gqc1JtEFX59?= =?utf-8?q?WC0yXp0yM8ZcIzq04MlzHcJJDMPqyZ6luBjnpYZRVABh1P6SJ8jFmQpoIap/F0fzE?= =?utf-8?q?41GT3lCQmn00QaHQD/jna1lsIl+TcUk7xVDUCcaiZl8GI9Zu2CUgxj6CsK2kG478L?= =?utf-8?q?qjXsSFXXn378/Mjdurebf6TSyhBCbPsiPCxC79KuedMeJqshUWbXcIOwwUo1KowKt?= =?utf-8?q?h2LKxcFbw/puGN6a0q4olA5UfqlJNS3/0QvygqxiCCb5eBtt0rLV/XeE3SRY3kEn5?= =?utf-8?q?v5wjZRTLlm6Vjz6wC0Xd6gjbw77ksYK9NrbPOd6sBKXYbC0BWgwq7JCiRCJ+p9Wrx?= =?utf-8?q?9KX54wumulyPtqMLEMCBGOUBm5TnjuSn9h//juTkD2slhkuBdGu9TXy17qflwzoQ8?= =?utf-8?q?hM99jGKUVN747f3lBdkpRxEBukKhfVS7snZtC40yG+7xFvAt+sJyfL5ZPfZFgTj6q?= =?utf-8?q?ffk/xLjH9ACpy10ew2noAgKNnDiJft3tafdl54mKKdLvR8N0ksujU7ghkAgfp1qrf?= =?utf-8?q?1KWpYMlwXSjADApawAiia2gvw5gViphrF1XGhU7Hcd6KiLFOddEfQCRS7tlF9+J2H?= =?utf-8?q?daAvorGymN+94Te+IhP9HnJkKstRB7F4S/bbKKTlOhQGhDmoz3KRu+xoDl5rj7QxG?= =?utf-8?q?hk2lZrG0i1FRhIlVa5TX/V6GE6U5RGgs6905Zqh0NMNOcbkhEeUiztw1cD07WgAZW?= =?utf-8?q?QbFPXD6GNDZBb1xAlR4cBfcq1SW1HVRHrr71jzFGOf0oCNwfZTB62mTEYvWIpbv2C?= =?utf-8?q?4l5fQxC3lBKNZfzON5xhSOdV7App0QoFAarye7r4snVj//j3L913EB0SyLE4qjFAj?= =?utf-8?q?sm6eeMV2PiYHn3E0ShkuIXSMNx0eRHK8byYnMTGA6JjCLBmbsf1MiMQBNzWd4QOSE?= =?utf-8?q?rGodFiOlENC3UMqX5i2ymqjTuwb6DOMtzxo/I7z99E5BjM9JmPfo7gAckfPVfua9H?= =?utf-8?q?ITzA1BbYUIqfWDRCKrzA3pfqmb5cwpXWZRehW/MrW3B0CyheBPsld5VVtaULfml/i?= =?utf-8?q?XbuJM7qwn/h+Byoh2g7+ULCacrq1djMzvkApIKx681nnV4HZjt8OKD5tjwNOhnzIP?= =?utf-8?q?luuxucZaiSQXiupmxbEBw0fCUogtVteRN7cq2qW1Hh5NIuaaA5EpiIa3hj3ZGlMf2?= =?utf-8?q?teqNEyARJgDNv2CvfMNOkWCrhr+DmI4L5bozG+D2hpmbGWJwymnmZ7d68xX/pBJ0t?= =?utf-8?q?9Jho2GY76sXTrXEa9QW7YOgdik7O+Sr2PzbW1tn16LZallQeD5XIrv6+OfFrF4VF/?= =?utf-8?q?eH9yCnjOb3KySKYBSLldkVVv+xyKaswdwWni3/tnEqSnTFVoT5MciaHhi/bl7MZYl?= =?utf-8?q?YOF2ayfjxhjB?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52cf0f1d-0947-4a24-6b12-08dc5fc5d2bd X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:22.9459 (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: QGaI8jPYUo9+i+xtBIUgL7VwzyHU330FssmAdOxSeG8793Yb7HpxquDXVmsIiqcljc4HQ4b38jgJV3paX+LVYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8681 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 96a940c6046d8..734bee4294dfe 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 18 16:36: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: 13635118 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2069.outbound.protection.outlook.com [40.107.20.69]) (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 606E617AD91 for ; Thu, 18 Apr 2024 16:37:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458251; cv=fail; b=h4TaKHAabFc5Q+JlQWfR5wlmFd+d7YHVsI2xBaj9zaDosAcARo0C0coaa5QJN2xjMEbP+PRKjFsxR0FwkhAlSSCFMNN8XMauqCkN1evTGlPWgWLAEpHJNxlFcsb1MS8NyMQZ8z/nt68TxBkWE827izfxSSIt+7KPPZi9IYe72l4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713458251; c=relaxed/simple; bh=iABd3AXBm1528gmAK301whXV8Exmx1dF3ftflY3C/1g=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=P3EwiGGcQAMCkGKnXFO/UldYDbHkxlakKk2CajBaAD1JVdyMrb/1X174KK2wYMhggXJVodhLtqNUh2kbJZz6au70c7vDFAmjUIHrvwOVimCvEbEbkq/SsF52rx0qEWb5mb9ItI9C0QsJodRUMc3pjzbT9vrmLTdBlqR50Z9qQ+k= 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=rhPHwGcA; arc=fail smtp.client-ip=40.107.20.69 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="rhPHwGcA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T/kHmWYoYgBdBjhA7jzZWaksdFKn4S+KfwR/upSH5KG1SK18Y9IWgr0kofkoK9nD4E0oubykXgvvVLGLcKMHODRNER0PFhZ9NuZ7N3lVB5DIrgK1SI1GYmZ/l6K+sADY109qiu/ze/B3V/340OoLVGxFKD6YBYyrmu8ZdRuhODBe6KwM4f3LQjogzjkp9hb2j77O/TxuyBm64EaiVllb8XvrDG1I9ZgSHShQ/ymbQeirvh+jhWtFSEbkSGEIC00jpONhPB5+uTni9lO7YbzcIcWvNTmF3iOu63N8mwrVu0njR1dJg3SC0tvZeFahjaryj5NRtOFe9fkIKduJ1YxYnQ== 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=7yuPjruf6RlNTPh5lXCrWgoKwk8FTu49cksCCTIh3js=; b=dFyG0mJGalap6MbBpUg6N1fhJC+IH3HmIgRF2jc+O0QCCgCjhE4yYq39AuTiOhQvO6GE6gALdnmhNivEtyMaP9Fr/0/hPRdpZLBHkdjoGlAx/k71MoStzIHtpjlHjOvGJVj5ae5LdQeuKvp7Kt388n+KvT/vYP4R0fAv9PTwVvAcPGNhhGCAjIMS0vWEff/niOr0A+hQ4A4oIUohGfRTv+QujKKONii/6QcHDB8wbo7tOZiPrybjUPAmZnH8dQBOk5+xRtpUBtn5t7kCO6r3Vev8lFnHqUwAODn33RJgBjMAX8Tdl4BMLF4fEYWWdHNVnM83gTJKkXVHeEco0jBBwA== 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=7yuPjruf6RlNTPh5lXCrWgoKwk8FTu49cksCCTIh3js=; b=rhPHwGcAOvPAeh6WEr4hYoHnXtbdPHRVU562wP0nC/lpLXzaqJ+e9i389j6QxgG1yV5sRmuYs33AxW/hzLeL8PR8za175NBcgm8sEoqpSVJqCjgKAlH5zCFMJ0e91DFsKC6PkyWxUDuXAk6eTq5Yo2WTeXPfFdyTpGksW1HPNn4= 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 AM9PR04MB8681.eurprd04.prod.outlook.com (2603:10a6:20b:43c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.37; Thu, 18 Apr 2024 16:37:26 +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.037; Thu, 18 Apr 2024 16:37:26 +0000 From: Frank Li Date: Thu, 18 Apr 2024 12:36:45 -0400 Subject: [PATCH v2 10/10] arm64: dts: imx8qm-mek: add fec2 support Message-Id: <20240418-dts_8qm_audio-v2-10-e40fe76b60a6@nxp.com> References: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com> In-Reply-To: <20240418-dts_8qm_audio-v2-0-e40fe76b60a6@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=1713458209; l=2437; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=iABd3AXBm1528gmAK301whXV8Exmx1dF3ftflY3C/1g=; b=TIPMxU+8+Z5to+OVc214rWt2MNFlG8DZobQyL3xg49kOtIdWucluPwvviaizIBn/yb5GqjqWB dmohMeLLGYADWW5Isi6wpR/GQmZdElVGTBlrjeD3X9DRKd5JkwFYba7 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0045.namprd05.prod.outlook.com (2603:10b6:a03:39b::20) 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_|AM9PR04MB8681:EE_ X-MS-Office365-Filtering-Correlation-Id: a47df804-c8a4-469d-86cb-08dc5fc5d4a7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UOV3PfrQJob2dvm54gxr72VB2UrGJ8Ze4051d3+gcGkW3N08M1GkHMk/RD3tOKyX6PE/6JolpTFF8YuV6bPKBImJ053FQUvP6aOnwCgB+OBVvVaZJ8da7ZG2ubiAcDrgEtzxWZwhmH1SkiwuFkpqdP44sysagKPIPt3oqAo4xAwzQL6Dmi0S9c2BCiMZkoVbyLFwG55nV2k/rhsght08OHLZkOC5BShXwMdSgGsnAqlz/qNTsRRVoUJE0dXkj2v7DvlhOEgKGFGh400nPRjdPNxTk04Ro3weq93Pc0WLb8/z0RViFWR3Q2grvkUr5/JLEmDPZ5ZPbzhu7dK8QwJxeylDzwdb2I1iwuPCiMHf2ANVGQQ4C2BhavZRBOKi7zBi5Q0LrN1sPpe+8nMr9WWkvlQV206f/RWP+0DPBhJjaqDh+RZDg4o8wQn5oA7mCR4KcHYwHb1g32EwBSzbmxRlwrBeFwHrg/CJUcUC7nX6Ckq0xaj21DeR6oXmuxRo5U/10HEg8mO1VsguFtUhHfP5La1Sfx/Bj105sg0LjqkomK/w/U4SwxTcdrFK6rmGbkKKWssOmr57cM7VjsjUsBP4UYA4fPO5sg6pMDaQzowGTYObpg6W3/zfk/rMYegUdxm0aSnhc26QFtQnqtgDkC2geofjUwEOay4t6JsXMP/1g573aOpLpl4lYPu2iQ2ccfznQ4LnQH93sSyNAYABn/uo+A== 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)(7416005)(52116005)(376005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ntv8xWpgBa+RyopHxHFUiQAm/iDg?= =?utf-8?q?5VnceqGd19JyPImBv3Rq2co+x35y2LyYRZNBdQLRPmWKNMUc98reCKjHEVN+rYgUY?= =?utf-8?q?Drsx3uY0shUsyrj9n+avSRPc0T7B9owfUAvcrsAo3X9jo7aSNhp16X/z+IkKYPQXe?= =?utf-8?q?vAue72lvpIboPen6RnfbcpwWDpZM5yvQ10ZLgP3klQosdqNZ5LlAiNaLSQNm9KuS0?= =?utf-8?q?Xkob37oX1DjUrF8Z9R/ZcFn+YPtVEYdR5rW6GKINCSxOKCNE9jBGxc5br0lumjUuz?= =?utf-8?q?VQxJ4l/Tjkkr8yoxpxh7EGxWZxdNCgRIZ6C1EBKRL8jmTOAN1RpTUBzzqWRheNAlr?= =?utf-8?q?jdl4/R9ZL3H7hTX5QLzgYMnOln78zwcjnm94uZH+zwUQNh3ThA+bfePPtPHajUmHP?= =?utf-8?q?cKRVmVLoZG8E/g8gDTrZc3RYRzmYAHayN2AqZYWCqKtaOqf5d6CVC2jB4OChQoIfW?= =?utf-8?q?ZKQV0Du5ucODrB3iiybyG9UHVX1fYVYP3X4sisJs5oIcvqeJBdmTD2LbJG4HzHFOv?= =?utf-8?q?qCuq1o6T5TmUZnFGKwSyrwLGlPLk1rix0DqHwBozkWlp+c07jNedUCxag92sTRvWL?= =?utf-8?q?s73whshvNJU4YYUuOoru8Umai1Tc8cDphlO5Rj3VuMJ0Of8NlOMMpg90aKSYQUyZS?= =?utf-8?q?eNgD/TmrAd2ugABNpLQDeMkrmFfey+yVUj3lr/ZVYB2Mh48pCCD5oBliadypZMK5i?= =?utf-8?q?7vpfAgpiwFHGF64RmSF1S+W3HVGRkAxJh1lwQYreyjkxE8Moym4nNHAwnIR6rQ70P?= =?utf-8?q?bodTRqry5bxxEhDlfw6VqnavNvcHL/MGNhJuVOq1WESiDniAMb48e9WMPzyw5n1s7?= =?utf-8?q?fzYlxvUK/vS7ltDtX7xdnWRef7SNk1MiXHbb70SdByQUdoWlchJqDbhIxHJ9k2XVS?= =?utf-8?q?m1tg/1cJ1inCN32yS27NahmOqzjlirEvu+Q9ExWn8fbAiic5X7RaW/5QNsgNNi7B9?= =?utf-8?q?zzl3VfYYxPOuTqewGuSJ2QU2QIEDpIyUub0xUALFlyMuIwfBmoNL0ISBIATO94T4A?= =?utf-8?q?maFj4pdOUErea2DominrjM3Vjx77KHdZ3X0MXXAQKQP2TRl74Y5yBSkuyVJ1BKN4Q?= =?utf-8?q?3VuYaDIYR0kmM93MaPo23ESpDsF+PcR618AwbFPTasDbNGfmBsfaVhKDaKrSLDY39?= =?utf-8?q?YGVMtyfZCu07QoV2oGqYLsTEPveZhE2Gs4ok9WhbrP3D8U1o2/8STgE9PjMzF7Z/3?= =?utf-8?q?0qlY92T2hxZDho79xDwwqzwA7I9vc7w5yiiVqz86cydpaquLw7gij4q3QF3mcfW/0?= =?utf-8?q?1sulZblb0W7ff7MC8JjYq4v78m8SihCa1U5FJJUV+KuT452qPZAERjj0vkLLv4SZV?= =?utf-8?q?SoVMP7Gjb0og66SJsj0kTI2dKNplBQ5ARKVyj438Pqq4yeBCGdY/30tHlht2t/2Of?= =?utf-8?q?s4xdZSOu8Db808oXpqUWlvtHTXe3XoAYkBqvdI7jgiAA1l/Kvek+/XpgqA0udD7GF?= =?utf-8?q?6fAsKEVZ3kFPXbr1OxHrptso4rMId0NqswxrAn6/ejvTvfR3mqDJv5wOkaPF3rtAd?= =?utf-8?q?KsdJGVpN+lcP?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a47df804-c8a4-469d-86cb-08dc5fc5d4a7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 16:37:26.1643 (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: dT7tkF5oJL8DXsuXl+XiVAx1B6CVThUtQYWCS6xyBce8O3wadxuv1h0uGIgSYgluNFf4BaWYoiVo0SpvjHMazg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8681 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 c8b24c46c30a4..09f2d3e76a3fe 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: 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"; @@ -382,6 +391,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>; @@ -501,6 +523,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