From patchwork Mon Apr 22 18:44:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13638815 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) (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 2E2EB154C00 for ; Mon, 22 Apr 2024 18:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811531; cv=fail; b=emkHrCbXAMnXyhZif/WYN2kACMqCvkj+M1hckvZeEoeJr4pp8Vn3rq6OdYp/dINbLQg/xsZtaRDsTEHvxUIlErgOI8NxwuhQfJZEIxVZCe5k00jnRyHSvm5I8AFS9BtmECT4YbJ0d+cfPTEyu4glefLoKwCuzcDzNGcEsMNnBvM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811531; c=relaxed/simple; bh=FsUrMXHLKJ/frzTANnIa3b1snsvn1Cr0o0YqBbI+SiM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=dtY5OFu+Veamx0PnUlN7/7ikUPm9Q2/3glxtT4Khd45RikwQbOXWnMEZYtfp9jzz0VJ/xBMH3v5oBFrJmj2gHYhKz5zL5W+GYfcid6HMpr6rrt9AZsEQ7Ese5Sqis5CqqqY4CWQ1a4GE8a3RCWBH9OUVRgascZQ5x/IBSOxhQkc= 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=awzpoTZF; arc=fail smtp.client-ip=40.107.21.61 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="awzpoTZF" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OSKsp4GVoE09V1E3cvbuVpNUefZkMin+bWAPI8qj6433mtseGXQExH1yIFqJYmbcOOOImhVVvKhcHxCVZ5Mk9bBCff8i148vUO39nb8S8d4xDxoyvhXe/CzvrZBxfiZnux+tAG1jYhY3QO3arjYtUYTOabpMiaXhIHv03QItw9pAyz+Pdr0USptPEsdF1PjTJDetMAyu3NMv5u1YjHAyw/5JY8JtwUlHmhdTuT9s2tWurTKlIEoDeuvvkCxFmY0dzkAHMUTtGUtGZChnZu9CITiYqGbFzXrdby/dAW5UeWU7GujjjsIDLkd/cxEEhoxy77MfCstqZjGI1oq1jwr+Kg== 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=TBIuqHeQVAyOwum0bM19rYmn1M2zD4KXKE+L4JRtf2o=; b=GZ3gUsCJoUMzEzFYvvGFHCiTPDZOxtsHLVQ8UEdFeKVafUCWPWiLoMWob2qjIyenog0HRQBFM+mLipoUp/5v8kNNPttZHkU6DOr96LXORBSSak3/NTFBCPtjcP6xpKI29HeOjB/QfvR/OIAJ+uQJVs+/6EaBZC0Ire6+iAp6zRMBLI51CBS9uwnEWTnDFetH9m43oh9gsbL+OKMCRHNylifFPoe6yekr6wY7CBo4qjEmdRv487PAYYgMKudwWdF+lxWN062cGlE0ykooemb9/0YKHG4q4n+dnggJZCPR8LreowYKZfqfaOzCV7hevtH/FDZLGAxqvE875OEqHD/JeA== 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=TBIuqHeQVAyOwum0bM19rYmn1M2zD4KXKE+L4JRtf2o=; b=awzpoTZFK1GD43gpQuvgFomzXfhFafkoDEyRjpv0r+Wu82CpPS8lh9zz9A5WR3TRoIqO9hjJaBOjn0+o+GhGoFliZcynqk7KRcY2hpeOoR23qK/lW9FXaw5b6JHaeT9ABR67TBW1qWDg3ifnNcWLqg9ArAI020fCrfnj+Af8A34= 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 DU2PR04MB8853.eurprd04.prod.outlook.com (2603:10a6:10:2e0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Mon, 22 Apr 2024 18:45:28 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7472.044; Mon, 22 Apr 2024 18:45:27 +0000 From: Frank Li Date: Mon, 22 Apr 2024 14:44:54 -0400 Subject: [PATCH v3 3/3] arm64: dts: imx8dxl-evk: add audio nodes Message-Id: <20240422-b4-dts_dxl_audio-v3-3-5017511f399e@nxp.com> References: <20240422-b4-dts_dxl_audio-v3-0-5017511f399e@nxp.com> In-Reply-To: <20240422-b4-dts_dxl_audio-v3-0-5017511f399e@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=1713811515; l=7895; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=FsUrMXHLKJ/frzTANnIa3b1snsvn1Cr0o0YqBbI+SiM=; b=XVLr3Ic3Tlqi+2OFUyuk1byOM/Hhlcnv6G8cMysvZSpHtR4R2kp+7QCwjrsm3lU/yTeTaqVbm EH+48sezKY1AvXTSG23T3PD0cPEqh+BIpduyEzDApiwBWOMfxoYL7xj X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0126.namprd13.prod.outlook.com (2603:10b6:a03:2c6::11) 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_|DU2PR04MB8853:EE_ X-MS-Office365-Filtering-Correlation-Id: fbe5a93d-226f-4126-2cd2-08dc62fc60ff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?b67iAG1vs50EBf5hLScbbJSWDFUDqYV?= =?utf-8?q?XNCS+gLg1MrJhk8Z0Wd1mTeb6+DZLSZM+Jy3zDlp/OzawHml8No9ft5w5OE357E1B?= =?utf-8?q?9+Y8rymaIvQAvbPypkPTBKwdzvkhoPvbgfJQKN3oGyqk/gag2osWl54VF+wt5+X7m?= =?utf-8?q?TQjmXRdAUnKnZUdrh5LFY9O7TklTpk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krlfmONteWtfiwblGV5BWu8eI0sA?= =?utf-8?q?S2QR6/pi5Y777vbFaqGN1XP2GXnz1s6OBYOVUBfL1FLUwIkyUeJwu0rAY9YMldN/W?= =?utf-8?q?Ikhe9w0JFI29MJUq7UA3g1R7Yqx4kOC3OFQ8ol05VJDpst0vrOpAqgfyp5ncex/lo?= =?utf-8?q?XMExVYbfcuoDCJEfCXpRJpY6pG6lzXON5LCYMl0Amu02KVacOksl8ekgljCXQBFa3?= =?utf-8?q?Ho2nqeeCtArp+q61Qelpp494Z/1DrE59XhA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(52116005)(376005)(7416005)(1800799015)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?xBbwwuw+nPF8HCebgqZMmC29RaYN?= =?utf-8?q?ooFLVAr2uQcLfq8n0dLyqBGEc0SmMd9lLnDxKkU+e6VhviRmX5iCKUz70W9+b9a/G?= =?utf-8?q?ESmyQkF05FL0vU0M6QGO5JWVqhzLah8b8092ynfAjHCQAhSDo5hE1b3iQypMSziDc?= =?utf-8?q?2Vubk8XAFnknvqYVO4x603t/hWHQufYz9PY1W55cj2TUZUKkiemQv1CZ4tV5aYtkp?= =?utf-8?q?A5MIjPnMXDT2laDiSQAIc9epSnpFFoRyWQFBJzhWgznSgWTHV4cE3CKjz6xhhbQC+?= =?utf-8?q?a6OW9IwhR9aJuUDh64miBcUP97eA6ntlRSyInoUEhuskQ/LTgKr3y+6ao53wm8J3/?= =?utf-8?q?3KKtreRvxJaJpTv6Xe9/zYCl//bnmmu5t79UFWsjjyjbdalLkDwkybOhd1T6VW8ZH?= =?utf-8?q?lXM1HIRRidsgyHTb3zvpgPY54zrSq0fo3omR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QXo1gIWE3lqkBXmnh46aHI+?= =?utf-8?q?GhZnsN4bxVYInMRbEAT3lSHhMX0YXyBye7sJTN9L7PULePb4CAT1e0LcaBU8zgYVh?= =?utf-8?q?38TpeJnTm4uVvSj/vdQqiDKPUG8KDDxxYbAY00Ktr/M6T+qRJfRY1XVfrityZZKcr?= =?utf-8?q?jZxkfC4QScncEvLXwOV0MYxEecm8MoDGHqsjvk+6li5opTRBit95qksxAKO/3aTIL?= =?utf-8?q?4zrtGSIEEo1o?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fbe5a93d-226f-4126-2cd2-08dc62fc60ff X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2024 18:45:27.9185 (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: LWgXTJafyNtv/LnTlKgsXjm4bYI0XKxLF9fIPt8ssaMO11YYCZJOiMAZhLCqKDnbGEPPYS8NA6wEESvf8pNZPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8853 Add audio nodes for imx8dxl-evk boards. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 231 ++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 2123d431e0613..5b5a7b47217c3 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -125,6 +125,78 @@ mii_select: regulator-4 { enable-active-high; regulator-always-on; }; + + bt_sco_codec: audio-codec-bt { + compatible = "linux,bt-sco"; + #sound-dai-cells = <1>; + }; + + sound-bt-sco { + compatible = "simple-audio-card"; + simple-audio-card,name = "bt-sco-audio"; + simple-audio-card,format = "dsp_a"; + simple-audio-card,bitclock-inversion; + simple-audio-card,frame-master = <&btcpu>; + simple-audio-card,bitclock-master = <&btcpu>; + + btcpu: simple-audio-card,cpu { + sound-dai = <&sai0>; + dai-tdm-slot-num = <2>; + dai-tdm-slot-width = <16>; + }; + + simple-audio-card,codec { + sound-dai = <&bt_sco_codec 1>; + }; + }; + + sound-wm8960-1 { + compatible = "fsl,imx7d-evk-wm8960", "fsl,imx-audio-wm8960"; + model = "wm8960-audio"; + audio-cpu = <&sai1>; + audio-codec = <&wm8960_1>; + audio-asrc = <&asrc0>; + 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"; + }; + + sound-wm8960-2 { + compatible = "fsl,imx7d-evk-wm8960", "fsl,imx-audio-wm8960"; + model = "wm8960-audio-2"; + audio-cpu = <&sai2>; + audio-codec = <&wm8960_2>; + 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"; + }; + + sound-wm8960-3 { + compatible = "fsl,imx7d-evk-wm8960", "fsl,imx-audio-wm8960"; + model = "wm8960-audio-3"; + audio-cpu = <&sai3>; + audio-codec = <&wm8960_3>; + 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 { @@ -132,6 +204,11 @@ &adc0 { status = "okay"; }; +&asrc0 { + fsl,asrc-rate = <48000>; + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -259,6 +336,78 @@ max7322: gpio@68 { }; }; + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + + wm8960_1: audio-codec@1a { + compatible = "wlf,wm8960"; + reg = <0x1a>; + clocks = <&mclkout1_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>, + <&mclkout1_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>; + }; + }; + + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + wm8960_2: audio-codec@1a { + compatible = "wlf,wm8960"; + reg = <0x1a>; + clocks = <&mclkout1_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>, + <&mclkout1_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>; + }; + }; + + i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + wm8960_3: audio-codec@1a { + compatible = "wlf,wm8960"; + reg = <0x1a>; + clocks = <&mclkout1_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>, + <&mclkout1_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>; + }; + }; + i2c@4 { #address-cells = <1>; #size-cells = <0>; @@ -362,6 +511,53 @@ &lsio_gpio5 { status = "okay"; }; +&sai0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_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_0>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; + 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_0>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai1>; + status = "okay"; +}; + +&sai2 { + 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>, + <&sai2_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai2>; + fsl,sai-asynchronous; + status = "okay"; +}; + +&sai3 { + 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>, + <&sai3_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai3>; + fsl,sai-asynchronous; + status = "okay"; +}; + &thermal_zones { pmic-thermal { polling-delay-passive = <250>; @@ -595,6 +791,41 @@ IMX8DXL_UART0_TX_ADMA_UART0_TX 0x06000020 >; }; + pinctrl_sai0: sai0grp { + fsl,pins = < + IMX8DXL_SPI0_CS0_ADMA_SAI0_RXD 0x06000060 + IMX8DXL_SPI0_CS1_ADMA_SAI0_RXC 0x06000040 + IMX8DXL_SPI0_SCK_ADMA_SAI0_TXC 0x06000060 + IMX8DXL_SPI0_SDI_ADMA_SAI0_TXD 0x06000060 + IMX8DXL_SPI0_SDO_ADMA_SAI0_TXFS 0x06000040 + >; + }; + + pinctrl_sai1: sai1grp { + fsl,pins = < + IMX8DXL_FLEXCAN0_RX_ADMA_SAI1_TXC 0x06000040 + IMX8DXL_FLEXCAN0_TX_ADMA_SAI1_TXFS 0x06000040 + IMX8DXL_FLEXCAN1_RX_ADMA_SAI1_TXD 0x06000060 + IMX8DXL_FLEXCAN1_TX_ADMA_SAI1_RXD 0x06000060 + >; + }; + + pinctrl_sai2: sai2grp { + fsl,pins = < + IMX8DXL_SNVS_TAMPER_OUT3_ADMA_SAI2_RXC 0x06000040 + IMX8DXL_SNVS_TAMPER_IN0_ADMA_SAI2_RXFS 0x06000040 + IMX8DXL_SNVS_TAMPER_OUT4_ADMA_SAI2_RXD 0x06000060 + >; + }; + + pinctrl_sai3: sai3grp { + fsl,pins = < + IMX8DXL_SNVS_TAMPER_IN1_ADMA_SAI3_RXC 0x06000040 + IMX8DXL_SNVS_TAMPER_IN3_ADMA_SAI3_RXFS 0x06000040 + IMX8DXL_SNVS_TAMPER_IN2_ADMA_SAI3_RXD 0x06000060 + >; + }; + pinctrl_usdhc1: usdhc1grp { fsl,pins = < IMX8DXL_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041