From patchwork Sun Jun 25 10:55:25 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: 696680 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 E7AB4C001B0 for ; Sun, 25 Jun 2023 10:53:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230465AbjFYKxX (ORCPT ); Sun, 25 Jun 2023 06:53:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231705AbjFYKxV (ORCPT ); Sun, 25 Jun 2023 06:53:21 -0400 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2065.outbound.protection.outlook.com [40.107.247.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3E77121; Sun, 25 Jun 2023 03:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XGA2sWgYyxqYCvCM9SeQIXmnu9eUybeCc0cV5qFIenJlVUjwZ9h/ICRqPeGXq9s2LdYzdauTdfsYbTzwV9pzeM2xkAxHhGI30GxSmneGe0dQTNBFAFBn+w/B6zFJJnL+A0Opta/TMpY84/zo3svo029sStcFLWTcpv/R72/uPdckPO9+TPl+DvF68nWtupsJQ4K9Iv09/8qovT4NjEeQ17GhhJofBBmdBVYUyFdRf2dR7dJJ1R3vsHxD8UHpDzvV5fgDVSQYsRPqijfjRuzwn8AyzPc9mNiVuXGa4vx56hknU/yVtmHBmEZIh98Vpos/LWkx/XFY4cLuESpcZ02dyA== 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=KpqqBMfLcuL+YNIVWlJIJIH67bxh7RDN4TV3udwxOXWNcJ+CzYuEGKwdMVnYyfFFJ9a5i+KT1tsa/U9gfYp8CbVpeitPFHw9zEcOsVx7FoDn4FKg9oxXikVoNEn3fc7NIYL4SwVXG2FC/sqeYafvu+HBadkU4rm+lrn2rZQrkL4fjhLRWUZwNjjGP9ecjXUcCmNQuu1ivrZzXjjZXkmNVqpkkmniZQJfE8necCVKv6rPabYYayQBpX6/JP+tzBib8D7zgIbXNmhMp4auQBg4m3yp/tz9zvOVBgKJhOiWTIUjOfnFFudcNBHiuXxSnQcxbvCiIGYmCGnrYPB+xDFS+g== 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=EK/UEafBp8RCciwAEhR4/oa7y8+ZXUoKTOOXgJ7tJj44/SRykfuu89nouhkJGAI45x0UL2jdWbstmJKEM6yj2V1yIpFApQaLKHijTMNODddItArNgUZpRBNJNzjjSew8j7Et61zvVaC29gjomtwUnrLUBaqgbzTI8y2rzDcQ0nQ= 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 AS8PR04MB7928.eurprd04.prod.outlook.com (2603:10a6:20b:2af::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 10:53:17 +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 10:53:17 +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 1/4] arm64: dts: imx93: add thermal support Date: Sun, 25 Jun 2023 18:55:25 +0800 Message-Id: <20230625105528.4057850-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625105528.4057850-1-peng.fan@oss.nxp.com> References: <20230625105528.4057850-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0008.apcprd06.prod.outlook.com (2603:1096:4:186::23) 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_|AS8PR04MB7928:EE_ X-MS-Office365-Filtering-Correlation-Id: e78016fb-8a5d-4073-7e44-08db756a61bb 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: +pV8RT0KxPNBOqv4J5Wq04/G8V/b8IdZWTARQkIYy00s+ty+wI5NCHckM7J3OYQ7hSf8YDBI7JYpGL7Uth1RclfsauJtEUiTP1q7HOA7/FZl8YHTH39DEnCtexV8o5RZjWp/9rtU4QcyfWKO2TVAsio7HpMhuo9VT7LgxoKby8IO2emsIrQP1QHztQ30AvRPxgza+I5/7OSz914Lb34nXpK05i5sa/NnZwn8f2a5v2mkKw64XjQqWeUVvLK+Yw4JCYHftyYM9z2fb/iGRous4QuLrpvKYmD9OspQ8puGwazOlI+Oq08w91cJlvvDSBEWNuRJ/DjwMg3t+Mlr63543JfKngxxAVOgLJ8wxF+EDcqlIS6aRL4VExfai5NLdGHmVl8MIpaRYYwnxJbSOx8qDfR0DfitnXp798KrdIcUMYYIaWt7/0F3nSIM9Abgs6T6EAz3lNAflIJ7FeLDn4hJ8GvHP/Fnepbx1Lwyzmm7qOs2vFW65K3Tq6DpyzSwqBFgD+Or27hasBVpFELRTFv3o0xth4UzPdGd/nRObHl9xF/5scb4waGKcDeoOzzQlYo02HH5vU54AAu5Fb1ZSoCsxHKHb8hrTnwffAwWkJRiFaCIAb7PN5cEChhKWkmVwfZt 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)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199021)(316002)(66946007)(66556008)(66476007)(4326008)(478600001)(5660300002)(8936002)(8676002)(86362001)(41300700001)(52116002)(6486002)(2906002)(186003)(26005)(1076003)(6512007)(6506007)(38100700002)(38350700002)(6666004)(83380400001)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7vGlfDN83Nd2mI/Xe/4sSLANaKDdCC/G3d8wGe7NRtKQFGVqfoHw2/XwvF1l7FHuFenEsiSaFAWaPE/OkQNfiqxQdFbrSM1UeMywDnjsaph6A7vqWGaX1HwmGgoZLzon6UtyfcI22OI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ATRofEFOSQ55konPmzg58sX0JNDbXh/jhk7hEBeAGwMNJhiPYOvxbYY+GJzkiJtY7X8TZpidEJUuiAwYozL9hbb3fSqZsyTDsgUZw9Jb5KxeHiIeQRaAygTXsKBEftz6bEosPhCLkHdSq6XlhrONANWPKQ1nNmwEFTGIPGsE8ZKUtTipa7NIOA7RspMCjQ8iT/oFXMjZT5XgCm73kORZR2XET1WVzirv63Hy6DyPhJlCvdNneln+XOZ7vfLaCKGP5bn1FKR8Qt1gg9So/1Ip2fkKkiitEERVWjhYli4uIfkuIZtkFmxkIE+MRLt0KxnKlDUF7LquKNGfiIEHnusBAp00HCmhGMSU3duAHDW3Hfh0WOJUwYBdX8YLFUBSHL/Qvgv38qeWp6r X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e78016fb-8a5d-4073-7e44-08db756a61bb X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 10:53:17.2627 (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: o+0JGc906WGuJ+6ur7YJTxKR42hNgSeXEJtlS0RKOgVra7gF+8zaywPp+6NTXkIjE4qKGCdYq7gSwYKbVPXKTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7928 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 10:55:26 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: 696318 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 38006EB64DC for ; Sun, 25 Jun 2023 10:53:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231834AbjFYKxa (ORCPT ); Sun, 25 Jun 2023 06:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231757AbjFYKx0 (ORCPT ); Sun, 25 Jun 2023 06:53:26 -0400 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2045.outbound.protection.outlook.com [40.107.247.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84C35121; Sun, 25 Jun 2023 03:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FnOGqa8f1EheHl9Vq4VDwFunFtVmDN5YMNkbSGXiK7nY7mzGcz4Uac1zFToBAQUpURftO4elreAIF+YaXYzyHQwerZXFL2jLxKRasrGIxtHMX3ncY18OliL/wiuYyfOMSf7jI6cK8a2rNQeRnQaWQGLmEyuzcSEPUwy/iJtGE5Pn64B/Vfdy/ZydRnxCaByIN5i5dd4SrfeTyIti48aFqUQNuh76PUlhDapVt76B0R1kTRSCo4kZgQFMJy3/FHWV8nWHKpTMo5E5Nz2+kKIGFhWYSXdGtTbt/4tOl38cSwJaUZhw54VXz3joxneS3K54m1/caGdA5yD5w88mGE1x9A== 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=MGMQhduVVBHZOyCUDAF7dW5L/lPgF23S07u8KIGJc69k3/sHqmScuYVdX6VpVV3ZyOYqCeIk+fcdxKQQpJMY4RjuCR8OGj73EeAGiPlpsIaz6wEiFwv+wt5cspp4jLSqROwWPbgttyRxzia1CSYVlMTrKE2tR0P4V3E5RCqhBwRbwfHfiipX3XfKzLEwueIE50OM68zyd4mj2iWWoFDvds4i66+tF/IsInI9Xglef+xXIoUBDcO/S+94YoJnDhcmGAd94RWcsh62bcJPAIy2/D8WQnh3lHfUg5XFTVpBwC8VEYc2GwJ7+YZH3bE/FbGWf43UIAfuQ5XHhMJhdRy/DQ== 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=P796TU49KYEeXEhauzpdy1Eux5j3FHm2GM4sL/4+98BFu93SLpgxUAPu+zOtims8HAGtmVpeBP9xOsx5/CClHsCTss0NKy+vNtJgMvAtORupEUqLlbQoDHszjXAFxK0/Pcl80vO0J987BY4B5dJDb3rCRxizOaobj1CTFaisL6w= 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 AS8PR04MB7928.eurprd04.prod.outlook.com (2603:10a6:20b:2af::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 10:53:21 +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 10:53:21 +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 2/4] arm64: dts: imx93: add cma area for i.MX93 11x11 EVK Date: Sun, 25 Jun 2023 18:55:26 +0800 Message-Id: <20230625105528.4057850-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625105528.4057850-1-peng.fan@oss.nxp.com> References: <20230625105528.4057850-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0008.apcprd06.prod.outlook.com (2603:1096:4:186::23) 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_|AS8PR04MB7928:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a7bb3db-b111-4243-ab16-08db756a63eb 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: ERQu30xf/JpSloY3l4YTiqtv4QXclPPCaK8WbZN3CAOh2Eg6wCZHT64zciD7Co8IUBUMef/2+KmSlwtpz5bKD02jhRnvrbUi3c/5bHpxuMVofoYkbKhJ6rleeyJBnY2ENA2SJ4JXwJ5ivdL5M1sgOTbW74Q+6LFUaW7XQFwqKK+E5OIrk7YLkaFUQzb1aQxVqvflHwQyNfOb/86BVp9Gn6cEmQncn30DdyY1NRfkkQNblQHNYd+sat/nsS+TxPFi6S8Ff3zdHlEiV9xipC8Y8af72NmEMp7InURRr243fFwiwMP27ceFljhmKlb2rnw0MfyJYqel8Ga5gTmxWsm4cRxJU87pyES71e5Nzd2GW8vyWAvViTkQGBqa8666bhoyGu7sZzp41adoDvjYyA7K26AH01RbiiCxYusqvMlcBURoWC2p6tuOE5If86EfpAM2K0sEzW9W36viWYD8uuZyp8u2ZgtXu55c0+9KX/WWM5VSm8bEq3MWttsgKzTU7/ZGUPFg7OBinn0O4NHjkg7tWdTiPRofdVi6kYS6zolBnqmGWSw7Sajc2OhNUxnYNY9FcXFPBHEDd/vutyqdhqbAPcbVr6o0I5NZUtLpJg87g0pAZPRespL0BLkNoOO1gN+k 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)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199021)(316002)(66946007)(66556008)(66476007)(4326008)(478600001)(5660300002)(8936002)(8676002)(86362001)(41300700001)(52116002)(6486002)(4744005)(2906002)(186003)(26005)(1076003)(6512007)(6506007)(38100700002)(38350700002)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h8r5wUmjNqS5MJR7E7+pR8QvT61k9o/1nRdB9pF/GRnt37L0EIuawa4UaTitQZBD5uCCoxIWw996v4ApvnkrmNxdxoVKg+56w6rytozR4dA44GSZjsZ1SgoVJSDlzFHQExIaKQ1nVLpFec5I3U3U88a37af0iDVtKa+bFw15+h6XnJPJOZAfoHLOS3vFl5VWPN7k41koB3nMykjLNM4dQctosBs+x9OxZqLiruIrjV+RhYFe0Hg4v5sImAvHAnRB+alYvtpqW7+cszrAv2nitN+bTS6zCijjVDpKWxq0WQwFJIz5T15hYl15JfGV4wnEYD5GdNAPUKFhJNiEHMHUaF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ZF/TjjYpVfnKBgZXIax5qJ8S/3XuRvYWVAPLssE5tL1ALSzk0yLLK5UKuJXU8Eos6kMeLVPFVxn98KwFFcz9zMSQpDfEiZJW//+6cOxzKfD5s030wtm3dU9UgNPRx4RO6XrJS1wv7jRlqg0E4YTGjBLtwEH+wrsFsO0xiiVtDXsPjXjWQ8k X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a7bb3db-b111-4243-ab16-08db756a63eb X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 10:53:20.9496 (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: kLCPeUzn6CBHa9QaJewevyePX227RT7lLgpj6n49DShV6H3xWiKhGHmdYXeFzhyRSN2G/9sNtBb8RMhWlYE5ag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7928 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 10:55:27 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: 696679 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 06514C001B0 for ; Sun, 25 Jun 2023 10:53:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231882AbjFYKxh (ORCPT ); Sun, 25 Jun 2023 06:53:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231782AbjFYKx2 (ORCPT ); Sun, 25 Jun 2023 06:53:28 -0400 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2045.outbound.protection.outlook.com [40.107.247.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AFACE65; Sun, 25 Jun 2023 03:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FQaKtGM0ypTuAccCYa3MATS3mME2CLTu8cZZXLzaSfXaezdngsDTns0ssQh3ZPkMyx7oGbV+IE8My1cJmLuVkkjg/mEAzkJ5NZSy4e2Fm+AlLxJwWrZPOpP1c+ocKLuM9boTiaPA9OdINYVAOIf8Pd9mGHnqIOObg23WtoDColHaDMSMaBeRPAeslX5rffTlpfRD1glj6ZfruTKBvTPBEVD74ruZH2J3Y4uz7JsxrBOAGqi0iSHn9pN0IPVmofhOEhSfmcUk5UcQ1jExhYjDScGz3A+ZrwRCXKPk2jum57t4krBkOVEOgBQId5VmE+UnYuYxpKRJ/3zZt4pEQvjJ8A== 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=0t7pbEf5/Uzs3rhuH43fYbuwS56JW2Y/5FDf/X+BR2o=; b=VeWh5vnoQ7bzKaxvoAc68RkCJSF2qjY27pPjJ9YtxMCxhq+DrfR/L5/rmbf0nZvJjaM0wTXoE3jkMOogRCDhN6DyxiWqE2ZeQMiuPDBfy3FhQt8SItxPQ+zJnkweG1ukLWxvniA+WBQ960aBOMLqSRWtiDsCf72yr8e9yejmoTSFtlX7MVDuLdHkMSaDRyJMvlM70zRToMzPZORcKaVcpko6xOIShGQ7vbfKESY/1356t4G83SvPrCT8h5Xnu9jknL/0HIP/cFgGJQ1q2JxLkC+KuK7JpQbrlWJGY090KrTvTuhVV4SqfA3a0u9ACg28CcJAIxjwsJSr9LCpQS8Cew== 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=0t7pbEf5/Uzs3rhuH43fYbuwS56JW2Y/5FDf/X+BR2o=; b=NoosbulWPjJkgua8H/wUKr/PY2z+dRswTLMF6jHaeXYjmF7IipQw4nUOIwy336o3+7Mv3whmLrrAUE6UERpnSJ/PtyDLpeLusKphhxZ2bB+fmdMT0I4KyPzolOqZSJAJbuqcukhkogCfGHYiOlRLnckUOIdVFVr61B+QwAg+mZ0= 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 AS8PR04MB7928.eurprd04.prod.outlook.com (2603:10a6:20b:2af::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 10:53:24 +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 10:53:24 +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 3/4] arm64: dts: imx93: add cm33 node Date: Sun, 25 Jun 2023 18:55:27 +0800 Message-Id: <20230625105528.4057850-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625105528.4057850-1-peng.fan@oss.nxp.com> References: <20230625105528.4057850-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0008.apcprd06.prod.outlook.com (2603:1096:4:186::23) 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_|AS8PR04MB7928:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c12a5ce-ba64-4e7b-78cb-08db756a6619 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: rkvccJyfHz43ca1HkKEA8adBKp/U0aiCsIjmuTXrA0rDhokoepDuT6PAltOdh5biJ2GG4xA2a+02WPpBEUgKsNbC+2QtJKqvApwiEwBVCcmUSly5XWjfoXiEzh3iG9xZbtNoIpRcsT1phjrc/+yxPo7kJzu+h70XzRhfv4GFmudcw7rt9BMafEx3RZhQwLYDBeB5D6xl8/nRg/QAb7PY3QLdgDJa4MNU5zxcDxEbmCPEHcFaBIxJIOlDRFn4MCpolCg6aUpxMd14fvgI1nMczfKqSQssSVbYsjRVfRS66EaFIF/6Tm3mESUh4QLXDcYfRtwqgMI8WNfJBOfq9WtuxfDs/NWw8mO4cBFaXFeYDoakRzaOWuKyb5jT7iFWFt0tCOh/oocGFfq1X2ws2L71CZ8uZPKiLbmrK3vnAy0Km1AI2J6E4FKVvnZ4+F2t2K81ouZdmgFBQnYdZtiCFUUrKPIgA5iIUi0wX894c2TSVqV23BmoO7hSA8XHPe9yQffO7Urhd+ScaLKhaqLMfgv6fYuZVUd/R5QfDRBRWpNqBF7HK2L/7n7yR1gYI00G9g3BzEoyEaFhY0RVFpEG9YLuocphBlC5zAcH6ILp1aKWoxrPm9varKf/fSzak3+ghDTM 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)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199021)(316002)(66946007)(66556008)(66476007)(4326008)(478600001)(5660300002)(8936002)(8676002)(86362001)(41300700001)(52116002)(6486002)(4744005)(2906002)(186003)(26005)(1076003)(6512007)(6506007)(38100700002)(38350700002)(83380400001)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: U9JrP3ScybO/zItg6u/2d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TT51nYmMIXh5HJhA2RE5WMxRaLcSC2FK+zbhoXY69Wy6ClkI9wLlSPrxlSQgT92SBFtzd3a7sqGY+lxnVxtQ08AgGJEJKe1DOo6x9JD0W3WDpBJ5Ro9wGxSwYQsukQi2URWhGOTCfDCKKTLE8d5oIVDo3rPgqe+GU1/sjWkARWpJZQduDQ4ZWN1GECAMbPKMDsxxuiwtgLwy2kUOEOOUcQa9PtDuDY9z5RfZW3/GzKGTB+qEgKvRkSgEg6dYGDL1jSTOUKPod9+4mXFe1DjZxfnsnkjkyV9WSoPU7YmYsCE8+7ZVa75YIvbc8L1qL8s7+SGcIoOVJtzroBE4YWlAledcUGbh+Jn9TxFcfw+lDgi18pJeKt/wHo0K8dytmGBKa+KYZ49MjwLWHh9fwzMguPNJqpdrR91dUzZWccUiiCro6waV6Ls8fChxsn15DXkvC9rf7RtGS/U4jv7gmladgRIKdf7LR/pJE2+O86jCW X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c12a5ce-ba64-4e7b-78cb-08db756a6619 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 10:53:24.6250 (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: b8LKjMZXQeg3tYPe7YFUsuGxQypcOVZXmZOA+cuYgJqigYGe1HsXLsq5vzl35tUWteqWcPuReSY2VwD5wpY43A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7928 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..06b0c0150525 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -133,6 +133,12 @@ gic: interrupt-controller@48000000 { interrupt-parent = <&gic>; }; + remoteproc-cm33 { + compatible = "fsl,imx93-cm33"; + clocks = <&clk IMX93_CLK_CM33_GATE>; + status = "disabled"; + }; + thermal-zones { cpu-thermal { polling-delay-passive = <250>; From patchwork Sun Jun 25 10:55:28 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: 696317 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 C7A1DEB64DD for ; Sun, 25 Jun 2023 10:53:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231946AbjFYKxx (ORCPT ); Sun, 25 Jun 2023 06:53:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231937AbjFYKxi (ORCPT ); Sun, 25 Jun 2023 06:53:38 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2052.outbound.protection.outlook.com [40.107.21.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1276110C9; Sun, 25 Jun 2023 03:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HsCBEZh3hib5cHAEo7EgfCgJDneGJze2drmoP+iubCe5B4kJxIS0YP1VDKQ33LfhMaJgE8Iwp02EAeA671CeyAHXvTTcMDauNfdo1BX6Mn1AbQAaYQ8l2xCHPHFw4lXhC+2L04Uojla1Lx6vNJcB9b/p2eHV+5K49z5VNDWuH4+J1DsAyPB3Lv+7QuTOZgCOe+SFt9SBph2uhmmlg3ef/yoYl4zg2GuBQ3EG3OBzOon5VUjK5/rsuge/nrVB6prMFcZ5+Nn9PbwTT3zqEpghJb6xS4TJMsm+LN6kB+UShsqdRr/JEcU/TRuvCO+chjKh8nqW7mOrqFxRZ7AGxTZIbA== 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=DdKbgFgnBfARl51AMlb9z+R9OuMo+IWD/HwWJbqe1sc=; b=CldcJXq+bIP2y8RyWEHl14J8+LfwwqAfXlYbfAiUybHFD5LtmxU8ughlOGPa2+JwgV2M9b/QpmZL2/eX2Db/SjhPZdu0h6VvKWryNK/e8CNg3pkt3bBt4zIb3stk0ClhbmeU6AJ1skX0X4Ekl/vF0m52XZz8evNaedQpsVsyRehqD40d88DHPsxxW7+WtOm3vnX8QpkSmmlVEqS+/M5mxFq4PCnWmOeGtir6hjZQQHK8pOrqI2i1TJ/jVnsxOY4U0GtW0lsF6eScEM1HCwI0yW1KZLEBtGCuSMWedYnrMJ8ScuuuDJr2K2IAZQ4/bMjkF1p1SfhXvd+39f5AoScZAQ== 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=DdKbgFgnBfARl51AMlb9z+R9OuMo+IWD/HwWJbqe1sc=; b=UcNu/6G5bkAmNkiPkjyclKZTX1ke5GOzXPvD9x+xg456OIUXGwmqmsSJDivnTFnDWLQ0DmTWlSemCL3zt46DqPTaLdOBIj0gllM0nK89CizLFZVCSAwbXodIA9XSk7U3g+VinReudhovrhIXcrq7TJKwDrEFtKCGVQ8cBcUu6TQ= 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 AS8PR04MB7928.eurprd04.prod.outlook.com (2603:10a6:20b:2af::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 10:53:28 +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 10:53:28 +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 4/4] arm64: dts: imx93: enable CM33 for 11x11 EVK Date: Sun, 25 Jun 2023 18:55:28 +0800 Message-Id: <20230625105528.4057850-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625105528.4057850-1-peng.fan@oss.nxp.com> References: <20230625105528.4057850-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0008.apcprd06.prod.outlook.com (2603:1096:4:186::23) 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_|AS8PR04MB7928:EE_ X-MS-Office365-Filtering-Correlation-Id: 2548b6e7-ec71-4595-0a59-08db756a684c 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: yUS83CvN+ItzsGLqG9bFSBUqeKbPuzr2hNKte+B/V1WWduia31ATf2RvGFOGiKaWUN1MXfogIXO9f3EKeLT+pTm39tzhFCAvelZJsVmFpakLfxNTUq1EgktbBTUNbpSnIs0I3LppZyFI2BqYBhKw4jUHyowvZ+bqjzjN1rwgGRS1ayWogl24QTzuoWlU1bn+Lw5vlfiZJ5v3nwC1VFV6R5ncJVGb1kB305r8X5jHce1flgj3C3ShBGqaJK/wZc/7dnbGiQyyd12SlCWciAj6LnnHa++leCYUJNowj2bSSGQjjp1LZJV9LMB4GjnC1cKuGUeX9iVyjF1BO6IHvShC2ng3QTQskBRC+6Aw1UhDFABz3CbapaHp8YiOs9FL6DbnytXe/INW/TlT6ixRkC/JOiKbNzqX/uyjo1xAk2J8fjBjXEC/DHk6DxMEufm5HmKMyrjpk5UkX6gqWaGBhzPPT9KQcHIpR6b+H5nmSenAZ/RHooyGRoiy014T3Ik3LQkRdLhgww2aT8C3XF0vESoYHBVtlt3ersex45VQGK+jH6+S18+V49hFodR9N4LPDNGvvZ8aVR8Ule2+EV2V8FmUPHohxDH8OyJ+cVflykFcJEonTDlMGil9O/R5b4HehjEk 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)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199021)(316002)(66946007)(66556008)(66476007)(4326008)(478600001)(5660300002)(8936002)(8676002)(86362001)(41300700001)(52116002)(6486002)(2906002)(186003)(26005)(1076003)(6512007)(6506007)(38100700002)(38350700002)(83380400001)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PJ37c7q6m4lVa1cnqwXR/ImgKOdORmmfp4uHheIUWswPlgQmxtZHClDEae4s/QPlChS0KUIn+xw/UpbcC4zcQ9zafiZNjn4WSfKFiyojvhYC8/TtQoSoElfKtfzHG5FwEiQva6h7lPLOaz7Y6zP5AX0d9UTAvedPLnd3PMPhRtTIcpPIoq7drO+k8raNBra5gpMbzERpmaHjM7akCIboaHTc2SW5XbKfOVXNrXhj7cUZU1lQLEjIqHGW8oUlB2y+DTccrhmnAQ15KzAg2rbAU4e4bao3hQExc6aBu0MDosC2oQnOw2AMgjZtGu3Mz5lyIYb0IV4+xDgkBcTXygT1NGHZdWIoE4ZbymMzPnzxRTVpn2voDV/pfOXUBUgLN1ZJaF41DHIPxPO7fAFMwm5grPT9cFoPJP6UIzXSZZwaS1nGcdTfqWZ3sv7Lqx9d01aZY6jmiJl7Ntp7Of/iAEUvdnwPWo8wnp10eDyiuIlKBVszh0OZQi4nLb+E83ue/JI+CgNW5uJMGo0yWea6dzVwv1w4sHvHca/It+9+mFBipH/wqKUj/xjWsUnexBarqdtyAQMOCoBxzYJC16PtetdfYRdkhiGVZmnncDnVuSqUMApwctHqnB0pDbKPlSxDZeW5NTbHJgHhL+gTKbO+B3gjffgEisYTi0nbPXi5z1Gz39VGMYPSG09x9MJ+156Nr6mP9avyJUPvgW1AyYCdHAfw+JbkWER5DWWVIl4B+4/uiJgmVs34hKJXBTWQ4RUbcO8y/PefVBJQo9VDiLUvA1ZX4htETrHN6hPodJ4Bpm9OCNbNmG/24v0cyE2yeLs7YfOgXuyPIiagybACrxEN2QPGykyjUGR41pnMe20g6KhPnQNqWWKRkza6yFWeIaUXroOiT5zNhkUrgdyp3U3FKaiSyhUGb9/eBCxt0/DA3vmW93F0b2QPiekf2sMbx0ky8gvXHWBuHujJFxV8smBwE4ks2RIZ/TQ84vFjkgBc2PSftHMQg3z0Ro8Vj4fowz2rTxEDn3JU8wmWFwoxiQ3yAn9CYYOa5I3oxnzn/f18LJSPJZYJo6kaodMq2wq3KorwyUkTBZuuyhNFeUppp9BG70pOyglfnHIimNQcLj3+6ugS/xMnP/VlwOIWFzTHehl0KgxTtyG7oV+s1MMp1ayl3ryxELX+qdQIQs47ASn/UtyXAffUAvE0Tme1fYRmSaZRsJGgvwm4gNEHWdy/fRhm0DfChudN2KYBAgsqbjO5MYubS4lCoBW280satjQPPIMi/+DvHr5tPdFhwYb1ZhGQ83xbOu/2p3HFVs8DxbiH4maokmnFUAwwVsTHGX/62r9Bry+ERLCYQlWMcgq+1+PiOFsS7TDfCNr2XXTQDf+XTeZ/vKa3u+LlpsxLTbApXFGkluVjN9iaDS+whQ9bmvMltRYVxOmPusKfHUY+dqys0QtsbtVTqO6C+56GLtoaYDsi7gBnfZ0OkrAlvrKsYnP79xjrDnvK61iCkz0KuyIHwOfjB3LBqzaDp6L8kT92lZZ3s8PilHjzq7OTpojnc++s6FGQ1vAJLnK2rtRb1IplfAktwguCcqIG8dtkkUfk31eMcuSl X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2548b6e7-ec71-4595-0a59-08db756a684c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 10:53:28.2160 (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: ATRkIxwXx6hE4lzp+5MCZy4ZR46Cm5gE4wy4oaMlCHZhZp0/18IWhy8OUf+QB+8hloCyHJCgIjbkqVtxuZ4wzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7928 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..5050848a8837 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 { @@ -107,6 +139,16 @@ &lpuart1 { /* console */ status = "okay"; }; +&{/remoteproc-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"; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>;