From patchwork Mon Sep 30 21:26: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: 13817113 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013042.outbound.protection.outlook.com [52.101.67.42]) (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 7E9C91A4E71 for ; Mon, 30 Sep 2024 21:26:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727731602; cv=fail; b=YoAzxL+ib9JfpnkZItzk/6FrCdgXyFpNKm41c4I/aIz62hIom9aoYvxFZZQBq+ehPrz12qBfbGOZwblSY0hA5i7awvKOYhy3AIelxLKNTW38YopWZoH/vghNkQtKHDefydB31rNrvi/xJbWlHkhURbXmNudaU8qE9o71z3G6Yu8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727731602; c=relaxed/simple; bh=0Zo/2eKvGlpefP3crmB666JNcFwT1bJhXd2EjeAut90=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=oOZ5ozCVVbgx2C0hVWHVkyF2uxse19VB3SSlyze98oYIwIrZejaBJpf4DPqJ1PVZoR+7O95LxkdF96mLYXUBngp9MKd6vldZxf7+koSjaq/Wrrtq5kbDRUbw+zXz/Ia4jDMdN3UgQOO4pDjuZ9EEuAzjLxqSnXOZ6SZIm7VNPdM= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=Yj7hxkvO; arc=fail smtp.client-ip=52.101.67.42 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="Yj7hxkvO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=g1C+NgYXVKF6xd64qcO5qFdaYLrl+L3Pp1Fft9ss1I+IzSDcVZOuynXJpVCH0BfcXACvc9xcH1But6A9PXLacQs0S+lvcWkNS93ZYzlu69Cnku3El9clkIyoKngK1LWaVRmEGNXgXbCWv7rt/FviAEscfRPYgu1o6uG84x+i0xgTzCw/4ah541p7ALaOjZl9ugwDGM7vE8sxPkeVQrm4nXcairU8U9bSZLjnPVLMdA/yiVVlP6H5TGxavJDQEKux/V9j6vYBzp4tK78wvx2v/DTCBDfODVPPJTewLUDGfTdnDFZeksQRIi87PEinfbVUEorBT63dq5o6CGjp6thv2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=nOwhRLEaaJaMqqdkoo0JzVYgxYkx4KSY87xiQfeSg8w=; b=tl/eDHnUS6jTMBRxALIO7EVZPmz4NLSSgV5FTdCLyuRKk22mDTETSvbF5o/EpdOkgBPLqn+oowjU34LTDAuuwqoXQk/wkY4mpbkMQQrXWE1fiTFRzcdOQKAU8mQ/UnHBoJ+eeWe0qYdyY7dTjMGeWBsvWuRTFOenma6kmuzKIaQ+tjPP2NFhhacJujAmJhz5ocnbw7A1bjaiA/GHqEPccivA3iZL/H6zXss6UNaaRZp/23MfcBRxGEUaSLGkK4Neo+DLvTiRH9nZgolePGRIGuf4jnbAoL5HIVO8WMGU+TchrfcN493XNhrMJIMBikDFZU9jpvJqPARDWJ6jO3cHTw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nOwhRLEaaJaMqqdkoo0JzVYgxYkx4KSY87xiQfeSg8w=; b=Yj7hxkvOW81mb7wz7dy1kOTX0HF51gJYp9oHhlWLPg5jYS+w0aMvBsf5bat7bere6+3tzbPmcy1oP0pmy6KWlx3ZW9CyaB1Zvh2v62i7/3uf/e8STjn9GSxqxvg8vfnxHxvAOvIcY15R+TFhwG405NQ4Ym0VTJwTaL8tD+F7/C4Jqzpbubf//v0JnodSCnmbFAtFitJ1eiuGX9uG8z9tp8ush+tGCrFb53466dGZEjueBV/AK4KEXKxcqk/X/zSLCCO0BTmzEjxeJBjN5kee2cihk8YZNr0cFyaOkO7A5eDgZpJPo7chxQNSA31uRTXblUwotsfisGnVC7PBfTxmVA== 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 AM9PR04MB7601.eurprd04.prod.outlook.com (2603:10a6:20b:285::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.27; Mon, 30 Sep 2024 21:26:39 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8005.024; Mon, 30 Sep 2024 21:26:39 +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/6] arm64: dts: imx8qxp-mek: add cm4 and related nodes Date: Mon, 30 Sep 2024 17:26:03 -0400 Message-Id: <20240930212604.118756-6-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240930212604.118756-1-Frank.Li@nxp.com> References: <20240930212604.118756-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR03CA0335.namprd03.prod.outlook.com (2603:10b6:a03:39c::10) 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_|AM9PR04MB7601:EE_ X-MS-Office365-Filtering-Correlation-Id: f3c65460-7264-4af9-784a-08dce1969216 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: NODKHGQxPRsyzgAn/CJV0CqeHrQR7ZI9RUdmvAy7tZDABAow+GiIcV368Zx9Y+iMCBZ/yxXuh2KfIDwa3HbVzd5xw+HCNbNq0nCC0FSj3J7JQ0rsa2Lms+jmgByWwQE+bqpBJ7cut8xbUVfR8EDIqvZEeekV5WGqOIpDFrMVPt1H4NkqSsH+JNJ+p2+aA+AYCmmJTjyeeBuN8Ach9m4H7Zj++EjZkYAz49ttcol0SapNaMsVPNhRodBcEGCWLEUk+2pVKGZbCTI8/0AUnVlTlBrGobzt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LCQYWgRskzBKUxmPPO4KWGORh6l7VVfvEy7nOEopYHgVMOpcePY2gzgoFi62tgMqg270rQ0ewnBs= 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)(1800799024)(366016)(52116014)(376014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GUjF2XdxiDdKb3oOgdvSm6g/ofDqQgMWFv7vl6c9bP+SD7o56f4lh+9fksdUyG8816fWyUTDiSH3XigwY7SGGpF3bTH0FkH145sL8SJZsFn6U6ohyzb1RgVYnfYocZMmuBdLhoxoKrspwSexMP4hpUQveYZ1gk2wk7dD4r2W5bshl5Mn+eAtlsecgfgtRDqO2lYZ1tcs9p0AJjta/Evo2RBa6x3Yae5waznc42fiTqIyoXkgH8HC/QKx/GhjPetzUkTNUbtBRLz4zQmLwtZ07aC2b2vIqTbNM0MBoDk4IHwzV9pyO/5VC608KaBiLvnWrjN3OHY7ZhDYX2nbXjHpGR2uQjvDqeqfXxKjkc9lVJ+gNPlDeksrFVXoZuIg1lVvJWvL/y6f6RoS8nynS+z3m9dc4g/qMFW0JevKfEyJRiZup7Isk6lWgn5yHixAwaqFHB5md3krHjGdNiVlKk+naXlcNEqcQ0Uu9QqElJ9vLP1wlRXliCQxHdWWJlVre6A9HPLI7j6z1D+t6DKXr8BhMp+F17CfDIFwJfgUARUJhcEn1VD3vsjzsSG7l+/aZUyQvVwnbWhSQjZDCWmGkrFWCfi6Z6l7sHElT3ymtjygBO0zJoxvmgWrMefahszyW8KCoH1DKum7/w2gx+VokkrMAAV8Tlgd4i5T9WF3eaRNYSHfMqd3BukR2uGhNuhcgy6/P6MPuIzxbaYJX6u8rjcZ27tKmJz5Z3/BT1hD9wtTRtnmBIvjzgLZGd2rPrvjt5sWrjYGFUoYcpxxMjwNP8eu4KGrgMK0BfQ5HhLVerAnEeGjmvA25Xm6ISKIe2fAP9ERPbfFyOnhnDsgyJAhsEs3ZqHqiXoHY5P3g++ePOJkpE3JRR/arN3PO2lvZAVeS9DAbltKahKNtHYuXO8A1D90aNrmMBnW8iLm7l8BVPksP2UZINS3u3xIyLkCZZLNc1fKhAJKHgy6Q06brGyLr1Xpq5UwYjjgC3S4HcFRLUULue462x6WuW1SVd9GCZtKymDsNbkbjVEv/+yb1BjMjrKWjAB9qGEjfv/ay432XK2/UQDGjBaed60UVf4cg1sh7u1MAu8lla0Bu5LqKapS/9rUHhXQfNqF84SnB5l0mruDyN+LFObiQVZrxVkcT1HKXBhiNM50BD6KqdNG280tYqAsB9C+dDtTJ0UkCK03Cw4Dyx+dVcDGXRw/Y2/x5Kjvw9ZBOdGdSsWFgPTDU7AZjEC1eVh0PeocG2klSJoH267mXJ5Zy+7ioWtWCmw4o5/XnT6UZvkyNO6WDW4W9KOO/KqZbNIjTN6jfL9/d5/Oa0DkTtICre5VfSni6uHmkOMNg8v6JKG+sZH3yELBxlCsllzXavXp+VYsy9yra8nfN36NP+5hsa7RQXpOqfS4Xcj4WJVoAQMA+vZUpwfkJ79l88WcZtScbP7iRj8Xf/Ff6+n9nvnXXvrg2agVOEyRAOmt6oPOE2+u4rwl12ymJTi5vJoCPOMOkncNIH2Sq/UFwkutYyVcvgHNliYVIcfJ+r90kOKH7FAC+WeD42Q/PlxcS7XqGnKH4L7AJatByrFQ2kqocGA= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3c65460-7264-4af9-784a-08dce1969216 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 21:26:39.3470 (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: jWJiWVtyZqd7nI2VIB4eI8bMFemk1dZyrkGSW/ctN8996DFxMLixg3b5+gdAI5eLV7CC/RvAWSxRfIotjh4U5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7601 Add cm4 and related nodes. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index bbb94adfd64f0..83e8393a34a0c 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -21,6 +21,21 @@ chosen { stdout-path = &lpuart0; }; + imx8x_cm4: imx8x_cm4 { + compatible = "fsl,imx8qxp-cm4"; + 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,entry-address = <0x34fe0000>; + fsl,resource-id = ; + status = "okay"; + }; + memory@80000000 { device_type = "memory"; reg = <0x00000000 0x80000000 0 0x40000000>; @@ -85,6 +100,48 @@ reg_usb_otg1_vbus: regulator-usbotg1-vbus { enable-active-high; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + vdev0vring0: memory@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@900ff000 { + reg = <0 0x900ff000 0 0x1000>; + no-map; + }; + + vdevbuffer: memory@90400000 { + compatible = "shared-dma-pool"; + reg = <0 0x90400000 0 0x100000>; + no-map; + }; + + gpu_reserved: gpu_reserved@880000000 { + no-map; + reg = <0x8 0x80000000 0 0x10000000>; + }; + }; + sound-bt-sco { compatible = "simple-audio-card"; simple-audio-card,bitclock-inversion; @@ -407,6 +464,10 @@ &lpuart3 { status = "okay"; }; +&lsio_mu5 { + status = "okay"; +}; + &mu_m0 { status = "okay"; };