From patchwork Thu Jun 27 21:59:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715079 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21F9CC30658 for ; Thu, 27 Jun 2024 22:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZrEydm4wBP1ZJ7lpvkYnhmT6/fih9oki6mMdnoJM+oI=; b=HXEulX+Gv+RgxPW1pnF7XM9i0z kb4lrlCVwzww5RpHNq+sZ1b0IeNmiTWGVMo/APNEqGLDIjf5Hg9b7peZ+NR22bphLsTzO/UUSdQzM JpoT/gTeBi8XNa9AU5I9wPvr2XkVrPN4Xpwz0Bx4lCPiDBbhOa71lJK/OYcTCjnR1xFESZU/8V1c/ LaItf8B4+rBgt3f+1a8k+tEWc7mE54AVntefrnN9LA9xLooMR4V2W3FewokhJIEXEEj4uZc6Qiyh5 kE+eAo3TY5GU1EIECou8nt28Lsc2Nu00FQIvZJK54SP9IHP/NL8rPzHCVnKbnlBM9CbqXAXlF8xjp V8Cqf4BA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMxAW-0000000BpWE-2Blu; Thu, 27 Jun 2024 22:00:40 +0000 Received: from mail-vi1eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2607::600] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMxAI-0000000BpQO-3oSq for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 22:00:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FE529TMZNdBsbvYCwaB+SEjp0QyxKO9yoCVf+LER4xR8bq6vo87RmA2j6SSO6OW2tp43Vnv2kHjOBoV5wxT3W/ZuHGnXMDe5xfUTIkC/xdWNjFBYh6q0ID1r19DBN7DIpUdeUTCLyWgD1IhBJP/p2G2gmz8Lr2X/r4oGb9lUNnXl8DQUPRuYQWwdiNDXNrSuFc/Lbd5Zvn1vQMQqOam+bpU/LkbYzFvrudVXekkvKKrCNxed273c9vioazg4WhdBRXIPxwGprXbOD27f0ipqBBJLd/VIlT+EWa9zIR3S26itWnje4MZNjeocwHJ5XoFtvyXMVWH8QE0Y/ELhXqh40A== 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=ZrEydm4wBP1ZJ7lpvkYnhmT6/fih9oki6mMdnoJM+oI=; b=Koj+jSbBkt0CU3H3puETWuyLaDuS76yY9tmGeojN6YirKAT76o89qSBZoFU5fIHC92sQM+T6rKiy1pcCzG3o7FCQrAsiRshKQBXzx8KDSlPWDXjg9YoSlX07VRF8DA+v6VK0CioENCXl/FyR9hBKqK09rKh2a1JuDrJO+jbu4rtKiCdquKEh5k1v1/ifm+CISUidzM2YJB3yy9rsbjnOEF+WLKJiZe7uhLm/E6Vldohs6eNNEXgyQZVpPcaEP38u+jzC7J/G2nov9xmLb08bYoHqMrZT0cT/K005I71bZpSEcdShIWBbXVHqbbAq5p6v+cTyXQZDkWBU+JpjnTnnqw== 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=ZrEydm4wBP1ZJ7lpvkYnhmT6/fih9oki6mMdnoJM+oI=; b=g+2jpLNlht73fV+T8enS1V+N90fMg6LC5zoAqMi3OgoQPm2mKC99z9jbdciaCRzvWgxBn2SblujiRFE4l+ZP3RbyElfgkAnfhGUzD72tTmriZ2/Derek/z3tQBZT+trx64AL7kcSX3yQoGAIXtXI1IiK5yXbNpwHtSO9wWVxgnM= 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 PR3PR04MB7259.eurprd04.prod.outlook.com (2603:10a6:102:8a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.32; Thu, 27 Jun 2024 22:00:17 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7698.025; Thu, 27 Jun 2024 22:00:17 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 2/7] arm64: dts: imx95: add sai[1..6], xcvr and micfill Date: Thu, 27 Jun 2024 17:59:56 -0400 Message-Id: <20240627220001.692875-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240627220001.692875-1-Frank.Li@nxp.com> References: <20240627220001.692875-1-Frank.Li@nxp.com> X-ClientProxiedBy: CH0PR03CA0286.namprd03.prod.outlook.com (2603:10b6:610:e6::21) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b9c2f65-dc85-4286-e062-08dc96f487eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|376014|7416014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: GQwfi4jbFnUtONz2nGeYulF54MZbw45P9HGKN+876YmNufgLa4sD48O6zA7iIS9/j1Iti2AZXl/5DTb+FVFBZ8WIV7kIW3IQtZFpL1EdYpMLwOPpK5MLFxMES6tOHLMsVY4Od05AHhKod6QReA4FSuRNOx15aS+qkuG+4BG02p42aLrgGA3mAgH+0YNkfSzp171H2puWKytXZhNrASQYmxhFCC8ipozxWSK3YzWpis+JwN+bp0mlrMlbSsuaH9RnwiL+RNoua8t3mU6WaF6H5JaQ9REeQ6xTYhM5QJwGRKUfoa+1VZ29hBZb44fA9ETfmZyQ0lVC0DrduIjqnmTnmTn6AlD1aVZk0f3x9Ff2Dpd4b1S0v447PMzUk29g1xuvyakR1GicQDRd/XFsR2KWtlO/8Jq8i/DCxfAd0XcQl/qAUg0C75gMEKIRg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B9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(376014)(7416014)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: P4+5oV5LY6DKZhs8QfnuAFlIVctKKJ9MPPnETz6xxqyf71mOt5Soh/o0XepxiE8yYTI8G+87la8QKGaJcWIC5byyYQMESyKjC7N3Z4WpqPutPcIX8cMuCbwsHhDAJ2rBqlt+jAIxKul8H96W3IMNJnbYsWDMOS2prVtx6RjbWc8To46+kHjODtCIsUB1BonDDIwGNhA8AYD6JmfU41YoccuGNFBLJX4uDmTOlP4p+HxBJixdTofYeZGZOEHD7PY5v8F37gDHexFOde9rOe/LzKr25ex3XqTSqYjLT9zQKcQocqHkR9JvoxNrh+LyXRK8LF0MW8Txw9YwhpKRQoDtdEiJ3TtMSbaFDrGIen0O+DYPa9+LYcbs1Z8MEy0ZNtCRlgA15nfXZWVJpiaO3ZKa+bhTqaGp4WFBTIgx66lPWzvmgZFR61LNyU/pQ5yslSwatm3hH3szc8lA28XicBuh8oDRmQG9mKELn5Q1/oy0mhFg1fY/9t3Vmp4q/3/AUrDkjvVCClMM2jFZaUWwfv1tybZsmlyf9LRYcNl3ohLF0HLgQX257dn13q4sOuy+qPTOcePQfkNc7OmvKBbbE5CZOmeKnxmFnMYKzk2cbH0UCztTjGj0pc96UptK06zvP5yUdU6qpyYLTSeyIDqj9rcbcco4DE24lLpoZgCJ9QnfVMVZty7wEHlpW11SQmy0r2NorcEtqnQbg7dYnZb01YzsUrmTMaNW9U+ju25ROW/dSz9JIiZTMIAjMJyAM/wmE8kXYpHqbQ1+K+x2pOZFVFGU9N2XAGWimgLTnAlnXYXn406jdQZRyfrIl3jUPuBwTQcjYjWwa36Whr1JK9htpvYRXVP6mfSXPe01QMxSQYfbkmiw3riC23+uvalHoWxe4Pg7Urv6pki0gguWCKB2aHsablaGOq4zqWz5kKKJ6lU5WILQQWLPWKqp5z/rcNgv0cVUjEQs7ZaE3R+zenbj9jjm773LqUYUhUvm2TBElIazpGZRRx6zLTLewQFUXU0JIhoL0wWrlpKN8svVIPSQfWufdctAQC+OLE9n+RDcXl9e2bRtKim3POE5JBzKj86dvHylJsSlXZcTba1wMSR1GVMueMoXoNwpj8aOrxeR90TwJysMHDXq8KSTAuCN8xGTSR6kMfHClAUIyfM67I7lu0x2sNGzY/LJsbwf0iEjWHu3vwZ6WLJhf9unF+jW+IEXU8HSvHBwpI2LWVED+tP/JRPIaNVF7W/aFRQxOrQj9Ny30VyWgH1RXIM3dxTNjXyblQ3IzyKD8YkUW4UsFrFK3G3mo/du+raOF6GRN4SyaNEA41g2UdZu0QMAcZHWhOlrE4jz2n8i/7iFkI629TYff5f2ygQpiMS59DvNl/bPPVVunjfOq2EAvXdr0E6LTWMGbzVrrTi+egQY5Wt5885lVFKr6utqRAOaWwONEmgfWjmGo/83md+DM3xQSfi4axzYeo1xlGVZ1tAVe3dkvdyYfRKdT7/WaoM32a7BHZhiSGgkiFIu4dn9tUUQnK8HRK9xS3UNFSfvFwGCLzw/rrY3ugaytQcqRIP2koCUkRrtXqMJzIc= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b9c2f65-dc85-4286-e062-08dc96f487eb X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2024 22:00:17.7385 (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: /82M+O8Qh23y6WkMvXE5JGbNiBsycTgLWT9HqNDDth7yi3u14cxUngGKR0CZqZ8S8YJtqUOc7G7ovW4puaL9cw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_150026_977518_38BB2ADE X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add sai[1..6], NXP Audio Transceiver (XCVR) Controller and MICFIL Digital Audio Interface (MICFIL). Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95.dtsi | 111 +++++++++++++++++++++++ 1 file changed, 111 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 12f7ac52c2589..d32127cf7018a 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -222,6 +222,13 @@ core5 { }; }; + dummy: clock-dummy { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "dummy"; + }; + clk_ext1: clock-ext1 { compatible = "fixed-clock"; #clock-cells = <0>; @@ -706,6 +713,64 @@ lpuart6: serial@425a0000 { status = "disabled"; }; + sai3: sai@42650000 { + compatible = "fsl,imx95-sai"; + reg = <0x42650000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, <&dummy>, + <&scmi_clk IMX95_CLK_SAI3>, <&dummy>, + <&dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma2 61 0 FSL_EDMA_RX>, <&edma2 60 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai4: sai@42660000 { + compatible = "fsl,imx95-sai"; + reg = <0x42660000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, <&dummy>, + <&scmi_clk IMX95_CLK_SAI4>, <&dummy>, + <&dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma2 68 0 FSL_EDMA_RX>, <&edma2 67 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai5: sai@42670000 { + compatible = "fsl,imx95-sai"; + reg = <0x42670000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, <&dummy>, + <&scmi_clk IMX95_CLK_SAI5>, <&dummy>, + <&dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma2 70 0 FSL_EDMA_RX>, <&edma2 69 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + xcvr: xcvr@42680000 { + compatible = "fsl,imx95-xcvr"; + reg = <0x42680000 0x800>, <0x42680800 0x400>, + <0x42680c00 0x080>, <0x42680e00 0x080>; + reg-names = "ram", "regs", "rxfifo", "txfifo"; + interrupts = /* XCVR IRQ 0 */ + , + /* XCVR IRQ 1 */ + ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, + <&scmi_clk IMX95_CLK_SPDIF>, + <&dummy>, + <&scmi_clk IMX95_CLK_AUDIOXCVR>; + clock-names = "ipg", "phy", "spba", "pll_ipg"; + dmas = <&edma2 65 0 1>, <&edma2 66 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + lpuart7: serial@42690000 { compatible = "fsl,imx95-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart"; @@ -1124,6 +1189,38 @@ lpuart2: serial@44390000 { status = "disabled"; }; + sai1: sai@443b0000 { + compatible = "fsl,imx95-sai"; + reg = <0x443b0000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSAON>, <&dummy>, + <&scmi_clk IMX95_CLK_SAI1>, <&dummy>, + <&dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 25 0 FSL_EDMA_RX>, <&edma1 24 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + micfil: micfil@44520000 { + compatible = "fsl,imx95-micfil", "fsl,imx93-micfil"; + reg = <0x44520000 0x10000>; + interrupts = , + , + , + ; + clocks = <&scmi_clk IMX95_CLK_BUSAON>, + <&scmi_clk IMX95_CLK_PDM>, + <&scmi_clk IMX95_CLK_AUDIOPLL1>, + <&scmi_clk IMX95_CLK_AUDIOPLL2>, + <&dummy>; + clock-names = "ipg_clk", "ipg_clk_app", + "pll8k", "pll11k", "clkext3"; + dmas = <&edma1 6 0 5>; + dma-names = "rx"; + status = "disabled"; + }; + adc1: adc@44530000 { compatible = "nxp,imx93-adc"; reg = <0x44530000 0x10000>; @@ -1423,5 +1520,19 @@ pcie1_ep: pcie-ep@4c380000 { power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; status = "disabled"; }; + + sai2: sai@4c880000 { + compatible = "fsl,imx95-sai"; + reg = <0x0 0x4c880000 0x0 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSNETCMIX>, <&dummy>, + <&scmi_clk IMX95_CLK_SAI2>, <&dummy>, + <&dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + power-domains = <&scmi_devpd IMX95_PD_NETC>; + dmas = <&edma2 59 0 FSL_EDMA_RX>, <&edma2 58 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; }; };