From patchwork Thu Jun 27 21:59:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715071 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 C1ECF19CD0E for ; Thu, 27 Jun 2024 22:00:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525622; cv=fail; b=rOcZjxfcMHaohdB7+y6ChOqjwdK/m3YE4E8skeJbtgONuyPx18cYeV2SYr264g1wS0N3wCZqWTtkD0tZd++W5XoHrDNOjB7upuWtIPW1vd9R1Jsv7lDTNt8J/kY9hqdpTk1i8u9HZyvM0AqLQam/juXXbPWxHtEkEM13wf6/bYU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525622; c=relaxed/simple; bh=mapawrh7cxMgTXjVCbgvhNl3QH2tbXbuAm4cMU8aeOQ=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=A/AbSNQMgtso4eFKoHuTWNFSMUA1fNVrom4yGCD+YDoTlF0ZcBW1Iiv4fhrnjzyiIW3D1W4RTBHHGjOh8qZOGiZfK4xEzXsf3fYOJve39YnNEBMQLx9W6F6LZkdsjmKqmQ147+yzSGhrluc77N8/Ld2M5DuZr45SUmvb8dR1o30= 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=X4tMDa1d; arc=fail smtp.client-ip=40.107.241.83 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="X4tMDa1d" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nyf2pq7rgKWCcBgVs7jm1RaYBtbCOz5LEtLDlXzAS0v9teBLRq6wv9KONq30A1eV9vVhbNSX/xVRY3S0mCsTO/FZFzDlFU+6970HTihIkurWjjns8NEON7istx37k+iylQLrICB/20bx+YMB9FQBVwJFS5ZklmOFnu8PqhloD4pUr5cJfapYqfftfVkRjQkK30Ae2jcWcl41pnaWPsvsCJN9X/BDJ4nEcotD6Fd37W/6WxNsHIESWbT2zdwLyTF37EiuOElUF30BnelcZzP5d79a95QOPsrCHH6XME9jRg7jlqW6UT0TTu4V/zSKZUQdSJEbMb3VGDTFZvflBC20Cg== 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=XpgusfJdy1EDwPVfp51czlGETUgCyRjBchtrL7Yi9U8=; b=U0Kcr0Kzks1p35L4y+bjYwpx/zApQQIHZa8HRsfWo6MQHaXSMPrQx8Pk+54DXMoZ67GntI8eYnCSrXg3wnNHHO3F2HvZnkl3hcWDp/C9S+lGA7mzSbv4KDUbzzzq2gHrE/b6ESB9zq5qcpKS8zDQiLTa3tQehjPQ/HPj2yH18T3XUwjW3YIi+dsVdO5A4UQiHcNmSbev/tBYYCIswyEH8PiGo9DcbrLZ4JXKoepOwPjpszNJ24GdYfYlIBYgApr++8yYLlk9duIOPZ5dAs9DFeVw+xqtbpSOxHDf+16Ceq+LDi3tTzCtTti3zdNuEjUQfyM5ufUw1OKTZv2ZJEKT8g== 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=XpgusfJdy1EDwPVfp51czlGETUgCyRjBchtrL7Yi9U8=; b=X4tMDa1duyXTirN7oIpJROPkhMicDnyy7jr9IMlPi8GexA1mckEQG1XoqEC0ZLvB/6QdMBcXTeOkkx6O8Tpd3nfuzaiZZvYgr7kD9xqgu/vx/6IlZVfXOhWJN1UrjgcH7BAyXB0uZoIZ4E8QzChHnoEGcMB2gaCscbY9Vd1csaU= 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:15 +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:15 +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 1/7] arm64: dts: imx95: add edma[1..3] nodes Date: Thu, 27 Jun 2024 17:59:55 -0400 Message-Id: <20240627220001.692875-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: CH0PR03CA0286.namprd03.prod.outlook.com (2603:10b6:610:e6::21) 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_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: 5770ec33-1702-4b64-2754-08dc96f48657 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: uqF+HasiSH/2ap4Lx8tZhjDxAGCP/d0i7sUJ4FiVHw5G1OqA9Vmp7hw88xWNnHGqmNMZRF1X5vph/8qbV5OY/nJuH/lOwkkfuXGOCEFhE2Whxi7b42v1RdXK1zbTbysUThYF5EmWwLaC7yaVikuzQc9CRpZSvCuFW1UvTwQ7jAEB83ZoqELsHS5cWtuE1+n1Ub6P1XOkaVqZ9pzXZrBL/WcY8akpf4UZM9ifZXGCjmdyfJPP2fhnhyHPzxF9+AP5QEULEIiH9mVn9BWhklki+lpEiNXeniwkvaM1YpNbn8WmPYLuWkdKFYOd3U2/1E9J+/Zr67SHUmYKSPpYYWbpcbx0/rhLnj5jIUuWqHckL7N1W6alWN2IgrHhhB1s+edvZpa5Cm87VzbqMPBUV87aG3ikqwwKoY6CotsWxlGLN6WuGl8Gnavb/CWk/55Hy3HneNxVITmiKA57Yez1lqMMEPsoP0vGP7sVKRxTvScvnBj7VAqeKk/d1frQ470p5h2BZP+gae/swaf/riNYYl7pFi6euXtBnunzDjPvbYGELQwsYIdHbJqFqDOIPjxHo+Car071Ivd0fBqOOSjagOuOEdsemxiJDwwk4HyIK/f79OY4r4LpHQDvULegDYbauB+sEcNxkEdQezbdvptZ/TwJ3A0erJxJlHYkW96ETzPH259jYfAuT+DpI4B1jZSWCCpD3bxzdtFX9ILpSKmTPChfVc9ISWPgFznVP3xbLmNS4uPSurARwnmfuO9Gu23eRQfQKeLFThWsEQ+KEz6qzjeSUJ55n/cjb/ebpC0PHzrP0ZJKoSNl7mhxIAQ8dYpbVEygM2MPZHmF9CdFJTH1UsY93PTdQITuS8dpVBPn05AIV07G/JAD+fj2JDU9UDVhnrds4WqPWvzPMz3KRc18xTjhdXyXJsstSM9MGFBL39NYHbOx2zFJfwKSIw4Of/nS1CWhJJLtodzHNlOfe68yVQ3N5pOFsz9oxKDqizeFaAnyTBuzH6OMnU4DJzhLXoq09lcBw1n8KfUiDMEzBacBJZwo/geHvs9z9J+xweiwhmQTYKFzf6RlJMte/OLOkTYR475B050DIqhF4L6+AtLB0GWEw05+fWvCZEIEIGiZb4YZcYkQMgLdtpu/7+RO9YdtX6C3e+0b92xEPic1epltk29haOVI0gEqz2lZASmUN+6P3Lrl0qGBKY1tCQ1GQSVuChKGcaJJh9ilxkarIsELWmM9aB76rWQ2PX5XF5GKUb3v3DwUWRsrUkb50ZLOGLPqXNbgC5BM19hYn6Jjmxs3xpOiyfajxuidJjnLNBQ2/7eZjbDtaMtAxF63MpQqHohXeaaXnq5ugaBZnuFOthVRVmQ/K/qjh7Ck6CDmU4OOb+W2eV1k3DnXHAD3Iqkze81eE7VY2m5EPBapHntqyNtNgLU+sGgH+ew57w859uzgjE0NQNI= 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:(13230040)(52116014)(366016)(376014)(7416014)(1800799024)(921020)(38350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ugAd1c2ZW9KK5myd6/GkEr5fjU57GnNmOpw5dqno/w3ReLgxcj4WLm8sgXcqpLgSxfcIeKHtYE3s+WxEYAKmYo3uMMz64FWuuFPw8snYgzvAnQn52XF7VNJvVOT8mLWv7WksnJk4/mPvyRbeIHwUuqUfuNBulkiSCvKcpbAkfRWxdlbUuIm8659FksLz+MKHI0IzXOCB6+bFlUssWMQb93kGhUiU4TmQuJcp3gcdqR/GXFWwUTg3Z17iCPtfmVcUJddE+Zfo/yyuDm6XmUzbS5PSoARgjKvDOcEi480OSIMw1JhM7idXBfbe/kDvLIUiebRbLD2glwE9wKV6IINzJ8JcrVCZoo6u8sgJ/7zVoeRWrFwmX2Cm2pySaCsHhtf5PsqV+QQ5S2Ytithl1LuZymOaH5SfcLraKoNo7feKDowXPDlO89aIlfMX6XD3BcV3x2YHvSaXihJo8j4T3MjCHyeqlsmz3AY7YjmvltmXkLCg74aUmnjx0dl9undHfFgGHgcQaDrgC8AWseySC5A4tz3iNrkERPXH1u0shNm9fGvkccZ172Cpoi3CJ8jxVzmdc0v9I= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5770ec33-1702-4b64-2754-08dc96f48657 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:15.4623 (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: 9gFjvTsq2ymVDhj6teT+7HBCJ+spj886KDV+XDX9x2aNkhssBU1VGcGtdPzAd/htv6q+GmNmRW/FyrBky5I/kA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 Add eDMA1, eDMA2 and eDMA3 support for iMX95. Add dmas and dma-names for each peripheral, which use eDMA. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95.dtsi | 235 +++++++++++++++++++++++ 1 file changed, 235 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 1bbf9a0468f69..12f7ac52c2589 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -3,6 +3,7 @@ * Copyright 2024 NXP */ +#include #include #include #include @@ -405,6 +406,152 @@ aips2: bus@42000000 { #address-cells = <1>; #size-cells = <1>; + edma2: dma-controller@42000000 { + compatible = "fsl,imx95-edma5"; + reg = <0x42000000 0x210000>; + #dma-cells = <3>; + dma-channels = <64>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>; + clock-names = "dma"; + }; + + edma3: dma-controller@42210000 { + compatible = "fsl,imx95-edma5"; + reg = <0x42210000 0x210000>; + #dma-cells = <3>; + dma-channels = <64>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>; + clock-names = "dma"; + }; + mu7: mailbox@42430000 { compatible = "fsl,imx95-mu"; reg = <0x42430000 0x10000>; @@ -464,6 +611,8 @@ lpi2c3: i2c@42530000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma2 8 0 0>, <&edma2 9 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -476,6 +625,8 @@ lpi2c4: i2c@42540000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma2 10 0 0>, <&edma2 11 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -488,6 +639,8 @@ lpspi3: spi@42550000 { clocks = <&scmi_clk IMX95_CLK_LPSPI3>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 12 0 0>, <&edma2 13 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -500,6 +653,8 @@ lpspi4: spi@42560000 { clocks = <&scmi_clk IMX95_CLK_LPSPI4>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 14 0 0>, <&edma2 15 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -510,6 +665,8 @@ lpuart3: serial@42570000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART3>; clock-names = "ipg"; + dmas = <&edma2 18 0 FSL_EDMA_RX>, <&edma2 17 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -520,6 +677,8 @@ lpuart4: serial@42580000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART4>; clock-names = "ipg"; + dmas = <&edma2 20 0 FSL_EDMA_RX>, <&edma2 19 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -530,6 +689,8 @@ lpuart5: serial@42590000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART5>; clock-names = "ipg"; + dmas = <&edma2 22 0 FSL_EDMA_RX>, <&edma2 21 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -540,6 +701,8 @@ lpuart6: serial@425a0000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART6>; clock-names = "ipg"; + dmas = <&edma2 24 0 FSL_EDMA_RX>, <&edma2 23 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -550,6 +713,8 @@ lpuart7: serial@42690000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART7>; clock-names = "ipg"; + dmas = <&edma2 26 0 FSL_EDMA_RX>, <&edma2 25 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -560,6 +725,8 @@ lpuart8: serial@426a0000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART8>; clock-names = "ipg"; + dmas = <&edma2 28 0 FSL_EDMA_RX>, <&edma2 27 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -572,6 +739,8 @@ lpi2c5: i2c@426b0000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma2 71 0 0>, <&edma2 72 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -584,6 +753,8 @@ lpi2c6: i2c@426c0000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma2 73 0 0>, <&edma2 74 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -596,6 +767,8 @@ lpi2c7: i2c@426d0000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma2 75 0 0>, <&edma2 76 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -608,6 +781,8 @@ lpi2c8: i2c@426e0000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma2 77 0 0>, <&edma2 78 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -620,6 +795,8 @@ lpspi5: spi@426f0000 { clocks = <&scmi_clk IMX95_CLK_LPSPI5>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 79 0 0>, <&edma2 80 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -632,6 +809,8 @@ lpspi6: spi@42700000 { clocks = <&scmi_clk IMX95_CLK_LPSPI6>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 81 0 0>, <&edma2 82 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -644,6 +823,8 @@ lpspi7: spi@42710000 { clocks = <&scmi_clk IMX95_CLK_LPSPI7>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 83 0 0>, <&edma2 84 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -656,6 +837,8 @@ lpspi8: spi@42720000 { clocks = <&scmi_clk IMX95_CLK_LPSPI8>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 85 0 0>, <&edma2 86 0 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -796,6 +979,46 @@ aips1: bus@44000000 { #address-cells = <1>; #size-cells = <1>; + edma1: dma-controller@44000000 { + compatible = "fsl,imx93-edma3"; + reg = <0x44000000 0x200000>; + #dma-cells = <3>; + dma-channels = <31>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&scmi_clk IMX95_CLK_BUSAON>; + clock-names = "dma"; + }; + mu1: mailbox@44220000 { compatible = "fsl,imx95-mu"; reg = <0x44220000 0x10000>; @@ -830,6 +1053,8 @@ lpi2c1: i2c@44340000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma1 12 0 0>, <&edma1 13 0 FSL_EDMA_RX> ; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -842,6 +1067,8 @@ lpi2c2: i2c@44350000 { clock-names = "per", "ipg"; #address-cells = <1>; #size-cells = <0>; + dmas = <&edma1 14 0 0>, <&edma1 15 0 FSL_EDMA_RX> ; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -854,6 +1081,8 @@ lpspi1: spi@44360000 { clocks = <&scmi_clk IMX95_CLK_LPSPI1>, <&scmi_clk IMX95_CLK_BUSAON>; clock-names = "per", "ipg"; + dmas = <&edma1 16 0 FSL_EDMA_RX>, <&edma1 17 0 0> ; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -866,6 +1095,8 @@ lpspi2: spi@44370000 { clocks = <&scmi_clk IMX95_CLK_LPSPI2>, <&scmi_clk IMX95_CLK_BUSAON>; clock-names = "per", "ipg"; + dmas = <&edma1 18 0 FSL_EDMA_RX>, <&edma1 19 0 0> ; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -876,6 +1107,8 @@ lpuart1: serial@44380000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART1>; clock-names = "ipg"; + dmas = <&edma1 21 0 FSL_EDMA_RX>, <&edma1 20 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -886,6 +1119,8 @@ lpuart2: serial@44390000 { interrupts = ; clocks = <&scmi_clk IMX95_CLK_LPUART2>; clock-names = "ipg"; + dmas = <&edma1 23 0 FSL_EDMA_RX>, <&edma1 22 0 0>; + dma-names = "rx", "tx"; status = "disabled"; }; 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: 13715072 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 D00C51A0AF8 for ; Thu, 27 Jun 2024 22:00:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525624; cv=fail; b=RFVoqkH3XayPw9gP9f+Mfo9Zgz79nCgxyLdHUWeMKAPOk//NB0gkIAXqPPT+MfC9ffehMbJpang6NssSjKpCZop2LBQhTb5Wyxf3jMMQfbF21XTQvbqvT4oQwpp7FiYOIoneH4mpVDgx9zVG1Amrr+grpKY4c8GRfKcRQydKfJw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525624; c=relaxed/simple; bh=1QPhVck+8vl6O+Hw6+vyhAw0vdGpBk5HrKrOmVnKBOY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=F3Eu8O+rxj5CLRpwe+Wmhg7byGb1yEdGmCUtbsY/Ajmk0MjWx09FFuyq+BXtimbrhZiR9V8bvbpR2tyOCv0iVfEMT91kxBrn86Qu5uxZ/wEaOrYNv9Ir2Afb4GTZOCqZRHmvK7g9W+dJ6m7Fou8wjr4XIpcECV5ppfumIDcFwHM= 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=g+2jpLNl; arc=fail smtp.client-ip=40.107.241.83 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="g+2jpLNl" 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) 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_|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/qAUg0C75gMEKIRgoCjWf8d+jxjtM4KQP3AW7g1lit2U8Bag1UlVz/ULoewJn1RoBFIGuga1jdvmByy350+CntiiVqwAKM/dOzEqTfW22fgxT8bFIbIq7Sssk7dIhri3YK3Fw5RnoJzVlhQ0wrcZ455zwJhnuK1NsGq6mc8Je2sG7f4iVAubYneCJfMCx0rOm+2MRRW7HrmQYg5bv11cTNvydXXVdoqRSS3EnolzfmO5vzDRpnb6wNKa0JF9CAhObG1zmI0y16/ssM97lqS0YGzX3LJ7/oiiIFjf+UHePAxRNTIuhlQXE2ee/kubDZfx6wcwU1bnFzPCSJ9NNT66BXqwKx3doDUbctWwYHQdRLtbwPOBnmyed46vijzCnROi2vBDL85B7quJBg1Qm/Fha9cyZqaA8/7IeHNpBhxBAkX8B6FgCIBzK4vfzcz01r442KNv5zDNCS/bJU4TMJzcUn3Z5LHyS1xIn9pJF66SFnA3vV6xRxNAJPMmAVQww1jUvOIqFLr7kvEPSFF1fP4KClIqczuCDMUiksYxkBjNM/zaxLZ84D/Om262Ny7qnLFTkwaSZhsqqkVNY1VAm69ED41LBrnIb/VWWQ/gLO7DTCYpLcv3pIXAXCmGQL0n0w7yopfsaHDmTo76hlfi57day4BkWzkeLxlk5IrqX3svO3DZu1uyq9DetmKz+hmbEhAu4fVoo918KaYmNPKfJ5y02Mf/ZreEkkbkaMJJkyBsR/sqz36oSXUri1ue6ow3vfXQn77wfgb79CaTpCXFzxZNbcSHHuIYkE+l5UivMs2T336NdEN49spY16HzYwTD4jD6h35lWRLLGIqJw8itroxwj2gtZ18HTNZqWOVzgUiH2wD17IP6ZPNVx4fSgqHtrcxOLO/lUoTnKNtmeGPNVneZJR0alNyNZKHtQQSj3iMiHnhkGo3H7VRkOL99k7/x4vTANww1W/yeqZErFxAqfDwACbgAQxe5XBzlh8ElAE2Il48bLzEvl51cyCZP/uDkt5Qij0= 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:(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+HxBJixdTofYeZGZOEHD7PY5v8F37gDHexFOde9rO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FkI629TYff5f2ygQpiMS59DvNl/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 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"; + }; }; }; From patchwork Thu Jun 27 21:59:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715073 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 B86941A2553 for ; Thu, 27 Jun 2024 22:00:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525628; cv=fail; b=WflxPHuCa6KazSzZHkp95oJnAtzbA6fXkm2kMavpoZXeoZ4r77P4msiQ56os8bDVfItdttrkH61Lnde0pRXXq/pWheF9upSCz7YaQZlurrr8onhHJxX66LlZtyCCKpWhKMvWsBcwIsOXOCsUzP7sZvPil7p5JvKzQAzoApY/bcU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525628; c=relaxed/simple; bh=wzJqaX2YyHCSp/ZEhNIp/sGOCrJI+xgXk+tl9oNMfGo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=EGVD6HrYheSXXuGMAuDVq6IPwkMz05SULpLwwtEk5mqx/8dwcVcNvQoS58/RM//PuIQUYpzEzcLLyj6V62G2vOJdM4zlgt58Hfea/INVEv9Y/l9aql5r9S8uiY8TtuCo4ZuFZG42Av+smKwTzPI2FizOGGza/HzCxBDAXutnfUI= 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=me5vTOtn; arc=fail smtp.client-ip=40.107.241.83 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="me5vTOtn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aKZ03DgZsSs/zcr2/AOPh7M3S59q4vAGJ0aHfcTQeFfn4XCQ1b7TzI621/r0Jf/wMxOVgVy4jCqolu6PVrDUDhCuHXe3fpLwE41Z6VI7q52K4piIujDUbNhPvTjlfNYSggum8jhHuDaNVQ7nIUXZaUREQF/oVgy/6S+MJTFO4umkyAjolUxaqYtGup8luWbkMI7xS7AIKSqY/t/kywKE/lH7NfFe2s3RazbVHFkjq9vg4rbYgEDhsKtyBl4ctI8HbUhT8PtOeIzI1nufpm7BgW3cMw+CGYNiGSB7q1aLFog787ilcy8SDZXyIfPOxSt0Fa/NTwFg4o2Ia59wagQ/Rg== 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=BJQKC/VhijgXqnbrv8d04OKQlW8vdwbdxQLB6CAhemc=; b=RmExRC/LcEu1XEkYiywafQ7Yxbq9Qdq+NSyWnPGwBsCskCDXttz63r0jp3rhSmkb3uK3+mQYrL4Gw8rXD0qkHNq1iu72XydzfU1WDYxCslmBvRPW/D2XcGOAX4lQjEuaO5BFcVpv0fL+cyXVcJRC+KjPGXCTl+/uTRpIb4e/kBGaiFqbcoPpsfKGfWSM4APq6AWq7Ux0f4vdJJnqw1BTOPTxfuUyxL1ciH8+aOF5YDOMqG+2quEfFzbpEou3GezVTUjnSbKtynhvsefUmGf9FI7iOwi0qpEem6/YY+KrfKNXikIQ3b7yMEFE6G2j8rqnSQNB4S0d+abiz5u7lOjdLw== 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=BJQKC/VhijgXqnbrv8d04OKQlW8vdwbdxQLB6CAhemc=; b=me5vTOtnvp551+I6jTs0WNad0sJ2YpNsaA3pfA3LKoyEnExkiE6c/SeYpVCgICMJ3WrJpr5LBBisR1tjD6rl5n76hZbPx11JlZB+T3LTLo+xI9oAx1mv/lCGtRwaAg4xpt+uxV34G1NdxpbibTsxE2W4bKDhnGHQtEOAm/vuOOI= 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:20 +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:20 +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 3/7] arm64: dts: imx95-19x19-evk: Add audio related nodes Date: Thu, 27 Jun 2024 17:59:57 -0400 Message-Id: <20240627220001.692875-3-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) 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_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: d65f299e-223d-4d82-b00a-08dc96f48950 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: jeYJTX1QgZGEUrgJzZQ6Wf5hjSKXu37hU7htSle9xVSsdsmXvHv8Es/jT+Sh+vMzlrMlZVXPwNspqQXm1UBCcdNEgBjVIxsgEB2OiTOtq+5vVITmb47Y8C+wRnwEZggfoy/CRnmwiVKFopysEvwBJLJ+6hbK/eklPV7Y0Kwbi41fbpletQ/+LGeC9xLiM1ja7Rtc+S12nOdJwDv9rilzL5ivdQrE1rutQSCBjd13InTqPh0HqEQ7pPZM+OO05j6VEuDNcRF6+eaSKId3/hesiZh2GmTHaKmhuwGRxlSUYR+PSeHIut/8e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JFvakyR036pR0kIKCQ9pYcShn+wMTTXepiF93BBzu3RwYyrbgIT/43uC7ew6bwxt6SedmfrYhybZphB5aI= 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:(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: hafPSDOzRQg9oKwiD1J8um79kKJ7IxsYqDdLIYQsysut6vNWO2BLhDuApAjLKx1IJOisQ0Rb5egErwtZ2R8Liv4vJOYXhfbdmQhq9aDOBNnC+4KGoZpc1z2n3HTa9gFxqJms53c0gLgpgN0JU8G0avxsOgsy6yZiZOUOSR+fJQT4hvKYg6/u31zR/NKuo4hKQTzFMKtgQ9wsFxvjaww7FKclxi+0vzFLdNbvj03Cis3eLa6yUFE0/ftSzoCUGjKeCRi1s8n91Ncefv1yi/990MKitAIqsAjzVKt4QHFnx4yLAQUBC3x6L8MJRAIBhb1EjGgx0Ca6nVWPMcZyqh3n+YKwqjU3YDtpVLQLiHOu6Fqvq+bYXX/o/cSdEBBD65HAqr1CeSGOYpFi4QL3Ae5vMt5Lr9iRrbTsfICh7yhSGBtsCWag0BTRQrsNQRRVPZVojdKqGgS41G4t/+RwgHGhkYKMTkqfwjMCTOHA7XyeU4rsG7dptFEAiPwApQL86RUYt58f7uS6EubtXOExbf9TovtJxKDrPfpBUssESjVZ8JRTkU6DxnTAAtl/Qlm0BotJ7N3yxXheunGOszPV1qczQ9n0OK/oKEeDNnG77Gjd/foVp6yk/DDQhLak3awLVFj+4n7OmKktVVD5POoovLHVmoe+nJZulVsQeIP5h+2goJ+VB5kqfgJQoEQ+t8smuGaeBdOh/52OZBPCUw6+pPLVOVRGN5/coIwOZly4t+/MTut6nfCVDw3lY+5xnSewa1TDk/0VTyCvlD88vfO8zsiUI28ht9n8QDGXEODTATn/b3xhroHONyhiiHDeV6vmm+P3GBDwKzFFkrj92kPzW5Moz4RNBKYJc8IV9kXIwpMFicjeqmhS3H4OIyoDyVDZdkjORdWwCmcX2TxMY2ObWsGMYnDSC4qrPv0SLraSFjIWUsPLFwE2SDZc+Snq9vl6hOqpxPyBxYiemjQD84EIIS3CguR6jCxnZ4EKPaERieSe3FRhC/jbxCwSx22MN64XUBmgVsipuw6AWPFve+zyMEl2Pp9EyAmGNVdyUB3lYArO9tOakKtTYWYMNbKsNwRdibbRUl/GtxD6Rpfgg4xlstbQFMZtAoJHlF6g1NYpD8JcxtKR+tOpHFD1lL8ZQko8oaIO5aVjMzSA/709ppg4B882mXbWNu8JOIwzy5SaYJvbd6OfC2/2snMHQnf1d1X4ILOCszzjOS6IiIyjZnutc68n8E0bKEB39DrR70G4dICm743AoB+RI2hRU9c0mfHJOAq4iHI5CRM0oPGAbsCZ3n5DGJ750sNritJ9libZFXkpeaRtB35ivcIMSeUNa8AMxHHPpchcAGrtYETj1krw5EaqoC3VlpFiGKGDhstYfzhUT14rsYW1pmAS/1vwsQExHJTtiyAvzMUQdmus/HKcBLbcb01d48H05zlRK+2ZGFTgsqbEg6u4VTZVcRo/133Doul2slq12o8g92TsxQWKt8aV7/pSXAR8Yn2liGFunCuGTTiRPwpCKLCIj+3mjIspiWvlRaTbgCvUB4pKJZIg1+K8G6D7Rd3dZGQw5uL7uwLlU90= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d65f299e-223d-4d82-b00a-08dc96f48950 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:20.0689 (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: kGnhE7AJhlt0u4rKREjXUQiZBGHXgZM7EahachowZAJqkQ74NZD34S2pSEz11J3mrYS50MUC77QJzJHZrjs0Uw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 Add sai1, sai2. Add i2c4 and wm8962 and other dependent nodes. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx95-19x19-evk.dts | 238 ++++++++++++++++++ 1 file changed, 238 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index d14a54ab4fd47..660e623f4f964 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -17,6 +17,11 @@ aliases { serial0 = &lpuart1; }; + bt_sco_codec: audio-codec-bt-sco { + #sound-dai-cells = <1>; + compatible = "linux,bt-sco"; + }; + chosen { stdout-path = &lpuart1; }; @@ -40,6 +45,34 @@ linux_cma: linux,cma { }; }; + reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3_SW"; + }; + + reg_audio_pwr: regulator-audio-pwr { + compatible = "regulator-fixed"; + regulator-name = "audio-pwr"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&i2c4_gpio_expander_21 1 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + reg_audio_slot: regulator-audio-slot { + compatible = "regulator-fixed"; + regulator-name = "audio-wm8962"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&i2c4_gpio_expander_21 7 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + status = "disabled"; + }; + reg_m2_pwr: regulator-m2-pwr { compatible = "regulator-fixed"; regulator-name = "M.2-power"; @@ -79,6 +112,97 @@ reg_usdhc2_vmmc: regulator-usdhc2 { enable-active-high; off-on-delay-us = <12000>; }; + + 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 = <&sai1>; + dai-tdm-slot-num = <2>; + dai-tdm-slot-width = <16>; + }; + + simple-audio-card,codec { + sound-dai = <&bt_sco_codec 1>; + }; + }; + + sound-micfil { + compatible = "fsl,imx-audio-card"; + model = "micfil-audio"; + + pri-dai-link { + link-name = "micfil hifi"; + format = "i2s"; + cpu { + sound-dai = <&micfil>; + }; + }; + }; + + sound-wm8962 { + compatible = "fsl,imx-audio-wm8962"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hp>; + model = "wm8962-audio"; + audio-cpu = <&sai3>; + audio-codec = <&wm8962>; + hp-det-gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>; + audio-routing = "Headphone Jack", "HPOUTL", + "Headphone Jack", "HPOUTR", + "Ext Spk", "SPKOUTL", + "Ext Spk", "SPKOUTR", + "AMIC", "MICBIAS", + "IN3R", "AMIC", + "IN1R", "AMIC"; + }; +}; + +&lpi2c4 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpi2c4>; + status = "okay"; + + wm8962: audio-codec@1a { + compatible = "wlf,wm8962"; + reg = <0x1a>; + clocks = <&scmi_clk IMX95_CLK_SAI3>; + DCVDD-supply = <®_audio_pwr>; + DBVDD-supply = <®_audio_pwr>; + AVDD-supply = <®_audio_pwr>; + CPVDD-supply = <®_audio_pwr>; + MICVDD-supply = <®_audio_pwr>; + PLLVDD-supply = <®_audio_pwr>; + SPKVDD1-supply = <®_audio_pwr>; + SPKVDD2-supply = <®_audio_pwr>; + gpio-cfg = < 0x0000 /* 0:Default */ + 0x0000 /* 1:Default */ + 0x0000 /* 2:FN_DMICCLK */ + 0x0000 /* 3:Default */ + 0x0000 /* 4:FN_DMICCDAT */ + 0x0000 /* 5:Default */ + >; + }; + + i2c4_gpio_expander_21: gpio@21 { + compatible = "nxp,pcal6408"; + reg = <0x21>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gpio2>; + interrupts = <18 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4_pcal6408>; + vcc-supply = <®_3p3v>; + }; }; &lpi2c7 { @@ -108,6 +232,23 @@ &lpuart1 { status = "okay"; }; +&micfil { + #sound-dai-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pdm>; + assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>, + <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>, + <&scmi_clk IMX95_CLK_AUDIOPLL1>, + <&scmi_clk IMX95_CLK_AUDIOPLL2>, + <&scmi_clk IMX95_CLK_PDM>; + assigned-clock-parents = <0>, <0>, <0>, <0>, + <&scmi_clk IMX95_CLK_AUDIOPLL1>; + assigned-clock-rates = <3932160000>, + <3612672000>, <393216000>, + <361267200>, <49152000>; + status = "okay"; +}; + &mu7 { status = "okay"; }; @@ -128,6 +269,42 @@ &pcie1 { status = "okay"; }; +&sai1 { + #sound-dai-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai1>; + assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>, + <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>, + <&scmi_clk IMX95_CLK_AUDIOPLL1>, + <&scmi_clk IMX95_CLK_AUDIOPLL2>, + <&scmi_clk IMX95_CLK_SAI1>; + assigned-clock-parents = <0>, <0>, <0>, <0>, + <&scmi_clk IMX95_CLK_AUDIOPLL1>; + assigned-clock-rates = <3932160000>, + <3612672000>, <393216000>, + <361267200>, <12288000>; + fsl,sai-mclk-direction-output; + status = "okay"; +}; + +&sai3 { + #sound-dai-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai3>; + assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>, + <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>, + <&scmi_clk IMX95_CLK_AUDIOPLL1>, + <&scmi_clk IMX95_CLK_AUDIOPLL2>, + <&scmi_clk IMX95_CLK_SAI3>; + assigned-clock-parents = <0>, <0>, <0>, <0>, + <&scmi_clk IMX95_CLK_AUDIOPLL1>; + assigned-clock-rates = <3932160000>, + <3612672000>, <393216000>, + <361267200>, <12288000>; + fsl,sai-mclk-direction-output; + status = "okay"; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -159,12 +336,31 @@ &wdog3 { }; &scmi_iomuxc { + pinctrl_hp: hpgrp { + fsl,pins = < + IMX95_PAD_GPIO_IO11__GPIO2_IO_BIT11 0x31e + >; + }; + + pinctrl_i2c4_pcal6408: i2c4pcal6498grp { + fsl,pins = < + IMX95_PAD_GPIO_IO18__GPIO2_IO_BIT18 0x31e + >; + }; + pinctrl_i2c7_pcal6524: i2c7pcal6524grp { fsl,pins = < IMX95_PAD_GPIO_IO36__GPIO5_IO_BIT16 0x31e >; }; + pinctrl_lpi2c4: lpi2c4grp { + fsl,pins = < + IMX95_PAD_GPIO_IO30__LPI2C4_SDA 0x40000b9e + IMX95_PAD_GPIO_IO31__LPI2C4_SCL 0x40000b9e + >; + }; + pinctrl_lpi2c7: lpi2c7grp { fsl,pins = < IMX95_PAD_GPIO_IO08__LPI2C7_SDA 0x40000b9e @@ -184,6 +380,48 @@ IMX95_PAD_GPIO_IO35__HSIOMIX_TOP_PCIE2_CLKREQ_B 0x4000031e >; }; + pinctrl_pdm: pdmgrp { + fsl,pins = < + IMX95_PAD_PDM_CLK__AONMIX_TOP_PDM_CLK 0x31e + IMX95_PAD_PDM_BIT_STREAM0__AONMIX_TOP_PDM_BIT_STREAM_BIT0 0x31e + >; + }; + + pinctrl_sai1: sai1grp { + fsl,pins = < + IMX95_PAD_SAI1_RXD0__AONMIX_TOP_SAI1_RX_DATA_BIT0 0x31e + IMX95_PAD_SAI1_TXC__AONMIX_TOP_SAI1_TX_BCLK 0x31e + IMX95_PAD_SAI1_TXFS__AONMIX_TOP_SAI1_TX_SYNC 0x31e + IMX95_PAD_SAI1_TXD0__AONMIX_TOP_SAI1_TX_DATA_BIT0 0x31e + >; + }; + + pinctrl_sai2: sai2grp { + fsl,pins = < + IMX95_PAD_ENET2_MDIO__NETCMIX_TOP_SAI2_RX_BCLK 0x31e + IMX95_PAD_ENET2_MDC__NETCMIX_TOP_SAI2_RX_SYNC 0x31e + IMX95_PAD_ENET2_TD3__NETCMIX_TOP_SAI2_RX_DATA_BIT0 0x31e + IMX95_PAD_ENET2_TD2__NETCMIX_TOP_SAI2_RX_DATA_BIT1 0x31e + IMX95_PAD_ENET2_TXC__NETCMIX_TOP_SAI2_TX_BCLK 0x31e + IMX95_PAD_ENET2_TX_CTL__NETCMIX_TOP_SAI2_TX_SYNC 0x31e + IMX95_PAD_ENET2_RX_CTL__NETCMIX_TOP_SAI2_TX_DATA_BIT0 0x31e + IMX95_PAD_ENET2_RXC__NETCMIX_TOP_SAI2_TX_DATA_BIT1 0x31e + IMX95_PAD_ENET2_RD0__NETCMIX_TOP_SAI2_TX_DATA_BIT2 0x31e + IMX95_PAD_ENET2_RD1__NETCMIX_TOP_SAI2_TX_DATA_BIT3 0x31e + IMX95_PAD_ENET2_RD2__NETCMIX_TOP_SAI2_MCLK 0x31e + >; + }; + + pinctrl_sai3: sai3grp { + fsl,pins = < + IMX95_PAD_GPIO_IO17__SAI3_MCLK 0x31e + IMX95_PAD_GPIO_IO16__SAI3_TX_BCLK 0x31e + IMX95_PAD_GPIO_IO26__SAI3_TX_SYNC 0x31e + IMX95_PAD_GPIO_IO20__SAI3_RX_DATA_BIT0 0x31e + IMX95_PAD_GPIO_IO21__SAI3_TX_DATA_BIT0 0x31e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < IMX95_PAD_UART1_RXD__AONMIX_TOP_LPUART1_RX 0x31e From patchwork Thu Jun 27 21:59:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715074 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 0E12D1A257E for ; Thu, 27 Jun 2024 22:00:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525630; cv=fail; b=oMPazpHjv9cx24g0Wuy0EfTJgKIrth/GkE+qXLQHdVPNYP1pf36WlubrmBJewMLehUrUxvu9kp7u8uMkBDUK2ytWX1n4mf/hgAx4T3bHMbtdEPqYDNQx93bwiBjGMggAUGvbynGKAlKMjRs7ojssVMQPBqTEX8zTv1NHyvWp7sU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525630; c=relaxed/simple; bh=nx4dPZWSAiv+4+Z8UF9ly2TZk6mI7AnUiy1em9HAIug=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=ChJnHnmyeXZaQgouf+0+ecGK+xCW0VMJu4TB6OmSjaAqiwrFn6Hq4O79GOb9MII8qBd5a8uL5PCvsS6KQqCR3/ZK6gUTPYtgAyVAcKbCrOgsxptpJJkiN9nD5Q3kZIs+iTVuOdhBYYmJZGGf2mLth8RC2pz437HsUYuNZ+6Fy64= 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=Ziv5Mzyl; arc=fail smtp.client-ip=40.107.241.83 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="Ziv5Mzyl" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cz45ubhk98CbA/y/pCrbo17hcjpx6pEI1JG2ElNKjb8inWnZpm0ICVBqJjP58ObS7V/0N1brP/5DOLGJCs6Dhg5Etq6blE4O+wy9NQ/0GgAvw+IV7o2rSm5/rrtDl7rDF5plOZFgFD3Q5sDIRN+T1BlH+qF3by4UOlGhOJzZEN5mMM5cQwQVqhlzIYVBvPR/wG/jnLrdyk0U1FPfQJtE98fzUsD068v0ctgyXRbHewPzIr/iaaoQq9FbkvMUH5jj6PV+CEXnuKX1RhlmPBhZkA41ShDNXFUaRKnphwlQwifxbBqNOfWf9xtMBFGtQCirBfJuVsKI3h2UD/NmH4zFlw== 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=LlNEwZMPY1k9qrA/qmc2ubtaI7ivRDXrSuyTKRxTkko=; b=frddzhpz9JLE27AWLtGF7Am/RDbrpZP/E6m1b4KnoaV3OKTjUpuZcBi5hq1ZqoWil1UWCrXqJWBjSQT0+MnQBbxa5VaKaXGYxx9j5o7yxucxt0Af66zZMrNQs3Vtf7IfknDpXH6RTeF5dIjgjSEkv4FLuq7f//w3svjm5UZYsKwpdpSrYepaaQtvasOlIg3c9899waV8/67DLcSVCN3QBkLlWjx3ibjcpzRXtPxmDpjugL2G4JA0aRiAb4dp3Ck4+hxwUMXin6vFa/6sGzpoj/6Ce1gtTdLMjLZc7oZii2df3aEy4CXdp/TsLno82iN28tvi4XckuFNPomMMZxEO4Q== 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=LlNEwZMPY1k9qrA/qmc2ubtaI7ivRDXrSuyTKRxTkko=; b=Ziv5MzylQuAu3AcYu7pgsBQqQQr8cFWaSbD1UEwFBL8YeTqBSD7AwpnYG9XPR4PKbxclfnuN1YcT4aVEHDCwSSq4RWoZ62VEtNVw1pmfkPhbON88+BM0OoBZ9LYE8JELzG3kc6brF5YiK7FjjdkfWSJjmGhmbUkQZgnl2qSKDdk= 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:22 +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:22 +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 4/7] arm64: dts: imx95: add flexspi node Date: Thu, 27 Jun 2024 17:59:58 -0400 Message-Id: <20240627220001.692875-4-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) 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_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: 51175c54-7fa6-4001-663c-08dc96f48aa0 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: lSRV4d2KxAzogY42UqLPqUl6S/jjD3KRCw4rQjE/g3OotuReTUbhgWNaYwHvXxKtFwFGY4sUcJ/UUbGtLqa/Ec8DP250GPPZ3GHaZ9ssgZxcCnBhAEFFNEbHIBLmxQjitJbMEJ6+l7AD2X0gthW2g4plpTtOFppWQV/GMlfwhSKaO1migp8K4ob5uucGy2rI6+YV0zSrTrV6zaXYMjt6TVtElgSeHCIOWMg/a0QRRsxeopaD1KlLgpC23t+9l0+yB71Z0cTrNNqmwKShYs+j9jkaga+o9S8XJW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G5Zx14tmp1OKw0KNkkC1XMZ7ExwxsMEQFAUN+iI5enOL/jacr4J6eOurC2wg= 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:(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: AUs6YmDZn/BY9k1ixJdKTgmH8bJfwIKD6IQudf3rIh1FetCoSr2w/eYsw2JD0i8KxwVMmUa4T9/Z3RT2ffyvS2z8T8ITjCbStQH+v/PiCHSCl0GTyeV1e6Cu1jLd7sS1E8XK+G77osoFGnvSlwQ8U3jWuT+156m/jBS3gETjcSQ0iZszd1+h6gF4MVNrzugrTBckrUQpzHrKUziEf+Qoh191kN7FjmBiDp5Zksi0vdaYpCmwJYFkzPpKfTRhq4mHVaK0I8B3GAGmwKBXTkzw/OX/qkilEJbdQsPTPhNi74gK2myhVpB8nKqDKl7fapb/plXqTppH640BaeEVLYSSw7NFaRWe9nd5BUPeiil0U48mAmXlyUifEOlGeTrV55+Ucc8bZF8X0VKaZEG+Qtj1eqmACeTqONp24Mz16YhdS9ZcGEmurQatxVdyrbWEFN3zbn/pZ7ejO2OKZCLfv8jou5FI3G1RTlzb9nT1noA3NhBCgnZbHcbjx6QFp+bY+cL4SbO6jzR8oUPOUpMgTYjULRkdfKRHTdNLFxTIwNm67it5DpcAu+0JLhEMTSlHkphqrAn7qXdjXv4zhLNV247z6dk0CNhYjwrT5OQof32MGFcDDMvM90PrrpyHHJq6dFb0Oh5PR9GpeGCPNtkK85G9t9IteZIQdGtzPw3AW0qKWX+Jo+x2PoYqOoRC3Kou9GkQrRvTIspzH0Ec3AMR70YL8Jor2X2Qqo3DakFkn27XhyYcoARa6LtvKp6S4yCci5v6NcE4m8HRolrg1fYp3AMHq+jcN/0UFrLxCIcOSC8vkDTyklKc9Lbh0D5f5tturfswkt3fCjEWFUS2QcOARvhrTzgBzjFoB1zrV/pN/Mvut0VwwJuiK8E55XFR31xAuv4gOvhso3s3lXmJsywFf6EfTmOQ17CJ1JEEKrtRZD0ixAR5lDTTsyIqCzU5x9ukt0QfdZIjjSPdBun7Mv5WbDjrODdzVvAnLRijSfcxINwphb6b7qD+LxvRGgJMtJoHWISziI2s1skSKcBvfu1jkrhtDwWZd401IeyXLpaJ2bFGT4cwYlxWLAYKPwOIjAvHEWhU5X3D5+bE4RCmizKDsqbZ+Nmvkz3UbIJU+m7nei2wP7c2swoB8VOwYk+aeAZGBTT8jmTpMkkNL5ELFlXlMpmHIG4VaKNlZuakVVmvFk1yS6LQr+lvy+C8ppCvx55YYHoRKReC2S4SyGwDwF+GsPApx4ZBJDbHVYMoHho9sN1GV8VLKP30kZUn5TsF2/Pw8YYTVfw9mvQcCWmhADnG7g1OVenvNEjXyZ//pgUKcUMu+RVBNG5E2I7VdauXDl1BH3m/OnTH+DVIIi33r9SzabXpfLLez3uT0j76wtYaUUpd+eaVW4KfFPq42/lsqT0ILKwmXbzDllYZJreOckzacUtUIKzMNPlTDiVEoHixGKK1CHvt9prEmsQ8kQcPULJrR/H/cGja951l1GEZCdY+5vwpAAUvNERZ1SXjstN+ne4S24VgO/hA7AwNa8osFjIdmv/yZnL6C8PxotUXBKvJGKGXaDoAbwSPFNAMbVmO8nvQjlA= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51175c54-7fa6-4001-663c-08dc96f48aa0 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:22.3997 (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: +T7WmhWZcT2AFpLKRS7ZbXgn34IjNNE4Uf0apJI+nB+2xhz1KBUrFjr0NRynx0KzuFEDooI3kMSHS1z1294X0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 Add flexspi support. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index d32127cf7018a..0870c0d13e041 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -713,6 +713,22 @@ lpuart6: serial@425a0000 { status = "disabled"; }; + flexspi1: spi@425e0000 { + compatible = "nxp,imx8mm-fspi"; + reg = <0x425e0000 0x10000>, <0x28000000 0x8000000>; + reg-names = "fspi_base", "fspi_mmap"; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_FLEXSPI1>, + <&scmi_clk IMX95_CLK_FLEXSPI1>; + clock-names = "fspi_en", "fspi"; + assigned-clocks = <&scmi_clk IMX95_CLK_FLEXSPI1>; + assigned-clock-parents = <&scmi_clk IMX95_CLK_SYSPLL1_PFD1>; + assigned-clock-rates = <200000000>; + status = "disabled"; + }; + sai3: sai@42650000 { compatible = "fsl,imx95-sai"; reg = <0x42650000 0x10000>; From patchwork Thu Jun 27 21:59:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715075 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 10EAD1A2C31 for ; Thu, 27 Jun 2024 22:00:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525632; cv=fail; b=g0Yyb6BNfRR1f8Zchr80XnXMz8oJL/e8Rmp0fJn4WEym2li3Mi1Y6JIwlb9bJyt0xwg4P672iS6Q3causbaN/E8APcv6mYs51hz2VIHLjhFUSAVWojb5zpjvViyD+oJmz7DhRYGM6qZdkbyc9mpvnJTYcuVhpOt9HkyEt9ENXOQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525632; c=relaxed/simple; bh=4MHVNdNLwMLZaGZZPpkfsHMLfOrLWkQuSB9MA4L8qgo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=LHeQ1FKkWRyRW+/gwiR1f7sOGK8sLbcu+/KODTem3IS0qysVwEMk9rX1eBq0/f3RYrvWk80mXF0Z5kMl4USLXkDw330xZG2ehuZjJZ4d2mdLMqMr5QuEIMvBaOxEZ69jP894E/D33NzunC00MJncfqMqAucrHv1W/JOrP81VdGo= 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=ovUIvPba; arc=fail smtp.client-ip=40.107.241.83 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="ovUIvPba" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XrAfuuI6uexodNqImfVYLVYumYZ2I31zBo/JayPJ0o3erlBH0cVpKrbp5BH5P+T852xlEgy+/Mhj4m/7FEHmI56mChKZ9mrT/pFCl0cEa+XopK5oqYJXn6ni29jm/PudzpaxomN4HOusgQEbg/jSN+/y6sXPV3fArXnGBwT8i08oGA4+7roLDCC24i/9eS+76zc845K3pdUMPMP5VaBZ0i0vzJ/1BZf+Fo0tcWIF6rQxYyYJ1PHl9uaJYoMJ1UCS2ENhk6tc7DMDqHNHSMQgIp2gib7pVBA9tZGJi3+nRXnHt431EBfz3PHSBPthpe6oHUQOVZsGe3PH4fipNNJ1Ag== 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=PDZ9/a5ZeOg3QCENW2r9U9bY+E8knzLnMkrJXXCSfQ8=; b=JzOsS4fd/hf1CFHfYN+G9AM7Rnv0+FVcHfoxhLG7ltKhlkfIWDln5vFdUaL5me6wHgGYl3MSntY+ChRBGJ06Jw45V8B5PoG8q34OcZc61XvFTdRQQYU+B8ZoHTdLuFvYCG1nypOLubnc1lhlnp0gp4nTp9hlUO4tfmJCE/XjvBv6Gz+8dX/mzzj7L+nlK9fkM3Moo0iPbkQx0TFwKiwLkV/DyNEViGpl8pvE1xghzztvQY8ydxpuHo4g8/qLXU8ds0yty4kncEKjw8p8uDVfcDUPz885xeo56vVquRDt9THkKGHEUpBzbETh/gW9iUlvfB1wZG7tIC53jKmp78dsPA== 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=PDZ9/a5ZeOg3QCENW2r9U9bY+E8knzLnMkrJXXCSfQ8=; b=ovUIvPbaPUxYfFS3EmrAgrOaBSKM7zRXmyoI4OC000Ro/DA9PWWHno+DSf5yMUiTleaWVUBtgRyqQd6itXSvwU6flw45cnawbLYhdaaPGb1eY8c2aJ5vIXJnqyegTjDo7yCjZH807VCfdMT9rpBzxH6lhHilh71H2cTVQsjnC+o= 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:24 +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:24 +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 5/7] arm64: dts: imx95-19x19-evk: add flexspi and child node Date: Thu, 27 Jun 2024 17:59:59 -0400 Message-Id: <20240627220001.692875-5-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) 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_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: 4781132c-e9bb-4737-efbc-08dc96f48c07 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: p+aFGVl8TRp0MYeUFx/VFUJwPSeRJ6A2oaI1cPVc5FXi9IC/H2r3nbqKlQgmqRnTp64qYGkWjua9emYMoKQ545mh/SYs26aGbGvkeGMP0GuqaUh2EC+Lg4urWDuNd4BwLW3HepHuGkSgSgbKiiQEM2L05GM9BTvVLs5EcrGCTxDqAZWnNUBswz5rAo6PVJpI8mjNNgJOns1C1YfmTrb5QK+8s4xPt2GxGBqinvgyTfQxnSuSVpqpnOAjdWrt+jH/dXtO1tgbYXWCrb3oQsyUI3BZmczBby7zONfH1mQmMmL996qPOJsaF1ugsIO+wS6Nh2NbeFoJv04hWsrGjBPLJOp73g5PLQfkzlmPJOkUWLUl71eEGMv0GDcXFQ178DhtHmbSsfwckQ7gICwUkRGO3K3AVEG5azARHfO9Whm2eEHz8CBJ4pvyhmSM6CVA9bwkN8X3zTKQWxCUUD2bTTy7C5/JObaCBm8BKWy3tks9dWmjdhrsfXfsPicjqkaIbYR/WJUKoHtLrFkaIbvZ2u4IURYM+/lTA71OnbH580mpHYWX/C557hExZ9h3fIWKHqOADP9KL9d61/GTwiBY0SsVsx0R5rDEFsxQ7tWjMcRxI5SwxpUD5JjJYDes+OfNjY/5MQlQPtGpj0d/AdNcA7tF1B/tPTl5gU249qMk7UpAS74qKg6hQY7T275zWVoHoWmwvOTuvYodSSm7x8iHtBiu28E8Z0mFZqhUzd8zqqQmjXDctRAo1pb+clRDKqBLmb1z0SLEyLvDQwX8bJbUHb109tFlDSi9WDavbMomY023mFZJm4SEUKMSa7WD1uQHABCRbl+kfucFVXfc26NJpNwsDylIqh9HhqORs95O7u+F4KiqLQzy1hYNG3fXPHsHHABmPYxmnZT0lscqWKHkv4Aag+JZsu4ztg4Vks+O0midLC3kuGeVUmpJX4ItLFAeCM9UH/WVCduKFya5qxYsnDK7g7WsgHRqEQSYt0xu7HoZzPLDGbTj601rOSJbkSqk1OX7fdArw8jqfGnFNZatxGyVQ+NBzADLA9KpF59J5QSCTPlStn1HPIW5GYdyI1v1It1CuYxiSDdKbkCQINLAUVqLXaMTm6nheTHRPVuU5NDjx0MN+HCX3gieyJsLikt5RLSngAxdtW+XP5HSe+cWC1llCSozJT7MKcDgsFvG1sm0Au6w0VGkPubfPTHCdBmPT4ZsaB298Ryf9ubznRbkr9HmfhmBb99RxaXSCHq0vlB2RslW4w226GV0kMJi5rgN/1eET137ZFsvyez3qbVKqeH5A7Uw2Mp+/t3adf4Bld6Xkwl6m/+m1vLoP6q3JzcnyDf6875+rdCfJEAzIGorQVFelp6if7gPkqLQKy9tGEHVZE1DLEA7uif18qHZJHZU+wGC4bTUgy19EBH0VbajVso7FYM4oO6qkz3AHCHUNo0vdZ0= 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:(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: Dtw3KU/BE2iW2DfpErgasDlr9dLVdTC/iUQaCF6/iDwoTECsnczykip884ffYV0NyMWZ+1jNRmyx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VsG4ARMVM2VYUMrojT+XJ12WhCRueCGcLkWqCJqnKe3QSNqBcsHAHZFHUDC6p4CTKbLIKBGAmb0wscowH3muEv+hXaParEA2DKz/gM0n4gV1vplAE3uLcXcJ5WweqZa8EWSUD49JEf+j/xvFR7ER0tn9sLVKt2c4rlvEvXGavX7SeRkEhGSEiSIvwB9kD9YwBGxwh8QEXcv48P2QqsR8gl0lctbHUoY2YEQg6Z0gvaga797ZiC7t1jeSASuqcKLxt891gLBqfaAamblzekeakjYRxv45YE/rZFKdJrGTO5i7Kye8Klfj2g2CvELwU4U07sNP3/g9RD7orzKtd8EsKQ5z3ovEwTDLnnSVUD0ZZSKTVrl/5ncHqbj0BwCgBZxwXiOweWJpIJY/GWEKRJ+j/8butbnYT8k= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4781132c-e9bb-4737-efbc-08dc96f48c07 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:24.6544 (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: /dzCvSTLgkfxVR0O+K/fr+sVCFUg/V3Z74Lt3rNan2Ow2J6S7AeSoyfQaNtuUUY8K5hIN3HNDiEXgIgJabIFzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 Add flexspi and child flash node. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx95-19x19-evk.dts | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 660e623f4f964..ed8921d6217b8 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -163,6 +163,22 @@ sound-wm8962 { }; }; +&flexspi1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi1>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <200000000>; + spi-tx-bus-width = <8>; + spi-rx-bus-width = <8>; + }; +}; + &lpi2c4 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -336,6 +352,23 @@ &wdog3 { }; &scmi_iomuxc { + pinctrl_flexspi1: flexspi1grp { + fsl,pins = < + IMX95_PAD_XSPI1_SS0_B__FLEXSPI1_A_SS0_B 0x3fe + IMX95_PAD_XSPI1_SS1_B__GPIO5_IO_BIT11 0x3fe + IMX95_PAD_XSPI1_SCLK__FLEXSPI1_A_SCLK 0x3fe + IMX95_PAD_XSPI1_DQS__FLEXSPI1_A_DQS 0x3fe + IMX95_PAD_XSPI1_DATA0__FLEXSPI1_A_DATA_BIT0 0x3fe + IMX95_PAD_XSPI1_DATA1__FLEXSPI1_A_DATA_BIT1 0x3fe + IMX95_PAD_XSPI1_DATA2__FLEXSPI1_A_DATA_BIT2 0x3fe + IMX95_PAD_XSPI1_DATA3__FLEXSPI1_A_DATA_BIT3 0x3fe + IMX95_PAD_XSPI1_DATA4__FLEXSPI1_A_DATA_BIT4 0x3fe + IMX95_PAD_XSPI1_DATA5__FLEXSPI1_A_DATA_BIT5 0x3fe + IMX95_PAD_XSPI1_DATA6__FLEXSPI1_A_DATA_BIT6 0x3fe + IMX95_PAD_XSPI1_DATA7__FLEXSPI1_A_DATA_BIT7 0x3fe + >; + }; + pinctrl_hp: hpgrp { fsl,pins = < IMX95_PAD_GPIO_IO11__GPIO2_IO_BIT11 0x31e From patchwork Thu Jun 27 22:00:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715076 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 1A0271A2FAE for ; Thu, 27 Jun 2024 22:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525634; cv=fail; b=S+u7laNCQsfSOACXcDeXfuzUSupiMUnu00aALax2ctJshEdezazrx1Yv86H+84UYe7d8CSEJkV3Ih/+Z7qvgFUZqd0UBCjHvJbqfsHiOCUrTaBbXZRiXq4PMRp8NjWFtTxuGrlwVjzywAOHvIzSMJdaKasZunbgvXlSGEnVm6FY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525634; c=relaxed/simple; bh=TJ7ZZpODprmM1q3GA733j6B3fMw3euFpCGlK8B65vhk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=hT4LCl1mC8VvhZJBOQAVbZ9cjRUhVeyU0tL3z46XhbuyOMW3k2uSSOQSrh0KYkQEcvTQooLKcxvVW171vsDBpVN8ky7RN1WDmAGs/CqoRa5redCY3LfTvivj7EcRfDRc4qsADUWeM2VkIVDKGiiVf7c6QC4OEOdsTZONARvk1Gs= 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=Jka7vHA+; arc=fail smtp.client-ip=40.107.241.83 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="Jka7vHA+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ljmRtVNe1euPB/PRQ1HLa1QAngWNiRyJaMGjwK/YWKBsWAqMCLjW+8SVy5rDrsTmTOh50LopelQUEGGFSDc+etFjVgDas1TTIUKuMhNMcC/4WHIKOftIe9VCuuWz/GbiSOZfSE32uLB2XWT7fV3mXaQeMHcUhyQbxr0JE8NLLAnORuVyorwpkoMuF+0/IMYNKwQpk0yXm7G4naO0/c1bwlLmnV2/IvGYNSaU9T5GDX2uw2mxVTdEV9UP3C3u4e7it5Ez9FIkCV0KOz+NwF6yi0qVEMOXASzQKirjjpsFMqjcHCsi4ntAY/IF0NNAFt0sqJNo6f45VxfhggPi4nx+EA== 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=uPblGwc4vgBZHaCA0JeF5UjzuGGeihs56COfzXbO2Vg=; b=kfN6Nr5E0nTd1TG7DTjDdYyR8GqA16ljDR3j5k0xyu38WGCL3wSh5sMJOFNNL7N7mf+/IYQZO06Zx2pyP/CUk5JvdSZmKvqAhCtuf3gZ1/zdgxzwR78Fe8TMxWT63shTqnoX1g7whlUNgECbwTu2k2JCrDwumJjNhk350W/j75EYd8/Pi6PeNbPNX/0GBH+b9PYuzp6BJddcXDdouoaqczicxiR7kjKdZ9iIOnNpVOAs9pGmEXc9W57L0/xF48RdtjvRPmnVXScBLRL8FO3zT30IQZwjKyS41izaJxV5issdeQb18ILdSzwqgoSXZFTG2CgQZj8B26/tqzc2/pOv7Q== 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=uPblGwc4vgBZHaCA0JeF5UjzuGGeihs56COfzXbO2Vg=; b=Jka7vHA+p5CxSfV9gxee2E/nbm0c4ESMnYHGW9EOK9YSBnJ7pyulrhweEO/RzXXOqZF2kqWYyVdCra/BE0rWPfRKgd+7OSfovwC4Ed6ZbqDxo8/gKtrUCjUD1eEVDYy+F5rwDMjadahHxa45BjcBa3nQ8qjpr7pdM5tsRktmSCI= 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:27 +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:27 +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 6/7] arm64: dts: imx95: add thermal_zone label Date: Thu, 27 Jun 2024 18:00:00 -0400 Message-Id: <20240627220001.692875-6-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) 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_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: d8cf7b75-f8e2-469c-5342-08dc96f48d65 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: 4KmJQ3Bqcn/aGjyxH6+OkHzI7MwV5Ev8ASi/nY8p5c+7Bdm/OZ8sYbEtEQZM1Sg6iGDfFTSVqxwPw11puS6rlbmzWufU9Zy+xO/jzlcY7kLTtW7968Gt2IGHzdAX40t+pk3oZm8m0CFqdmjeafOEw7D47ZJWpFyZ290GzfhqUnPrubJVivH98RRoVnHYnIZnmh7ouaS0A3EjZ7Mq+EBWzLz0PUwjm9N3q6rvMvcHaAQ7l07kGpyggrs/5fJl39d1QPzaOC+6LlKSDOkBj6PCmTOe3Iv7O2Q9zEjl5pSlKHJt+1Nj5CqgdLkUKmKRkjt3/kRvv35WZl17gF/LUZir36W21XO95sOxdvvx0ke6t196aTnrR+INvpc40VyO/kP1oZOTMZ37D+IwQolPmIo8iRGE/W2HHRIJSL12zNGMq2ue8+vvDqMffw5C8wjU1XnNFRlS+2ifN+XI+PdtIhkLgb9Uixb+LshQp3fD8vqB1NTu+P3AIquNo+xbfDvrv8I4o1f/EienmIAG2y8DfS0U6Cf9ti61DBIHjMuTX3jnIw7ih4xgpb/kkupN3WJ2ywj9uAjlyhm44hlZnS0cuNfHkVk+BSgejQVshYxiFWC2PLCMJxHSQHddslMD9nqA0vehKAkmlkPnR4kSEK5Pd5H1ysignwrFV28WTuHa1AHBNXnK+YqP4MrVOMyicVHM3n4hjheKp6IRaIfb8HxvWktBA3WyVJ5P9tc7P8iWFnIWWHVQOS5Ui3StjXe5Txwjy1bSONQRg16t7tXDS9EZHCCNYNtr45XfH9pZlAWXSBS1Ip1lTzEAE5LYthkPoAEDUrXk0DQplocl4exxpqddhsS2/EzN1gzaZWCysjecVRhH3XTrT0oISQB0es7ri2uFyJKxYIrsd14L8k4u1ynQF+0XV8PXNHj3U34rHn63ILAxZ6ZjdzqAOFooWzqMSUJq+qemPjW6LuPLhSJuYHDc6zPyjKgo0CTJAoH/8lwcEMQ/bAn3gnWl08ViCLeKD6a8M3r+UwJkyrLY365TqbHBki2WX0iihZcqt1PDWm/RXpdFSX02EL5uhze9ql1pNqlh/Yb36sVri5FEsQ8WdMnSeD+Utz6MZXeWtQUjcsVHTj0flfybCW8MDXXI9XMLCJ6HyjN9DzQ3uqEWxs7W5mSapnPavhefwxgTMXMYR97vpLIcNe4LR03ZDYIzK6kvGtaJB3e2GlsRd97qzeW2pHJkLOEFpArsjHCINWETb5q79zziPs3rEjhJdBWjWIXhb92Ic9XlRUx6gjMM4EXgN/jfwRHz65631/LKZeqp0Rqq/OZqcPmtrPYhH4gSoAdlTqcCjswlTCAm8fll3/WTz4itqE1D9jTCOkXzZyya21KGOf6m8Q4mnP0FuiLqH1A2+q4twtKHZKYrlaX2bov30la9imbZwATQbqxE7qJFXIFwmXcoOb0= 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:(13230040)(52116014)(366016)(376014)(7416014)(1800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ydBEqAwHwAi/fF9UruxHllqgfW+vb66xpACWWUNoJLVmyaT8GOAWi9UgCIiF0X4rtDQDsUQJ5I617ASB8EuMosRWsGpcMwAKqgkTRh/McA/BSmYdky9lL0PJiBFZiR8OPoahuD38yxYUozzUlElbcKQYMwy+a3gAWMTBxrP40JGOAl8kgjHZ6WTSW+Bn0eOt78U/niPo6KxQlhmNgfwq0F3atruuZifLXKysxsVrKmX7ooH734zZhJtSzP9fFgVdxZqbZfHUbSJetEek4Dvbchobz+5/94BY5fyhPX2KR8ck2w+g7Rm6QQveUn5JH6LDGJtH2dBNphtquelsYIxvbpEW41sr+fdhoMtQhi0W1Ip/CQOfnL50HuAq3KAomzTAZp5Jeg7/p3EbwJQiWW4WmK+/i+hlT2rgMfc9Mo5UTAv0aWNPhRlInTnDD/rsYTXvWYkTeaLKLgo0EZdNt4cxSusSBx+4UyTrsFhZmhSOhMxj4cB+GFQIpEsSejFw08gbZRqyMVs9qEQLr02J9P+0LJLYu6PvGS4o3PhhGdeABjCPlMXvyGfGkYrdpyQrkEwGAYY/DfHM5QNaXNhSFuJedDk8+EyCDI= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8cf7b75-f8e2-469c-5342-08dc96f48d65 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:27.0719 (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: D2n2UIfzuJDRAxsgraJipJ+Tw6qAGBxBVonP5Yn0kjIe3fgtXc4RAByI30bZEb2TSk7+uKjj6ZCc8Qwjsfyf6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 Add thermal_zone label because it may be overwrite by board level dts file. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 0870c0d13e041..e454240ab3b04 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -326,7 +326,7 @@ pmu { interrupts = ; }; - thermal-zones { + thermal_zones: thermal-zones { a55-thermal { polling-delay-passive = <250>; polling-delay = <2000>; From patchwork Thu Jun 27 22:00:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715077 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 1A71D1A38C4 for ; Thu, 27 Jun 2024 22:00:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525636; cv=fail; b=N2TrMDu1jzPm0VXX21UMZ4jhif3xrrxFe9NcAx1zd0NCrxWJ5jhMSXafo2UKck598XdQv+A9nIGXwrWrGKZJnDPDDCTjlL9c0jbAoXpeucQFWCqIMFrZVcChhBtqe8x4fWjVSnFHJYGUw3sQsDUmf6bvI1mUHD9nJubdYzsSRUo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525636; c=relaxed/simple; bh=o6hiuXedRx9JglRbVuBqOh+PVMg3BIMB21TBNyXbWpw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=CHfeY7sR5HX3T/d1RgChZaatp1mavS3BU7Yy3XtGi1+ozkH8JjQMZYWJ4yiZV7KUmAaU5Lx4jaxuKJ1PHsjx4c2XwdPz/ltZOK3sUQLfk39qy+Jg1GOI+FKcOf9m4WNFI+onM8sEmcS6kPa3Jrhj3KLT1LLrYv0A7TUd+qKFU0Y= 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=qUYzlT83; arc=fail smtp.client-ip=40.107.241.83 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="qUYzlT83" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bjSsNu8M642y0MMb5mrWlgZ2HCk/Q9LtP6v2dOBuYCWItOZCFVGB01ewUKVGi2z0hg3fh+zdGqteUf78g5NsggxGbTAb2on5E91bG2HkUXRGCuxuC6eZn2HPGI4O4Y/6hBeRcsjv2yEKMCQUdKSgng81RJgJIIdbdt2RFpxTnOFZ+UZg6a7zUTRrBAMYiErjVynOSXuIC2NCadBqbIL2U1cmnyocVTAudgfIpgjYLG7Kc3nHiiRCfKa80tRD8IeNTSnZDzD62QmEeyTZSCCELtTqIHUMjt0zLky1sjUzEdN64kUQVzn9kjZ/6X5w6qNtupY8XGl7HlNjjC72q7m77A== 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=WNfWPBbn480Wqd+8f4Ey7HkdDTmU61syZJI42fZcyrQ=; b=CK1yI15zjDAKee5qNfZjPHg7Bl1+75/r0HyiIxoYhzCTsYvh6FqgtdL1g6cL1pQPiSHniafA/ub18DlcKGgEizsTRWKz9zsRuIpO9swPVN6t5Qnl5iH/F51z287YNatMY32VV9IJ3bIb4ouQOVZb/jOTWotSRyQh3uWK024GSVuAo6E1zjVZkHdWoQAmI7bKo3+YHlNjI0gJn8UcTeMz8Owkgb+Jub8Xs+ZggIRsa4ymE/M1iE/7HRwBa83WZ3DsIUXx1npuhhDIDFM6hxVEfLPM8BkR/QBr+GE8RfBcGThp4rtlqCeXSWTxw9eXYuxxoncTN9Mg3Elgg0wJdyo/BQ== 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=WNfWPBbn480Wqd+8f4Ey7HkdDTmU61syZJI42fZcyrQ=; b=qUYzlT83RpwHP2NpmR5YqcO9cMGdxftzyxrSRz9FgyTWKm54Lj6eRGGQ1EQZeObjT6SU8280NXqBAnka9jieCxAGf1OKM4Gu6wrz5t8w5nA0dUGwbIv6gm6iW3xbwR0YY4EfAH+TTEDapYIRMSxrZ02PAfaPnkRfyLCIphOT5LU= 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:29 +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:29 +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 7/7] arm64: dts: imx95-19x19-evk: add pwm fan control Date: Thu, 27 Jun 2024 18:00:01 -0400 Message-Id: <20240627220001.692875-7-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) 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_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: 359b8ea2-3199-4ff7-eabd-08dc96f48ecf 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: q4zU7OLpjScCDzMWMnlXVVAeCt6VBZiJR5Aj9KkkD8FZ5zjxXVn5XsKj188aYDtq+RA9qwOSjQ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47H2G8eWI4efy4IsB2Yk0CuESP1hV77kSxuRG9Uhg7/LLO6L2dz+KNHceSMNBGNVEGDv1Hfdgq9a7Z/+YIiSUmu7s5CK+4x4QCBnolFFGLSHdg4zw9YYwj+3h9cGfjelXgn8LQQc8cX7OU7tYTNXXLbWWZzYaYWRVFGhT1wrpkBiLsXe2J8AWsSbrO5VP30vphfVNJyUZC1St3VyCN/JEUoAFBRSM8zS96cZ81ZjiAFAmszU0/jPIk72PFijAg6F8ypBA8swxa8Rq9baW8TS28uwYUXZtk5+eEZh/rehyI+humOU= 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:(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: vWYPs4HvWfDxNp7B5DNssA74Q/1bgneDU2JSOC/Yh71Vz1hV+rqE7QtVYOv2WW6mrOyg05dLJIVEe6LKHnAX2h7AEzaeHdUg/lVxS0Mxc66w1nVPhs9t2Y5T2255fh/DdanhKZd9hUdgZ2765vXjQMkAy0egskgdvEMI27qPDiPi0e60l50rJVcRIC6/WeoB/UiqVNGOzWuRnQy/HF/Pgg0UxY8aMSFPDAZ8tJYxKk1xHvxbRf2cknvVjCv/5X4ioZJRMn0qGQaYwfCRa28s5sZLmWya9V3Gzvfeo8KFqLSrLpA6ginkp2UJ14F1dBVSsTbJTSXtSwZIflDduXqcfxPevLsk5X2V6I6ZWdXjsa86Kr8bSZRNtN7OphG+ifEYAsb85XEeVrKYqoWPT1Vu08OlTva/sjUfoWFv8CJSm9nEDI1sfEQUmy5xYV5H4t2kdi/ZAzXxV2Z9VufpOySlx+BPStSdMjrC1+pOhyXBpflnyitY1mGe6rmiTBBkcCWE0sTQAngvJeAIAOiyztJe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Message-Id: 359b8ea2-3199-4ff7-eabd-08dc96f48ecf 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:29.3139 (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: QzSYKvwzoxd5Ff7eRFvCIgxskItFw4jb454bnZwVRuMEEblhFQUuNaYkgdJruPfxYBK5a+iz/XoAudkVNJ5Jcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 Add pwm fan and overwrite default thermal nodes. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx95-19x19-evk.dts | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index ed8921d6217b8..0c84efd058ce1 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include "imx95.dtsi" / { @@ -31,6 +32,13 @@ memory@80000000 { reg = <0x0 0x80000000 0 0x80000000>; }; + fan0: pwm-fan { + compatible = "pwm-fan"; + #cooling-cells = <2>; + pwms = <&tpm6 2 4000000 PWM_POLARITY_INVERTED>; + cooling-levels = <64 128 192 255>; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -558,3 +566,44 @@ IMX95_PAD_SD2_VSELECT__USDHC2_VSELECT 0x51e >; }; }; + +&thermal_zones { + a55-thermal { + trips { + atrip2: trip2 { + temperature = <55000>; + hysteresis = <2000>; + type = "active"; + }; + + atrip3: trip3 { + temperature = <65000>; + hysteresis = <2000>; + type = "active"; + }; + + atrip4: trip4 { + temperature = <75000>; + hysteresis = <2000>; + type = "active"; + }; + }; + + cooling-maps { + map1 { + trip = <&atrip2>; + cooling-device = <&fan0 0 1>; + }; + + map2 { + trip = <&atrip3>; + cooling-device = <&fan0 1 2>; + }; + + map3 { + trip = <&atrip4>; + cooling-device = <&fan0 2 3>; + }; + }; + }; +};