From patchwork Wed Jun 5 20:27:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13687442 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2067.outbound.protection.outlook.com [40.107.22.67]) (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 A19AC15ECCA for ; Wed, 5 Jun 2024 20:27:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.67 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717619245; cv=fail; b=TH7n6ULK+yuM+wTIkMl42l6PvtFD86QBEdrPjID5R7cxHiIm7UOQZsJE95VWxSygayLacWR5L1blJb0ybsG3BDNcnUhgN15z4Pl5IXFMI2RwBkTu7x4FTUg50+SNdlOZg/RHaHTBE34guTMAt1iEAQZRnLhAUSI8BEfHHTL30yE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717619245; c=relaxed/simple; bh=JMTAE3/HY4Xy77heSUmXqktoZicdL7n2jxPWVjWTysQ=; h=From:To:Subject:Date:Message-Id:Content-Type:MIME-Version; b=YaSf6KFlUx02sVt5FSh3NftXu62GfRMyhlOeWmVY1gtztah6c9I3Qp+MM2ho6wUBmuHHKjXiwLinZTGusJni2I9ThqVr4E+g0alS1xU0ZFyK2rLhdlzRb7GgphLdk1rPcKQ5LyXu3CDpJnFEwOlJDcXMYlr8h2z561g3UUBcnRs= 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=CmAlUUW3; arc=fail smtp.client-ip=40.107.22.67 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="CmAlUUW3" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DEPkoJgchAIRFpdOz+5HPBO6V3ddOYmLkD+ou9F2y5XZfvRn4t0EtRGBSCifc4kPEiBTHleBMhia5jV8jXLUqUWW/hOO2keOtGrSeJQ+GF+qzlbX2lKryG6veSxrSuakXoVPvLcbFFwOn60Va85UNWq+78snTB/mKyCVbDNsMq4bppDgImn1jimY5g2dWk1lDYSohotJOJCT0aP4BA6xKAlyrpuHtGm8b0nyK5/NgS0jYypS9HvUs1+aZLVPOMLGm4CTFkyljf89t7ElRwCkHqMVBuEMqZ95K6TTJ0WMUD9AsAApFH0x+sSAazfmWQxxJRYEydwYWhTT3DNro5rPxQ== 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=NXc+RS7mX2m+NEGEzDbIEySOU4PFL84lPfkNRE9k474=; b=QIEIsF1EnE420oU2CgurcSEMG17L4zKGv46YkugFW+slxCTg78OBeB+Fl33qvLYAr11y7iTgMQL/txWvOfrHK4jlD7fqKV/cPzv8kTVkRYde0nITsvsQggT/AkhQSh2+HY4vsklCXjk70wbr9YPdC6/Ol7RgZbbUF/4UyJSl4kEsKuzjTmbFEn1INJzUbF/Uh8iyMtgMgk33Xd+9X7MR8Sm9fs0eufo/czSPPYIGanK3NiS5oW5OmBDRBLNVZ9DhAHdryDLchcvfbjCRhd+BGzMfDNH7cJVsH0PKejf9AWzCEI6qBO/zQ6AqBt292NSbsFGyoaVq8e5Qhh5wlnnzLA== 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=NXc+RS7mX2m+NEGEzDbIEySOU4PFL84lPfkNRE9k474=; b=CmAlUUW3UE1DWxZebFol6h0PmmSfAzgILnxNz5U7Yeng0ak++WXGgyVcSzLizfwUqwhhP4voKFvNnQW6v16OhMs6JE0j9sZpBv5daR8q4LjLLQEY1CckNSXw6cby2DCU5g20KD5WahmkUwFBjXJG1gxpPvcIQtcetdEeFszONhk= 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 PA4PR04MB7680.eurprd04.prod.outlook.com (2603:10a6:102:f3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Wed, 5 Jun 2024 20:27: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.7633.021; Wed, 5 Jun 2024 20:27: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) Subject: [PATCH 1/1] arm64: dts: imx8dxl-evk: add imx8dxl_cm4, lsio mu5, related memory region Date: Wed, 5 Jun 2024 16:27:03 -0400 Message-Id: <20240605202703.1220203-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR03CA0082.namprd03.prod.outlook.com (2603:10b6:a03:331::27) 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_|PA4PR04MB7680:EE_ X-MS-Office365-Filtering-Correlation-Id: 87d69034-e0da-4105-3e6e-08dc859de640 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|1800799015|366007|52116005|38350700005|921011; X-Microsoft-Antispam-Message-Info: nDoJs3EYjvW763/EAVh40yYIYnSPKmzrgCMbcane7LW+kvWlMqCznd7fkqSOf/BUMi5/SFwzEFwEFkOfaB8h+LGdunUxpg98BpaaQSbLJZJ8cUPAFJXbT7GNWhCOp39zBcSAmoI6b73pLugZWYrBEVFaUCurcyu6KEWIikh4YNOdDCifbyJ0lwm1Y/31MiIpWjC24Bas+3pmj0sOJFtGiH1BLuJy7QeAXNptr1oTzq5N+RYwHvi4wfH/P7zrw0EU25Myvozs9j3IzWHNolwAH5mVMdKYAmvKlxWvhQXeROHdUoUQOOFwUnBi0mK+rNP7OitKiQ8zaaZBY0UPk0IdiB3KyKfaGUN0ae+WfbKm+N3SxS/ZdUdFKwnXJngvUDW2fWVKjk3e+G797tFmo2nIMC4DCnoqiamn1lgAesqjqatphANJSPfvAxmGDMQGCnQ5P6hA5rtdPtD5UvFCFFu/7Fbij/b3wCxe5WTo1W8MEtjz/2LyFPz1eiJp316tzr0YNaR0djQzMXrGqj1/N4SRA4AbTO0ZZ1UAQzsrdVI/tE4nrFfvdWLUSNihEKE607JwL0Waf3Bgwo8nT/9AFZgmwtbwxPVZ5ePthG/4Ay3CVYXDIl3vck2u4pMyn4IcZ36OLasZ3rsNFBe9yu278mWi5g0Xg9o5kwD4Cbum2Dio6g0gzz0xNi+2bGxbWzIJNUbOZ7x4H7Tds8L3u8G+0p8qRga6of0NqiYw2oIokbZbC1hjJaw5ksoSTAcy5N5vb4FREaxw/GJRCuOTnr228U2/VlBPfjaGyF0HmamB49AfwbuQytiqUA+tGNcwi7H+JeJB1h5qn6v6fBV4Itkop/yBjM5d312Wy5TCuSEmk7BlScDnSj2YQ8K3UmK3hde8i/NORObUI2+rVSDXZKM3w6V/HpUbyjiTwFgIDFXNPcgUFiqpTqKAte/h8tFQZRMPjg3McI04ueLZTcgEq4Gpf3ZV/DZsBaPArmUDpN67ksdV2owkWi0P+TzEemXN/EADbIubDAZsiXJCUvCCSlVuQk+r7FIhQLGwFt93rrnknUfecIXa75iT7hYg1E7K03XLFsYtNSUnxW+gfJTq2vzLKBFQAKxc12Ywet9ZEZ0dnifx7P0f8aYY92QQNYIlHDhqRIxHnJGDFWNF+9cPW9Hjify8a8tiVC6H8HMIGCa4Cmhl7K7BK6HgMdXwyoK2QYeFEKb4NL97/PGEaXJOwKuq8+Q1SN9G9Phl9tTMrnKOMId0D0UGWuqeDJEwATL1oPmDlCLxxxfBz7skblK5BLgvqTwM6Jm6SUSDr30Vd4wPWD2CxCEMmzJ3gtfy5sffiTqtXAKpgTDQ7YeFERBYEqYLgPnAQw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(1800799015)(366007)(52116005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: v2qwDb+daZUtGZp1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4/VZ2Aj42xrtzjMJiabO2NRzemcQg6kXZGPwAYo9KNsEPHRXCGtMIQa/hEo9e/9wdtEqwNmwSA+IuiXj0Dii/gnt2DU0vEv8+UG2RvC2DWtXDKC4xjmQ/pk30qfCQ5ajntKgGxB4UnBJarT0dwzvrgOywrUZGJajUYj+C0PC8PQHNlm09mjGK7zTgTdAXJDzq19PvzFzt1DWMu4doUkTKBldcBEHepV6+SXtMMzYhDbF/FVo4mf1ZjNKyhz8Ui6XPEbRjlX2EHQ6TAApGwuiyA7LqtotmvaiaNYOookF/25s6Xpvfn5UR/eLiWX+4N9uTFC3noO6MCcxssjwPOWHzSGSKupj+E9mAZe9FkJK+2Gpm17BfaMFAxxHgAys2LrF9QgKOtaofZ1QSsCnnLU9kC7TMTjs71xkMsr4nZBL3nG7K8lHh2HegXJRLqxyl51oIT5nCvf06vbIfSuy91QQHrk//STgfZ5hQaXmlPIOC6Uvz81VxigFBX8 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87d69034-e0da-4105-3e6e-08dc859de640 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 20:27:20.0491 (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: ePDf9rNQX8C9/5Sv8IdLJbQWCGK/oZVpvZ3uw6mLPFM2eaCUj7fgzOR5DZ6O4m1zpFwDWpADq3pV6Q2Y2Kq5CQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7680 Add imx8dxl_cm4, lsio mu5 and related memory region. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 4ac96a0586294..c5e601b98cf8f 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -24,6 +24,19 @@ chosen { stdout-path = &lpuart0; }; + imx8dxl-cm4 { + compatible = "fsl,imx8qxp-cm4"; + clocks = <&clk_dummy>; + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&lsio_mu5 0 1 &lsio_mu5 1 1 &lsio_mu5 3 1>; + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, + <&vdev1vring0>, <&vdev1vring1>, <&rsc_table>; + power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>; + fsl,resource-id = ; + fsl,entry-address = <0x34fe0000>; + }; + + memory@80000000 { device_type = "memory"; reg = <0x00000000 0x80000000 0 0x40000000>; @@ -51,6 +64,37 @@ linux,cma { alloc-ranges = <0 0x98000000 0 0x14000000>; linux,cma-default; }; + + vdev0vring0: memory0@90000000 { + reg = <0 0x90000000 0 0x8000>; + no-map; + }; + + vdev0vring1: memory@90008000 { + reg = <0 0x90008000 0 0x8000>; + no-map; + }; + + vdev1vring0: memory@90010000 { + reg = <0 0x90010000 0 0x8000>; + no-map; + }; + + vdev1vring1: memory@90018000 { + reg = <0 0x90018000 0 0x8000>; + no-map; + }; + + rsc_table: memory-rsc-table@900ff000 { + reg = <0 0x900ff000 0 0x1000>; + no-map; + }; + + vdevbuffer: memory-vdevbuffer { + compatible = "shared-dma-pool"; + reg = <0 0x90400000 0 0x100000>; + no-map; + }; }; m2_uart1_sel: regulator-m2uart1sel { @@ -505,6 +549,10 @@ &lpuart1 { status = "okay"; }; +&lsio_mu5 { + status = "okay"; +}; + &flexcan2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan2>;