From patchwork Sun Jun 25 12:25:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 696677 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 138C2EB64DC for ; Sun, 25 Jun 2023 12:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232177AbjFYMVP (ORCPT ); Sun, 25 Jun 2023 08:21:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232148AbjFYMVM (ORCPT ); Sun, 25 Jun 2023 08:21:12 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2043.outbound.protection.outlook.com [40.107.22.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ED45E4C; Sun, 25 Jun 2023 05:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f4JyxT4MLgL6umRrmFLFCPBSTrDI+jBjEzd99rVn9hS4p/4luHyg8QmArStKEKx0iYTffsUn96FarLhm76nPcC9v6igrEqyjnRRKRmzxzHFZQuNM03C7VSKZSADaoMUJzMn1Aao6QucvQczJ9Xz3MLodNOBEcQG3kPXQLJjOkkEn2s4RMI7T1tDHCa/PyyuqInK9jkEZs1NG/2JjO/oIJfnwPYDQltMtDRZBFIxh0GiEFXydRRomDM9SZvTJ05pkp10IEFjwD+QZzeYzZvp27+osa7dley6OxdjWBEQSTXd6IwcX0mzGn4s93fc/Topkq9Q3HkKE7z05qjxuqJVMNA== 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=ZvEgrjjQT355va/UXHxKncJ/L00GeIvJPK7HozdLdeM=; b=kw14yeHYp6LmK19/3evjIkeksFydvUmwEWIG5jzCG5iQ1Dzi5nBTi6BpDUQm+VhPAS+KZNIw52EiT9FwajMWnBcxxkWK5vO5EhmFxxt6+MW8F8u6tsDh0K+rzVLp8mjlGG5Hzjs4iiJhpBdbmdNCCGbrU3hnZx/i0URkA0IGMQlnn6JPh4XPaZyrt53nRPn0IM26queHLAjNPq8BJj/932j86PufyMQEDSdJ/TOMojnbGIVhVWsf1yFQvngIZ9eVLgEbodiCWIlvF9ETVd0KP63csr+KMSSuVcoilUZA48FrtKflvWv3Es8umFWj0iDYMWHy6cOR2qC92/mS/vVRbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZvEgrjjQT355va/UXHxKncJ/L00GeIvJPK7HozdLdeM=; b=UCuRg74mosAMjqlsWhQMnAoCRkI65gXmpS8J/uhrktmNPweA2bFeWMbwrLQnQ4eqyv01gbLaHS36YPm6JbxfE3FobURb+TphB7Q5j8/8xik9QmzukJ+3uE9Zn8PiawFLK/EcBlJpgheCV/yxYI31PTiXRxQwKI9VaEtUQarENF8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9129.eurprd04.prod.outlook.com (2603:10a6:10:2f4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Sun, 25 Jun 2023 12:21:02 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea%7]) with mapi id 15.20.6521.026; Sun, 25 Jun 2023 12:21:02 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 1/4] arm64: dts: imx93: add thermal support Date: Sun, 25 Jun 2023 20:25:46 +0800 Message-Id: <20230625122549.4066027-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625122549.4066027-1-peng.fan@oss.nxp.com> References: <20230625122549.4066027-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0010.apcprd02.prod.outlook.com (2603:1096:4:1f7::17) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9129:EE_ X-MS-Office365-Filtering-Correlation-Id: 23a0b01d-251f-4ee1-4224-08db7576a3d1 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1+Y05zC50T2A8BcF0kR5AzrBRJsznrGDXo+lsePBYP0NSec4G3Qmucu9OHArBSNSuQBWNTiCxRJaUeoS10kDf4eR3vqRo9oMIGOsWlZZT5036euqGu7/684qVlizGF9WQ3FSToxhNYqndloSgLZONEAlWBTEP+XMRDEr3w/Qd11OfdesKwxHw6oJcMhp83KdZGh43RvKl2Ue70ztR8ckixDWDAOborqE492+4UINMIxumLzPnDs64dpHmpsej/ZOm6OMmLECelfRrxVzLNk6+pLJN2ZKkl3LAn5ur8NI+jZv8XjWwqJMTAuma9PCzIRB0pg22DtvcFDGKszkhZQyFnA+P8uIXtsMBI3c6Sgw+TkfhG9NXZaT7m2cJAV//zqAVfQtsTK02ZjRChwZ1Xnvf3p+G2K7w594koUH8yF+m9knKUsVFjDwABg8RSKHDlINHmtyDl+Lz9oG9+OkUWyN7WCeOUi4GrdzXKUlmJcl8Ztw/r0r5xk8HdTuA0wgoIGdUWJHxA1E1S88fWF4oO4qiwgPab2vE233eXyjAx0OlcfA2zy1s2NrEXsi94W/RWiy2fqEGexs9TvpRsvlNJR0iT2YImv4ZNe5K9BSPM1iyin34NJTbtabgCs3BqSJZ1Kq X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(346002)(396003)(366004)(39850400004)(136003)(451199021)(38100700002)(38350700002)(83380400001)(86362001)(478600001)(2616005)(6486002)(52116002)(6666004)(66946007)(316002)(41300700001)(8936002)(8676002)(66476007)(66556008)(4326008)(1076003)(6506007)(26005)(186003)(6512007)(2906002)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jxtGf0rxtN7EC5VeYUtZMIMfjfAQKDUSSEjQ/vMSIvS66mWfo6bPmOBCJjwFrbNKzNmzXA2g5KmLxw7vaa7GcTDdtqzZDF+PMPnRJeFoXAkvivtLrot1JuiJ4ShvTV/SxekOsmitAq3mug9qCqyR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klg2dm2cv5KB/U7+Xsaaj9xoLjOgFnJSGf9HUzICr3EKJuauVYQhVr2vfPpz8cdNyY/vE9Q0mB3uf7QgIxhQIcBL1cOIhSNSlEp4nIMtIE3FOBtXu882dZeYKGCTI24A3Sg1H5aqD/8/7hiNyUz99OJlJ0VCPLKJ3uUNkRwiSRElLvXQ5YRylhR1m9XKIfHtxX9IiOVGIaYi9O6GP3H3HiLcAdPKqyhvbUX9V/lB/JPTocV2ZpHKd1P722XgLSl1KTfM5GUrOnNYn1GjBmxVpk5OVQYNA0OsgndoJb8A/LPIz9P8GlGWB6yicwLzTD66QUIdLmQLDu2P8DA8+oEU+uOs+CEsgutv4hcryreV39IZvux5sinGDI5K+Rv X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23a0b01d-251f-4ee1-4224-08db7576a3d1 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 12:21:02.0742 (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: AKi3AQ9HSJdLZEGX6jg8OfqmETXEjj02Np95thkXa7VSQtw7Lb8WevEigX32JpEHsZt+uLSNQ+5BEu8YZwiY0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add tmu node and thermal-zones Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 8643612ace8c..9aad073b491e 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include "imx93-pinfunc.h" @@ -132,6 +133,38 @@ gic: interrupt-controller@48000000 { interrupt-parent = <&gic>; }; + thermal-zones { + cpu-thermal { + polling-delay-passive = <250>; + polling-delay = <2000>; + + thermal-sensors = <&tmu 0>; + + trips { + cpu_alert: cpu-alert { + temperature = <80000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit: cpu-crit { + temperature = <90000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + cooling-maps { + map0 { + trip = <&cpu_alert>; + cooling-device = + <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -343,6 +376,26 @@ anatop: anatop@44480000 { reg = <0x44480000 0x10000>; }; + tmu: tmu@44482000 { + compatible = "fsl,qoriq-tmu"; + reg = <0x44482000 0x1000>; + clocks = <&clk IMX93_CLK_TMC_GATE>; + little-endian; + fsl,tmu-range = <0x800000da 0x800000e9 + 0x80000102 0x8000012a + 0x80000166 0x800001a7 + 0x800001b6>; + fsl,tmu-calibration = <0x00000000 0x0000000e + 0x00000001 0x00000029 + 0x00000002 0x00000056 + 0x00000003 0x000000a2 + 0x00000004 0x00000116 + 0x00000005 0x00000195 + 0x00000006 0x000001b2>; + #thermal-sensor-cells = <1>; + }; + + adc1: adc@44530000 { compatible = "nxp,imx93-adc"; reg = <0x44530000 0x10000>; From patchwork Sun Jun 25 12:25:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 696676 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58F7EC0015E for ; Sun, 25 Jun 2023 12:21:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232211AbjFYMV0 (ORCPT ); Sun, 25 Jun 2023 08:21:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232209AbjFYMVV (ORCPT ); Sun, 25 Jun 2023 08:21:21 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2043.outbound.protection.outlook.com [40.107.22.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F6991BD; Sun, 25 Jun 2023 05:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kn44t9WAP8vW03WpBEDsd/WIbrC6iYe9LYWeEmV/qUj7byAd1tMIQ9xVieJLCOFY6iXhW8PCBGfoLslL3xQzZmTjqPsDFrZXo46v3H9uKQU4nAvQPI5PMClozUaoIYDcHk/7qiVhd4yawBD7foM6JRCDAo9oc22+Y1kIonQA+mEIuhRhqj4WgnFc/jR9k9jKm6LRh6c6FDf1rWOMqYio4u5aP1HFzCNk6lQdlwfXeIoequ8CNVHtmTg9nIu6qSFm4VsQVo842htwa2j5D/OeUiqa1zu45Ef6xGIRnH/xLMaDyYx15w5uZodzieNxgxOsmsZ7Ao5IkUlQuSG/VQfDQQ== 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=yASY+dZqUTx28FEahkYBblZs+6xPmJmYVcGPfz0EgTk=; b=RIUd99kMjcQPt37MOzGJB89GWVRHXMiIhNU2KPtHN/iRttufP3q8UKGrKnZNZvz0JyqKKk9RKgP3ev45aXY+0I9l9ubcDIeO2/mK0E47P7ACQh+kbMsqOsBr5ESmv5MmoA9+Lp6PLwKJg1CewCw3LumS/nuZ/jOYk/DgHbicFtY++p9JOhJYUPCYCmDO3g4JiitNyWKL4K6nG+1HXDbIgzRFdm/vhuZ8tLgVkkcAqa/eglGNNtBv/OqYFjVkKUA+79XttZHhFZltvygr0OYnAZ7IYjKacrLKHm/lbezp6LdGLc4JDL8T6s8F1Op/NaPm6AcEAmIUXhRPo1kMGyIu4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yASY+dZqUTx28FEahkYBblZs+6xPmJmYVcGPfz0EgTk=; b=JE78ZnR7MnLUGSoy61W7USoBeJDs+CXrtIv0td8A2JzhRAdoz/iRf3GNShm+PNijO/Z2/bT2SaIdA7x2TZoAkmd6BNX36bFW8AXalQfy5yFhoyhpIlgx7ZQYGMNOTUUmJN7VERoJoOBVhm3cFJSWFAiHLfXF3fH6cI4WtHKtP7s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9129.eurprd04.prod.outlook.com (2603:10a6:10:2f4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Sun, 25 Jun 2023 12:21:05 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea%7]) with mapi id 15.20.6521.026; Sun, 25 Jun 2023 12:21:05 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 2/4] arm64: dts: imx93: add cma area for i.MX93 11x11 EVK Date: Sun, 25 Jun 2023 20:25:47 +0800 Message-Id: <20230625122549.4066027-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625122549.4066027-1-peng.fan@oss.nxp.com> References: <20230625122549.4066027-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0010.apcprd02.prod.outlook.com (2603:1096:4:1f7::17) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9129:EE_ X-MS-Office365-Filtering-Correlation-Id: 87457a58-6c76-4e56-e952-08db7576a5f7 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9nd4IBrCwwWJlCckj1UiESFoF5CvuvT7UtsBXejMWyIqVtRfvM+zc72G1t7IqjHzBJzc5KM0moVuUyH2Hd98fBXo5isyOHVFqhMrihUqAn+rSvPQTEVpT7IJTNntoi1cYp3CMQeJhULBVNT4FSKxoMypKMPb0Q0vrzZKYIp2s2xyDc1BmvFYKw3keXsWhPbkCOv7xjeZ82WZy+dj2ASMYHG3iwZv4OpG2fczOqduJTl5pjSVUJ/H+btMHX0TpXXPkIdGPBO9Q7QLrAQAHL1Besu+dC6LUISO+6F41/n3oWS3M/MLpLuhYDtb/Xm4SD1lXLV6IBB5gDLE/TAEZyC6n4SGKP3vjKV8v9YhxvmcmkCdnfrgqMnrjRZzTYw0bQtzJYJhrFg+Cc5ym7clJFBD4+iL+zeqbmjKswbY6X5ejpO1AZsTrjNlYW1EdbbMTa5gaKH98s3t/SbEkOqRAFyr7rQlRJn1p699ZAQRkqHwRhmnNaVbJhzp8SKkFM75uW42rOwRb97Xmu06+cQNJYHwLdBveAtiEGq3dD6vwhe1TXpsgmFhkKl/eUQ3pkYAHsrnjeXTvc14i2zaCVrXtXTwcmAEMK27GlCreMeCHONuqJd4ptrwKqSJ+itM2FhC1sxn X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(346002)(396003)(366004)(39850400004)(136003)(451199021)(38100700002)(38350700002)(86362001)(478600001)(2616005)(6486002)(52116002)(6666004)(66946007)(316002)(41300700001)(8936002)(8676002)(66476007)(66556008)(4326008)(1076003)(6506007)(26005)(186003)(6512007)(4744005)(2906002)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GYF5Wa7Qa+8ueG97Kdvu6XaAnoJ/XiSvC34Uc9D6789aCizVDHc1jUooNCfVEs1yYlsWS3F9IkOxr6R+wglJ+xmFHtH7hmuAkmdqktko9GvaskLHNRQGSLsax8LCy1QfEkz67rgxReM4qvLZzG/zBy4RUmXdRPmBkkpbBsCq5AwxlHPmYs9wHdSrfPYegqM/1h2okqFu1sOy0sGYBdGm3ltDFb+mHHYo9hp8iM5hXQBgKPZWvsP17Odz6qPFeocMrMybuxIyIQuCSakAj3uvtHONDW3ebg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lFbLCoam+1/rLJOXYhChiu4HucUe28jY80Mj6hK7/sZIq9rF6XTNu03wqTdVsfppwrKqeEvct8VZn59ZRWX7XoPyb5UnshjBsrLSx7tV13AVujaJQUQe9CGWvo/BMZ+lhHeVjEIyAUfKdNhOjMHT/8TX1iC6QgK2kM46MTNB034UCX5bp4gIoPbi0nEaHOOje5BLtlHzIIkSQ8xEhDpWh+t+Cmsvd9t X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87457a58-6c76-4e56-e952-08db7576a5f7 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 12:21:05.7158 (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: qgB6+FYjH9+4gXBmeoP7T9V6zdI1QyypL6qNKM4QUsaBRbSU/2BKgIXitwkvtYSRdcnuO//DvniTo5yUPWyu8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add CMA region for DMA usage. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index c50f46f06f62..359ae86f4e7e 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -15,6 +15,20 @@ chosen { stdout-path = &lpuart1; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + linux,cma { + compatible = "shared-dma-pool"; + reusable; + alloc-ranges = <0 0x80000000 0 0x40000000>; + size = <0 0x10000000>; + linux,cma-default; + }; + }; + reg_vref_1v8: regulator-adc-vref { compatible = "regulator-fixed"; regulator-name = "vref_1v8"; From patchwork Sun Jun 25 12:25:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 696314 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A38F3EB64DD for ; Sun, 25 Jun 2023 12:21:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232227AbjFYMVh (ORCPT ); Sun, 25 Jun 2023 08:21:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232234AbjFYMV0 (ORCPT ); Sun, 25 Jun 2023 08:21:26 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2043.outbound.protection.outlook.com [40.107.22.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9D0F10C6; Sun, 25 Jun 2023 05:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dulOfBaqOukIsb394SRmmoFfLzdF94ovxjW6HJGO42nVQanZdi0y5HOHFSSz5INmLYbSCO/5/MYTvpNbq2WUTmVxaSR5QvDJL49EpX/dzwXgOTrCG2Z4NKlSGsDDUyKcURBmCNUOqKNNNujZVHu5yNInPsxr/PVgIhDgl1rZyN0aVc974uqRAKD9R93ekAw16RGNJK3B1Vq920H7he0Mx3yvgejVrqURvbRIiAnHrd952l/6rj7od7xNfqVXZKlfk4qpmYV1dBafOt0w0nhvfmYmTnWcYUDuYBH97rrkxvTcqlW5Y1eEJ70nqZM6+t8A/fHvXTEYif9V/mvTRi/cLw== 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=JR5zeVXW9W2yC5NS6z3aDckYQroTYDEIVUbKjhNJjsI=; b=NOV8BmfH3N+LQ2wGHyDq1E2KM3AWYbog77wRnAUt7TtGzUxEHoPy9sp7wNOgcfTCuzelUri7EsR4m1SUd43GAQr9omV54pr5BSh/QoWeMLKodRC2ygUwACBbGbQJxO61GZmIuY+ZMLbWxhC5KbqOt2yjUd+uctUIJfHo5cn1n4DELWmqbxX7J3sniZOGpxKyzp5+0CAbOXfbApKxmkoPni5XGlIcQBR3KlHQj4rlHnXikQEIxxVcRn4DEE2Ojn7As/A4m3vN5wFRUXs8hHPkY4T4Id/PZTyi0I9wVirwNt5v/oHTk4TWfadMsCEuUAza37C2yPLDsWNTTrK1+2efSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JR5zeVXW9W2yC5NS6z3aDckYQroTYDEIVUbKjhNJjsI=; b=WWY4W0AXq/Pk2EdQSMhLJiWhn/+WKFyKc8ovlmU3xDAO5lECr2Tpv36TLGC/gjxJ34yqbOzyEMYydkixWxOKrUXKD8eVBi0l1dTaPnhnV6bBmbUMtEYUtzh4qin/nkLqRHH1CQPjrcTBHRZ6bzAi3zDyb5QkYZxChfDeUMrE7no= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9129.eurprd04.prod.outlook.com (2603:10a6:10:2f4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Sun, 25 Jun 2023 12:21:09 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea%7]) with mapi id 15.20.6521.026; Sun, 25 Jun 2023 12:21:09 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 3/4] arm64: dts: imx93: add cm33 node Date: Sun, 25 Jun 2023 20:25:48 +0800 Message-Id: <20230625122549.4066027-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625122549.4066027-1-peng.fan@oss.nxp.com> References: <20230625122549.4066027-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0010.apcprd02.prod.outlook.com (2603:1096:4:1f7::17) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9129:EE_ X-MS-Office365-Filtering-Correlation-Id: e4282a73-c058-44bf-17cf-08db7576a828 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5xdXX1TpiW0SzQdUN1ef+hGVNAXArItUypL8nlxNvvFPJXHq2rrt3oP9OOSmyiXFbdKYgZMHTlCqYnIgnLOHD6s6qPhpqpmbJEj1A6GrPkzSyZhoA5UpWeicdQcXpl5nlo6X9qCpNvV2r4z7fDv7oeXndICp1BZyxcsJ2vIp5+oTwdMJjlSlO4KP9yzL+H9XVH8qRSQbUr6KgaRiQ+wzY1xaUlBq1+NNU31tOYYPEQH529nxRo3ucHdbZA092hCNWdcFEScJ8Z7LVUn011nyTM1LQD7BAsoMccKHC9/Ku+FT5f8EkiOaBN4Ae/cH5Pxc9uNVJWGF6qsAK5oYBkVVm53QPl4aTejj0cuRoIuyMZF/wuVEPwa3RqqwDObe+baz04UIN92dhphu3HXaXkAjb4smg/36HZ+S8CBlfEJKlre+L3A1zozqnOVxj/AqS5perOUlT1mNT7iAfTFczCRGeY/YeIu0HOunqQLR6mLClL8UrEJy+VSOVCjeNeRsIExrdV0gOHth10u4hKSz6KJUy2kUlzx4+LMqN93HjN90y1e6A4+mXA2TeCzi+3PCnjafduTR4W/CVgogtA/8UQBObtei88JMgN7hIwQr9fvbNcWOMQ3wBWQwlJWyrd9uEH9K X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(346002)(396003)(366004)(39850400004)(136003)(451199021)(38100700002)(38350700002)(83380400001)(86362001)(478600001)(2616005)(6486002)(52116002)(6666004)(66946007)(316002)(41300700001)(8936002)(8676002)(66476007)(66556008)(4326008)(1076003)(6506007)(26005)(186003)(6512007)(4744005)(2906002)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-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me+C9po1MFPKemKI4CE+OvVAWi2U4O4Sbr1Rsh7bggb/hG1qCoo5z8CCK8Z9+o/fU9y5tl1SYdNlhXelzqnk0Wg5ld/Gz8Jbp9aPmVGCZundnNa22Qex4AVxPtPZa79e8XwX01lmfv+PJ56tf3a/bDkzjc8IPMcSpNs8/P8PHlnfxfL07qL3hnJjL+VQOm9msdMK36zWDa0yPfL0BQKW3kR1tlsitP7bYnlB1Ez5rhbMeCIB9e4Pe6KsOME+d8d3Pugn8bJ+6XDnciYovlznX1z1rxSAe0ROE6TGdKzVmA0UiN8uDSgKF128u9R8hdzjuyRL4AzrnMx5ZIEItC/hMDnBfIXPov2X1/iW23OtbO8vRvlQ96bPkC70UA4bElvHNb11SRjCkBl/YCCxx9rkO11YNLhnfnxOwmfmLfFJ7XmPrpKRIRjZhqifyZn9ITolBYEoUbz5ZsiM6wGtvwa2QrIh1n4ofohZ4hnSgE1tDMlZO2xyWZQWUJK45pFtO/SzIjY2QScYaU9b5cQYKX9mZvqD9uMudM X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4282a73-c058-44bf-17cf-08db7576a828 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 12:21:09.3718 (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: doIZfpyggmyjhE0Xl6nNs3StuAEn3t9rl4pXagHs2PLvbi0xkJggVWRv7lB9Z1U9FHq+zX5wlaDbD3kylu1qig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add CM33 node for i.MX93 Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 9aad073b491e..285e80907367 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -165,6 +165,12 @@ map0 { }; }; + cm33: remoteproc-cm33 { + compatible = "fsl,imx93-cm33"; + clocks = <&clk IMX93_CLK_CM33_GATE>; + status = "disabled"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; From patchwork Sun Jun 25 12:25:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 696315 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68765EB64DD for ; Sun, 25 Jun 2023 12:21:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232148AbjFYMVX (ORCPT ); Sun, 25 Jun 2023 08:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232197AbjFYMVR (ORCPT ); Sun, 25 Jun 2023 08:21:17 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2078.outbound.protection.outlook.com [40.107.241.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F46EE67; Sun, 25 Jun 2023 05:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oFBrIniKpkDvXv1+/cpi1rLuwls4ODAp1l1IKhw+ifU34hgouT+8LRluMLedDjHkYUSw07u2qDtVBbJYCcZ+LseCuYe+kx1HsstjYNPFJyfqaIA4yygmHlNN1B9nPog0+IpQPuLmVER33retA1SDTcsou+Dkh5gxArvvlpqi1sNPBMqDLAgWZrm6g2G1zl8veM6fTmr4Zd8d0dFRPpEl5ACa7ss69XdDPaiNouVbkbJJ82PcYn7eoSmy0Tw+9RHEmnRkeNUiHOPU7HAkO8hcyBu7m8mKihck1Bq5SfVS1g3JCRsSuUWTcLl880TaJPHw6h2W4nFh5jsAt6+caEEvHQ== 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=gU/NSpTIwabDUDEAGLxhSg0/sXVV9kJRatepUZ64Yws=; b=HfjchOndQSR0DDNzlyw0+duqJRaIUJGIWN1bDBKdAvUFHunq/4k3nOu3Pjj0vRflxwAaRuoNPFYPXV4FjOcTx3H4Ve8YA2sVIspZHaSKZTa4PRARujI8rBdBpxzdtZ3RBJsuoYDbWIE4Ry4vnKtZOsPFaEv9zC3lfdEE+7QVV+6EXNuZgpWIZLa6k616gXMvVr0vZFeLnUauQAHc7pjtehoAZtRgs4UgZRVHq+54tbDv4Mt9oK7FaZBU5Dj8CVtVBWbxXOdSfdtw5nDlji1tGUmLKofybrOoj1AOD+/yUQpKqv4o6SFa15w5gk5pSbWOQVX6MPu+38jy3eRjCXffkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gU/NSpTIwabDUDEAGLxhSg0/sXVV9kJRatepUZ64Yws=; b=fxy2YFMlyzxP8gYXXBmGR/0+AKOP+2ax4gb0KqmEFW5iiDjH0c1ixByBreM6S70v7CbuRZ6hRzuLr/3HfeJ4no+/DFMvcPyFg7PiA9ayiR1rqpdeiVRX/ghAgYnHFiJYHic4DvKIxr2WlPvt+nko7JUZzhLF8c9Oqpddpo6jb1s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8865.eurprd04.prod.outlook.com (2603:10a6:20b:42c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 12:21:13 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea%7]) with mapi id 15.20.6521.026; Sun, 25 Jun 2023 12:21:12 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 4/4] arm64: dts: imx93: enable CM33 for 11x11 EVK Date: Sun, 25 Jun 2023 20:25:49 +0800 Message-Id: <20230625122549.4066027-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625122549.4066027-1-peng.fan@oss.nxp.com> References: <20230625122549.4066027-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0010.apcprd02.prod.outlook.com (2603:1096:4:1f7::17) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8865:EE_ X-MS-Office365-Filtering-Correlation-Id: 05de3bc6-5b69-4f4d-7fe8-08db7576aa53 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v+fJJSlji+l1KBbH078/pdmBQMfuHhgtL4sUeIG8CgUfrO2h76xlVh1s5e6UgJ4z4/zMFY+QPSefXKyeQwKtOGKJ2vckOkjcNLRc/Snnrx7DSdImj3kAYtwutAqS8Ou3Y3khsbNm+9UndcFQtxx3HrqIu9I2s/ns1NxLbC/u8Gg4Ua6k8TJlk0AnwJTUFoaQXBrxLjNr3fk0BI8eU/QtYn7XV+sBhgp86JJhYnDpvV2kigyWD+oQPxwiLG7v5UBgwWGc9CNBLIVSZtlbcr9CDdKASe/zxR7WqaoZfk5Ugo0l/5PBot8DzHGHtkejYKl+LMs98h8CPvAjq4iHFg6CN7cOijvhPt5SCNnJj81SzQ1s9mYAG2dRC0v8BqqCMW2cXnu2CjkBaoKa6Cn/i0EPdjWJBpvSn13forL2kJ45yN/tWyuIkE8dFNPqoB2uAnoEeD1bc+fshpDpoaA7mkqu6hf3JAK6Qv+sEq9CjTO0vjiM8Tjtwe9c28AyTBgb5nPovR1DbiKift/nVQdmc34aDMYPae6K6XFhCvwBFgfpbUOLnp53ljSep+nS+AZ4RoG86b2bVcV6nJofwJVXF5L5vkeSECDYlBPyujNvqCbVV6C3CAFAgzaEjJbnbbWXjxXV X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(376002)(136003)(396003)(39860400002)(346002)(451199021)(6486002)(478600001)(52116002)(2616005)(83380400001)(6666004)(6506007)(6512007)(1076003)(26005)(186003)(2906002)(5660300002)(38350700002)(38100700002)(4326008)(66946007)(8936002)(8676002)(41300700001)(316002)(86362001)(66476007)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MotGhWB5X0dcVknLoAlBmW2W9ULU4re/261431lm9ajyiwuoTUA3Vy/EtZ1oIx9OpoXBhg87PyrjXExDqzrPRdOMUPdZOetqjVGjROhRmfu3+sN5JBLfgqBYbsvlVHPzK03Cfpf2Z4l8YrzyOr/9QXSWwx6UHjWv1HDKi1Qpp2F97vN66spE7HCktZ18tIP3Cz4Hsdyji0JGAR0qzgwZPKaueQTixUkHY0QAl/83i00PU+sbxJneLANB90Q+rTJ6MBPKnbLq3H2Eyi5S1Tr3yT9Uj4lgxlNLuPyQLd/zlnHeaZIppbeSVbfsQ3adxbT8Y9ohcngPzJ3vA/oOFNxgMLzmBXWSZjzJcYzgdHd6bXP/dsLuUbF+GbLanDf8uBjTWHK4hEMocLHAp8qe54d4R7DxJ57/sLqEPirfWErnCreYPG6mQzBeVZoJU06oQWCDdbyOS6DJCihrjgp88o1Ru//kQ6VofuGm2Hs4/ERUczVxc9G8PVoomS8jlS3AIUgS8jzFOrcs5OMyp9KA8Nzbn6Wq0vYLcJ5kAVCmfyZFow6yIVL7e2F3A5SZaY01fDILgZB/oYswJ2qWrxFn/f0JMLBTZLGqgnobUH1cW84WWbBWi+NUh6tq/PlmrWPgImxS1FQDFuetdPbz0EMVVE8Fhs264cnQfxkly8moZfMRT9oTNXd7m6gLJo9jscd4PK9iufdl/+8ckYVqhuwyUPTiEk7MyY5o8h9kg4zxRgxGbKTneuOmhdRyyRdkUfKwGgFQ1N6miksAdCZtAAvaP24vLmvyO7lbTgZQAJRztfCR3b0Uirr0aLI2vmEEwy+19/LgulDmeziyocZRjKjFGkFZ33weq+mXRAGuTn0BmjVC01QQDJn2N9s2+qy9bipZx27PIsc5cL5LjFggVGSsMN8NNMhyU6JOTP1xwhWQZnBCRmkICPViTL2rhf05PXOA49XNe/VVSXz+FgH5b43OJ8wtExQfEkiChfb7p4noddUmrw05ViP7zWN/Jp78YCVzsZDfasv6DRVsinp4S9FV/cygh5idjK6hovoHK7vQVPH34yl92t/kobz03PdPO0qRLlCgQDNf2TdPlZZuW/JxDQxsngz9cxDyMvZCyhsZsx8Igk1w2Tb5kzK8HR7UjoXaAQpHhnTRVQlh0/VqB1J68ZghE38RZmZU7HfimaTVSZrXJ14chO9xkhp7ogx9C/M15pu4WAYdV2UyYqI2dv/CfrAvneedKIoWG5Bb8mYvacI0HSbp8ijFfzQlORwhnSX3cCO/VVuDyhd3nBRxgpH7rdYNWnzZMBl9zOwHSHN6pmsbbOKrZdzxJhq2hw3clww9e9U/h7h3RdGpIgoebbkYfCQVzT4CPbWpWWchTNUWAanHhdJojUl/YpeU3Qw1KSDhAlqXO1cWkBO+lkF5T+aIyMEdpACsr4/qFTGDsf3QHAC9VdlGCtHRinQjrtHgaR+1nsmxYg5leroMoAxRaq+nYH4GdF7PJ5oEr2zE5e4QIv4Irfia17D+jpodEmvWsXoK/nNNNnA8NX4DnLojFtcrGK+XgGyeunmjsI0X5GHYhoEI5cgcVp7F9QT2dGa1vwfYPQGt X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05de3bc6-5b69-4f4d-7fe8-08db7576aa53 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 12:21:12.8882 (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: OKvcI5QakcSiDB+u5D9aXnbWppdnoZ7Miq1lH625+x/d/GUq3W3eomUEVREXPDLUfZs7qa7IRGVNwzY3E4d/QA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8865 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add reserved memory node for rpmsg Enable CM33 node with mailbox property included for doorbell. Signed-off-by: Peng Fan --- .../boot/dts/freescale/imx93-11x11-evk.dts | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 359ae86f4e7e..cafd39130eb8 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -27,6 +27,38 @@ linux,cma { size = <0 0x10000000>; linux,cma-default; }; + + vdev0vring0: vdev0vring0@a4000000 { + reg = <0 0xa4000000 0 0x8000>; + no-map; + }; + + vdev0vring1: vdev0vring1@a4008000 { + reg = <0 0xa4008000 0 0x8000>; + no-map; + }; + + vdev1vring0: vdev1vring0@a4000000 { + reg = <0 0xa4010000 0 0x8000>; + no-map; + }; + + vdev1vring1: vdev1vring1@a4018000 { + reg = <0 0xa4018000 0 0x8000>; + no-map; + }; + + rsc_table: rsc-table@2021f000 { + reg = <0 0x2021f000 0 0x1000>; + no-map; + }; + + vdevbuffer: vdevbuffer@a4020000 { + compatible = "shared-dma-pool"; + reg = <0 0xa4020000 0 0x100000>; + no-map; + }; + }; reg_vref_1v8: regulator-adc-vref { @@ -53,6 +85,16 @@ &adc1 { status = "okay"; }; +&cm33 { + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&mu1 0 1>, + <&mu1 1 1>, + <&mu1 3 1>; + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, + <&vdev1vring0>, <&vdev1vring1>, <&rsc_table>; + status = "okay"; +}; + &mu1 { status = "okay"; };