Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp543819lqr; Wed, 5 Jun 2024 13:28:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUv4PVjLvQ+UyjerZY1O416IX8bbC6eZqGX4xG2rkDzpSR+v2iVcT1RIcs4BYmMzlNPmYufAvJFcl2MyyntSKHOo0bNo7QRWVY+ALQ/Uw== X-Google-Smtp-Source: AGHT+IFMbLvYgVk0X2bi+FE66Hd0Xop5vUi7wxqBXdXTZBVQT5A8gQu+i+UeZ6Snwm9GBrxaewIg X-Received: by 2002:a05:6214:2b95:b0:6af:3f53:d807 with SMTP id 6a1803df08f44-6b030a553fbmr35585046d6.42.1717619322787; Wed, 05 Jun 2024 13:28:42 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b42c718si49460466d6.525.2024.06.05.13.28.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=CmAlUUW3; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-203177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 745681C21B9E for ; Wed, 5 Jun 2024 20:28:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DBDD15ECDB; Wed, 5 Jun 2024 20:27:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="CmAlUUW3" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2081.outbound.protection.outlook.com [40.107.22.81]) (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 7987015ECC4; Wed, 5 Jun 2024 20:27:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.81 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717619245; cv=fail; b=FySWnY1lZssJUi9WrxdtNUvWpMmH4qhwmyHCnqgktnbbzU6tQK5jtJt0P9jAvv9y5LKyUi/tpqa0JWTIFh/cfQ728QieCv+ZS1xVqezlfw+1rQy6yZoJmdUW7Oy523t3SPVGDNga9tt14WdtZtSuyB8MY7tMVtNtLtxMwFmMWkQ= 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.81 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 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: linux-kernel@vger.kernel.org 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: =?us-ascii?Q?nDoJs3EYjvW763/EAVh40yYIYnSPKmzrgCMbcane7LW+kvWlMqCznd7fkqSO?= =?us-ascii?Q?f/BUMi5/SFwzEFwEFkOfaB8h+LGdunUxpg98BpaaQSbLJZJ8cUPAFJXbT7GN?= =?us-ascii?Q?WhCOp39zBcSAmoI6b73pLugZWYrBEVFaUCurcyu6KEWIikh4YNOdDCifbyJ0?= =?us-ascii?Q?lwm1Y/31MiIpWjC24Bas+3pmj0sOJFtGiH1BLuJy7QeAXNptr1oTzq5N+RYw?= =?us-ascii?Q?Hvi4wfH/P7zrw0EU25Myvozs9j3IzWHNolwAH5mVMdKYAmvKlxWvhQXeROHd?= =?us-ascii?Q?UoUQOOFwUnBi0mK+rNP7OitKiQ8zaaZBY0UPk0IdiB3KyKfaGUN0ae+WfbKm?= =?us-ascii?Q?+N3SxS/ZdUdFKwnXJngvUDW2fWVKjk3e+G797tFmo2nIMC4DCnoqiamn1lgA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xxfBz7skblK5BLgvqTwM6Jm6SUSDr30Vd4wPWD2C?= =?us-ascii?Q?xCEMmzJ3gtfy5sffiTqtXAKpgTDQ7YeFERBYEqYLgPnAQw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(1800799015)(366007)(52116005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?v2qwDb+daZUtGZp1MvgUlb1OxmeDd8AAhVn5gP5kBR9bzi29QTVEhcZzuj74?= =?us-ascii?Q?DuPIEvZGrBrsyv9eC3e+W09OCw7bqzI4gCPLrAQSvncq+U13St6fBuUgi4MO?= =?us-ascii?Q?xSFMELYHa3EKV0bgHRjeHBA7WT0Ib0BT4qJa72o17xi+z6AR0S+Ox03ghLP2?= =?us-ascii?Q?sKUYVEq27d6L+fgJWwWaKerFEZ2KzV4ihLeDG9QmUihl4TPk6x/SwmqY/mmn?= =?us-ascii?Q?YvnAEodt8Gi3lqi0BYJKuGICAFYr2+iVC80pKQ5UoHrqgiNqk0iX2zho9WBf?= =?us-ascii?Q?FoP721+/gFIPgc8ESVDgZijihDve/RyxZ/SSwWEBkKx+N3BSKJKB7HReWD1O?= =?us-ascii?Q?dNtMnN0bJDGTSDbLnsZWxjFa1GWxSqRLFW9LYH2jwWQEwSRlcMb4zBh3mI7z?= =?us-ascii?Q?o0wO++DhOBY07D+UE+D35hO/4md52X14OWeGuU60TPfz67jAEHc7CCjVvpOS?= =?us-ascii?Q?6DtNCah51o8l4W3QKzCvknW0iVnXtXML5IhqtKaqRNXk/r//i6bLIFB732+i?= =?us-ascii?Q?zSVUDXsoS0ws6Tbgotb13Xd3P8PnSGGFiWyoqvT70YOOCbZOXRsHcZYKlg64?= =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faMFAxxHgAys2LrF9QgKOtaofZ1QSsCnnLU?= =?us-ascii?Q?9kC7TMTjs71xkMsr4nZBL3nG7K8lHh2HegXJRLqxyl51oIT5nCvf06vbIfSu?= =?us-ascii?Q?y91QQHrk//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 --- 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>; -- 2.34.1