From patchwork Tue Apr 2 21:02:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13614614 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2122.outbound.protection.outlook.com [40.107.15.122]) (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 B035115F321 for ; Tue, 2 Apr 2024 21:03:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.15.122 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712091824; cv=fail; b=SXkuICwOIb3dnShcjsrt3zevm/JRFbeb88mM+U7d4TcXxTATsSiXoAH7FSOHbGRCEznreviQ9srgoRNGBrGKB1XcRJVhbGRdiTAHi1rU7D1uOMBHtawJvoPmnAcU73sENzyqQhmbtY+g2DZr9kVn0E+sEmNrIbjwTbX7cH+UWhs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712091824; c=relaxed/simple; bh=WIh5zNcrCN21FqqBVKhLrd4W6IaEfkdfwk/6OGdozSw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=OgYlkmQjhEsvsbp1nGb5A4QpGAr8+E3eJy3y16uwuQPIOG2+H204Z/d6kC8co9O6DXxbXQWtGtrhMngZRF5bHOA/xaNkdJH1uf7tfRhMjs/kYAYkbaZQZMCy9fMlqGZRyQJoH7nQT7LVdMrpc/PJXPzlTg9coJIpso8Gt/gfcB0= 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=XdZp2mu+; arc=fail smtp.client-ip=40.107.15.122 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="XdZp2mu+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+7AzFC4Hk6I7MDExhSph7md029bCGuWH2/P6FXJ3g0z88WzzSHu+RVcodW0gcKduxQDdCxqIPQmfT1IEmPrVnrlSJ8Sk7xWggVoV3tYR3dxF7ow+FN3dogcuU9fp+0qfUNWsm7djtSJ6ktLxKu5+zym0Mdepl0KMFk+8VTQl1P3j/0hDmfMwMrpvqsgDVWGPp8D5Ah6VzNSYxsT8mEGEUGgIfDqIy6f/Yqc9AVDFWBkxfbv/UF3+9E03sopEZ5S7Cy8Ko8nMnF+vTNgPUYndyAqblkhruuUFMECpkgkVxtNGgWnLb1nqB5taDoVOpv+2lB7SHngYbpmssOZasRwwg== 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=iQHZ6tb+E+wCAs/bzDDCKaM7n30EXEtYUz4xcT4vdyQ=; b=EblrmjtgFa17FrCIYMXIiBFCrApWO2BQc14tatBkwN4ZIXB7UQRMsU/uSserb7DKrCjiV6QS49RAtRsmGjfmp3wINvN3exdVy3dIlhWMm3eeFzlOFwjpk69dbj7BCAPq1HaovoFYWo7T03GDjPUmyL92cz6v+NmEI8aU8npMfykvff7nlRVl4+IsNDmoNIiBaou6DWli33LHdNI2kvYM6JEZESnvPgABXzS4YPo1olLbEDaLHB+bxjWGow8Ew709Yw8nWikuEn6Z1RP1Hkz1eBoH/8jXuIGaeGn/qzWccO8bkWFuXIlzobpUm30Ley/BAljVsWKKCl5UaqBH6a7MxA== 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=iQHZ6tb+E+wCAs/bzDDCKaM7n30EXEtYUz4xcT4vdyQ=; b=XdZp2mu+iKXeGjdpuGWH+WmAgivnuEEYSkXQjrby1wBmpYxfjYgJW0881PxT5jsLyCb+t5zmR9QaqMkTzM/sC65yYBQ3rZGAN7OkgEBBobHE2tNTO8uxsfPeNQA26/gX54wQB9v8XCNy0rBjNHlkEksWER1pYwcY8Q1BgrGYCNA= Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DB8PR04MB6796.eurprd04.prod.outlook.com (2603:10a6:10:11e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Tue, 2 Apr 2024 21:03:39 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7409.042; Tue, 2 Apr 2024 21:03:39 +0000 From: Frank Li Date: Tue, 02 Apr 2024 17:02:30 -0400 Subject: [PATCH 3/3] arm64: dts: imx8dxl-evk: add audio nodes Message-Id: <20240402-b4-dts_dxl_audio-v1-3-d26d25b84a08@nxp.com> References: <20240402-b4-dts_dxl_audio-v1-0-d26d25b84a08@nxp.com> In-Reply-To: <20240402-b4-dts_dxl_audio-v1-0-d26d25b84a08@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=1712091807; l=7918; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=WIh5zNcrCN21FqqBVKhLrd4W6IaEfkdfwk/6OGdozSw=; b=aQ+bwGh8EVhBICKM4AJhtb6H667gk11EhQ7+J6qLn28lJrG9mhERbR82sOJbtugHYqnnO9y+4 43Pa2VnV8d4D9V8s19vloZSrWB1SxV10G2t5Jb2FERdCCYMsPDf/op1 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR03CA0018.namprd03.prod.outlook.com (2603:10b6:a03:1e0::28) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DB8PR04MB6796:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yUO3Z7ZD/nkSOqP6CePYGVmEJrTjJau3xV0oNVWxZkymMmIAkmaupZa3fOoOYCgfAZNCBgfc0N+Bp8bZI/tVKfv7UVTVCqj2KDm2RtlMMAvhQJeTYFHngcQksuCRLe7Ubjfef8UsZu8xogzGuiV5Yn/BjnQ0vZSrWy3cBfFGcJAnswKTdJbun97cFYAwI5vmqBsIC6tGzr89M2tvoZcPoSAugNVrc7hFnGbN2eQfToyUl/+gbATxLoTnbxl+w6a3WAstuGXSDDOkNMc0TOajecvndP8WM17wQ6K3oLOn5B/NvZZSGjUZTBlV01x1gTbi5uvmqM18Ii1Q2+01Oz29vti2qCO69WYtBsLZMlkQRoSIypcLEBLXKrF8g2W7oPCSG+UuUDR+PSAirFezVPofZN3dvwFxtPPp3SmufgZ7hcWkLfXccosE/SWtgoAr1ALjUKE5MpFVpSbKmKVKJm/tY6y4n0FcqjHnrNBzhHr2W8dHN3ZtVVgEtqNgO5dEmeUYq7KM7iJcKKkOv3gWy5zf7uIPJmunUy9L9jclXa4bm9jzgGM4e0gLs8SxY5KWuATT2Hb6px9umCxBZ2fibK9Yq/HShSBoNRFu+2To4PaZ2+TvXPTb3E60BqvZuqwm2r9jIqhkzMcpj8Hlck95HyivjuYktUMC8Xk48WJC9OWMhrKeCBuD4i7WI2ZfASMChFHExJzL9puC0yhOfbZ92/OrJUx87J434Sx4LEOHSLqhPtk= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(52116005)(1800799015)(366007)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?7CLea22pS8z9sQTMdg3eWM/yMhIH?= =?utf-8?q?F1dq5G08XJdfWTL27k7Fu0XbGKZnhhiM5ISdvGJ13oFryzwW50CeV6CjuqE19DPfF?= =?utf-8?q?zY1EFaYoPKiDO5sE4v2ZbCrNVV2SkI6jwrXH3Sxkv6mR8KHqVrIm2Ig1Gu4IxkGam?= =?utf-8?q?VhgOhw8H/03ISKu5hYq/cu05sEfACdO38DCTac/LToLNiQyCsz2ZpqcfJCvji+sx5?= =?utf-8?q?vA/d4ufsHMTbAXrOI7ejs+nXGjcScyD5i7CO5/Y5n4ck6+HxwwjTJS2WawevPNDfa?= =?utf-8?q?4cotxbYdMKPXU9C1dSy9clVwAPoyQ7IRERI6m8Pnx2n1bDb4gPZcvGC4gU/4Mpm3M?= =?utf-8?q?fPzIPhbKWrrdfNuN2BQPnV3wNmtuGGhCJOIOJCRSlCZd0WGPsOF1sX8nS2uba3OsP?= =?utf-8?q?B18+s7E2dzY+zXiPMt/KCJf56h61MLb+wAQKyO+b5SdhErxuXh/IC9Dtq2Pg/Zm1v?= =?utf-8?q?7NwhvFnDsQ+Xfk9wvpjlIW2CqeTTmjlu6ZrVfWSpOrmr/F/LRNMV5MC2xaY1cXPGO?= =?utf-8?q?RimmQp21RZFx/SdMjFewUOTEt643sPkGRlf8vc8HKHkxmMvvXyu3q1f0se7apSQA9?= =?utf-8?q?4dNjTtYlEherwtTPyYfBoR3hNCE6MPJtwfe3ingy/G1lee0MskJkRYXrnMXye+EVB?= =?utf-8?q?qFIGK52+Af8h+87GZnoPJtfImaOtV4FzguLihrLjrEDfRWzlRP8zr/BASS6eHg9Hj?= =?utf-8?q?00qXDhLfCPf205+/zAthJSTr49coohTCvv41UPm2PJUs0ul/dpiUUHhBYfsjYw9b4?= =?utf-8?q?Os6FzXuYajS9WLenlPR0fvgs5dcu0U4C8h3hi/8i4EyJ0iEl2zNV2QnV+/HUei3sV?= =?utf-8?q?UGiv5LNh/foAySOXRERZqr5Blqy2SGdg25+FlHZh8OAdv9SzJ4QiKo6V6G9xyuAnG?= =?utf-8?q?AlJQF8t0if9WZeRHuD/KGk7EBk7I/TR3bXJB+c5A1H3skFu8Oml0w9TH0iGp/VMRa?= =?utf-8?q?o7NwNymBETNNPXVHb3TQdvzZItEnzYcR1+wDNEt7widXOoptA75gFW/vRMWSubQwn?= =?utf-8?q?FFnCPs8Id+gFoRsa8CTcv/vflNLEDYxjLlpL1QQvNVga0JvFJWKFlQTsfj+SDjx+z?= =?utf-8?q?Z7rVMgiLEUdSaIanovGNhIOXkuoHyKzsZ7vUaXcmVxVkw5CD5qGQVS16pgUZpo+jv?= =?utf-8?q?Kjb9zQkVdxLLY42uGPvSNMlElBtIn3d0+v9NNLk25D6jUKZChx5JcPS3oPqJwSzrL?= =?utf-8?q?slm9pehg+/sZbn/XALkL5oOAZStSFBHv2dPonAAO9RQUsSCtj1x45YW7rSmBPmU09?= =?utf-8?q?He5mKN2tRk+P1rC4hlyL1kGVvrYk3fOOd18D/DOFRwDgpRjP3XqHIPU9Y+VKLg4iD?= =?utf-8?q?HIMv5ohNCVEAQU079oo9t7ynVrbUTur2rMf7nN7UQltoZYqjCaSmRnMkAXDizlZ9/?= =?utf-8?q?EkgAsbtzTgCkHeZgKoBbKLyEt/vbktfaVjrLe+1w31L7WarblUGrPL04N9SJZtN6D?= =?utf-8?q?CmMxd4AZLzR4yd/ERMIbwRYpPQZphqKwZI0TWFDaup7gY84Z8teza97mInZDpXo1K?= =?utf-8?q?SzKfROqaaxkU?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cc23d36-ea97-4572-5975-08dc53585efb X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2024 21:03:39.6213 (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: LHYtWSdn8yt2RFF+IyA7xml97xCS2U+36F8dejMCtKdbvX5wdDWNSCRQmVcsBdYVhJXu+SwlpMeY0Bp6lwtATQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6796 Add audio nodes for imx8dxl-evk boards. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 234 ++++++++++++++++++++++++++ 1 file changed, 234 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 2123d431e0613..ba4cdc3534362 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -125,6 +125,81 @@ mii_select: regulator-4 { enable-active-high; regulator-always-on; }; + + 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-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>; + capture-only; + 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>; + capture-only; + 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 +207,11 @@ &adc0 { status = "okay"; }; +&asrc0 { + fsl,asrc-rate = <48000>; + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -259,6 +339,78 @@ max7322: gpio@68 { }; }; + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + + wm8960_1: wm8960@1a { + compatible = "wlf,wm8960"; + reg = <0x1a>; + clocks = <&mclkout1_lpcg IMX_LPCG_CLK_0>; + clock-names = "mclk"; + wlf,shared-lrclk; + wlf,hp-cfg = <2 2 3>; + wlf,gpio-cfg = <1 3>; + 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>; + }; + }; + + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + wm8960_2: wm8960@1a { + compatible = "wlf,wm8960"; + reg = <0x1a>; + clocks = <&mclkout1_lpcg IMX_LPCG_CLK_0>; + clock-names = "mclk"; + wlf,shared-lrclk; + wlf,hp-cfg = <2 2 3>; + wlf,gpio-cfg = <1 3>; + 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>; + }; + }; + + i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + wm8960_3: wm8960@1a { + compatible = "wlf,wm8960"; + reg = <0x1a>; + clocks = <&mclkout1_lpcg IMX_LPCG_CLK_0>; + clock-names = "mclk"; + wlf,shared-lrclk; + wlf,hp-cfg = <2 2 3>; + wlf,gpio-cfg = <1 3>; + 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>; + }; + }; + i2c@4 { #address-cells = <1>; #size-cells = <0>; @@ -362,6 +514,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 +794,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