Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2627214rdh; Mon, 30 Oct 2023 03:02:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8wEqkSt5TiKVYJY8JqsACF7tr3RyHjPIpb1UMsdkNTsxfGs7M6opf7ng/pe4N5vRm9JWX X-Received: by 2002:a05:6358:2608:b0:168:ef9b:6c0d with SMTP id l8-20020a056358260800b00168ef9b6c0dmr10273661rwc.32.1698660160020; Mon, 30 Oct 2023 03:02:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698660159; cv=pass; d=google.com; s=arc-20160816; b=0aWYVhp5PyAyruikvHgjTq9ws7RPyyCmCN6IVOZ563VuMbr1Mq3x6XfqXx4AyAo+Y/ FPyDfLpPHSJ8cM/a6IrAWvwVCHmT+ZCYkZgSgCBwWkv5c0qfKayP2dqJJTrF6qFX+RtB DNLoj36m7Hq5oolJmf1lI+kUqCVEQuxRgUXQTSh9FuPDZ9E02ApUZYx7mEBtwlXtvoUU DPkreobni6lgEx0QsaZHK8Kt75Wqz8ckx+nhujloQg1CI8yv4kO4Nwz3rLUuUZCP6S9n Ack7qihdEsTbs4kP44Q9fy5Gw7/J/Ofv48eKYgu/sF+z5LnB9QZkDZBm6BzKTlTjJDwp 8qbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kkxK78kc0GzJ1PAmyygOuLjTJ7Q7J4gC8xHgZpVpz5g=; fh=9EixoLGWSW/V1kHvf/UsMmvXwKFucI1ihymg0Jt023w=; b=tjmp+iz2PQh4SKZw4O2cxSwSQYGmXIryjxtvfd+Ifw9SOWP2quWi++gj7V84xeNZ/o j/qKdyP9lYOOM5HMsxcUUb2i8qH3//Z3Dj2LMoXtHbb9hWs1ZeKveRuiMs7ZScsnbGjt t0WNwUTF92L9Ydbym/l8H6NszZ/lgGyhtkaAPWwcXk5wQAxLQoScKn72FPUO3XDWhaht cUzjksYN83ExxVn6m3HlT4jcVODRPTxLsor7DCPeYKSC7jD8u8/XELJjh5Ck3bF4hils R0TNMMJQm6Q9Ugu4sN/hzqMhbsLNdW4wXKnTdeI54GxBjCxFy+mzbg4pb6sjYWBZr0R9 /BdA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=baeBXbhg; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b134-20020a63348c000000b0059cd78384fdsi4804571pga.222.2023.10.30.03.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 03:02:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=baeBXbhg; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B164C80C5927; Mon, 30 Oct 2023 03:01:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232881AbjJ3KBm (ORCPT + 99 others); Mon, 30 Oct 2023 06:01:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232783AbjJ3KAx (ORCPT ); Mon, 30 Oct 2023 06:00:53 -0400 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2089.outbound.protection.outlook.com [40.107.15.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D4251BD5; Mon, 30 Oct 2023 03:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LSYl6ZGLYirKSmJp84sIDUB3rsmUqgT7kO305+Uu+xgzstghhPOXVY7OdjoIELYrWNIOIUNFq77+xBYErKD4skT61Lp7JHPcl0XViAim2oTSf4sHN7v4cMh9hyf0Ir98u4JNsQ2rYoGMXLaHPuesDiu009/AQC/+47vByxJ7RBHZ+c5U+8pksySMkaza8czUqne09ZJFnhaPIstWojFOkKRfbwI32tP2ONlgY+0lkwYjuU6hdt/BxHmUgBCQUUJkjikBCfk30SYrEK6Xp8FsI3GPd8gpKALQzVmnFrm3t/jQjCFA/DnrziN1AfPdcwdMpeeA9EpYlIzZWfAcSgtjvw== 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=kkxK78kc0GzJ1PAmyygOuLjTJ7Q7J4gC8xHgZpVpz5g=; b=J+fY4uqiyu7OnqtqhFcaotoBj5HmBSqIqaLxcwNL3PniUftNdl23isvhp3LmlVA84Gv8hWeLS+zKt8hFcGfkzq+1FEH3glw1ZO+Qq+escdONFd6bhKVMixjz1Hy++2b9sdTC2UQs3qxrXQD5oSZvmvP4S86Ovycl0Gn96sbbSIPybtb0iyVmjXGDkUDcHRpTbVVPlyP9krecQFHd2WylPN3/kAgtcqNI6tFxa9MrcGGAQVSlTJhntlN2xKO/lbxXFGm4KCSSGfqEQgLWZaSAuuCHjlfvoyGDIExKmM8U0PL1QNWd5oJwPMqKCfhaGWGWCmgJcWQe3AoELUXITBQSAg== 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=kkxK78kc0GzJ1PAmyygOuLjTJ7Q7J4gC8xHgZpVpz5g=; b=baeBXbhgbaVoyikyHQEY6AeMl480xKnF3HGa+rW6bvAJ1tk9YHxGN0GZJgrdAT5Ot96C0xkCn5FU/fdh7mRdcoQSsX5MAUSpRYJgANK+OIjGew8LduIE3pZ7KesQqtb50032E1raarNohMbTrePwoFVakfImVrGcR7U3tX5u2ZM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by AS8PR04MB8513.eurprd04.prod.outlook.com (2603:10a6:20b:340::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.16; Mon, 30 Oct 2023 10:00:01 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::9ba:8e4f:1465:9351]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::9ba:8e4f:1465:9351%4]) with mapi id 15.20.6954.016; Mon, 30 Oct 2023 10:00:01 +0000 From: Pankaj Gupta To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, clin@suse.com, conor+dt@kernel.org, pierre.gondois@arm.com, festevam@gmail.com, linux-imx@nxp.com, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gaurav.jain@nxp.com, alexander.stein@ew.tq-group.com, V.Sethi@nxp.com Cc: Pankaj Gupta , Dong Aisheng Subject: [PATCH v7 06/11] arm64: dts: imx93-11x11-evk: reserved mem-ranges Date: Mon, 30 Oct 2023 15:28:44 +0530 Message-Id: <20231030095849.3456820-7-pankaj.gupta@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231030095849.3456820-1-pankaj.gupta@nxp.com> References: <20231030095849.3456820-1-pankaj.gupta@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR03CA0100.apcprd03.prod.outlook.com (2603:1096:4:7c::28) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8630:EE_|AS8PR04MB8513:EE_ X-MS-Office365-Filtering-Correlation-Id: a102e838-5927-43f6-6382-08dbd92efb7f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3e338KJ1PIA5YruDphHsqxuItJimJ6/LBDseMFS3sfqplLo6R9muSnowYp6dRjepKLqXWCFuPnBtcVU7NVJVHXp0TBb7Q4IWIsy+1CnwQbSoJqXqaDtwckv0EmItEBtpPQiltqSPrAdRzmrq2RzHkHb4lDJR2SlUOCmHRz/TZwO9dY9WYQD9d4v1LWaUltfrWqmXMRIf/QO+bjkvGjzGFnsmwShGTcECFQl3Fw4QF201N7R6CrmZdVl2btdzqj56gvBrWclllKVUj03VqqxzY+f/sxeo37p5vXk9Dqb+D1YsFp7HldUoTnwPLiNxQ+7nBR0KKKNwU91SFdlWiFStLlq61igCW/q7pnWbBT62WWKWZo4UpymURF36ParGVGqMBM6vZ2zWrR+makhacsulU2bOiaR6WJ/F9DlQwPrivS2LXESugqaGx1psERKakVDq7okeYURDt6tGvUjPGPoAushDJfwJ5HNGqwx2lT+KEWnlbJm/YdHFUoMUlIr37MWpewV03nC8aLijBdLBR4J7/62IP5b8eLUDGFaRSeZWCfBxvB8owBc3ZaDNsvEeWk/jCNoio5LdB/FAKm/i2AWQ2HCtLtP/btkwovqvfio2yrGS9jr1DYxxiqd0yCBtxY1xdouuojmkxvTggpKkUHsJDg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8630.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(346002)(396003)(39860400002)(376002)(366004)(230922051799003)(451199024)(186009)(64100799003)(1800799009)(478600001)(6666004)(66946007)(6486002)(6506007)(83380400001)(36756003)(38100700002)(66556008)(1076003)(2616005)(66476007)(2906002)(41300700001)(26005)(52116002)(6512007)(44832011)(86362001)(38350700005)(921008)(54906003)(6636002)(8676002)(4326008)(5660300002)(8936002)(316002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?lJohgmzjIswe418Nth3jSCvPHhjqIqKsYFITdq2LIOdOQ/7hCl0/7MTmDNsx?= =?us-ascii?Q?xZVRIvDlv12wBeJbBQi6KiyZVU2o4W7MBm0JdqZRX9p3pmGv01jOSCAmMU9B?= =?us-ascii?Q?EZ261isU2sSXzBL8UyOIQaDTyBFpL59EXwDVxZPrx+KBmpP4FwJwI6o2IFgf?= =?us-ascii?Q?N7JYH0tc7FL5pvlMqPPLRkjqJnKECzhdTJuVyt4EFdk93bsTEow9Ke0iH/F7?= =?us-ascii?Q?qJXXIJcYNoR/+G0x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Q?VTsxxsjc8sisA3JBU0YjTG0dJmSg+GEYj4BzWaS8d7TtW6EMXS9IRGfCW+Tu?= =?us-ascii?Q?JgazVWlJahE/5KZtqACOZU3CscDuAA/GWipbh/3vmGkcArZMxGlIncVNXM0X?= =?us-ascii?Q?5hDkuci18XgJmtTTVeYIwnxZkGjFUE5einEm1+Ust68nLqcBf1s1IxHbNFTJ?= =?us-ascii?Q?Zmslg6AYK94JCk0VbKQS0jcwRroxvbD+g3XPhNLHjF2KEs9SWoKffpFmL87/?= =?us-ascii?Q?UfD9D1o3jMwnLFSHx3Q4WOjnYtq9fbF2uLXwlnMa9i384V358CmSp/7X4w5F?= =?us-ascii?Q?M8QIamKDcRh/doMDqIv6WLY7IeRP5anklZLebE7odeF+41+eZNpH0pl+23+2?= =?us-ascii?Q?DRghNidCBrzp9dzDcjKLfGTFygRABB3GFc7bSjqMhEUuW09cUDh6n6bfon7E?= =?us-ascii?Q?s0hHzMiri3oTTn8JhEgwXp/1VKkCb9KDzPAaYltG?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a102e838-5927-43f6-6382-08dbd92efb7f X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2023 10:00:01.7355 (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: nGbw5P/LMNABCTZePFH9f+ri60wUG6paNmqbri86YYunwa9OFnrPrX3hDW7Sss8o5VcnGMPBHR+xfCtc8s2ONg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8513 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 03:01:45 -0700 (PDT) EdgeLock Enclave are has a hardware limitation of restricted access to the DDR memory range: - 0x80000000 0x9FFFFFFF ELE-MU driver requireis 1MB of memory. In this patch, reserving 1MB of ddr memory region from the lower 32-bit range. Signed-off-by: Dong Aisheng Signed-off-by: Pankaj Gupta --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index cafd39130eb8..bcb4ae931c64 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -7,6 +7,10 @@ #include "imx93.dtsi" +&ele_fw2 { + memory-region = <&ele_reserved>; +}; + / { model = "NXP i.MX93 11X11 EVK board"; compatible = "fsl,imx93-11x11-evk", "fsl,imx93"; @@ -68,6 +72,17 @@ reg_vref_1v8: regulator-adc-vref { regulator-max-microvolt = <1800000>; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + ele_reserved: ele-reserved@a4120000 { + compatible = "shared-dma-pool"; + reg = <0 0xa4120000 0 0x100000>; + no-map; + }; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; -- 2.34.1