From patchwork Mon Oct 30 09:58:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Gupta X-Patchwork-Id: 13440339 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1ABFC4167D for ; Mon, 30 Oct 2023 10:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=slHYEJ8DzjeNH5KjDybuMSAd08TkNrBP2UEQDlpsUJY=; b=xElomJqugE3YLz kNrQS2bFa65O1MUL3+smWegeXErHlWr92SsC99wDimSKniOQBO0eXmaE2h2RIzQ3iDhb1k+F/IPn5 qutcFbFtE+zU4jtPmIatYXMpxbqM1SlSfPqLlqC3nrXoUF0Cq3muwRpG9Wh+zJSTsIwyGTECh3Xs4 IXfuWUi3ZrYrKkq/CDzuzBZra2m/KYmpx7hRX4641Ut+O+bbL4mqRulzoldCbc8MsZEZSNVem84k4 jQRqV4cW32MYC446ILrLgvk7KUyYH6Z4+2uJy7uXxrdEj3CeP4ZsuVACZwUv/yKhS0SAzpSyx4xRG BL1h1kSy07hhEyyxvVmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxP4H-002xvv-28; Mon, 30 Oct 2023 10:00:21 +0000 Received: from mail-db5eur01on060b.outbound.protection.outlook.com ([2a01:111:f400:fe02::60b] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxP43-002xn5-01 for linux-arm-kernel@lists.infradead.org; Mon, 30 Oct 2023 10:00:08 +0000 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> 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: lJohgmzjIswe418Nth3jSCvPHhjqIqKsYFITdq2LIOdOQ/7hCl0/7MTmDNsxxZVRIvDlv12wBeJbBQi6KiyZVU2o4W7MBm0JdqZRX9p3pmGv01jOSCAmMU9BEZ261isU2sSXzBL8UyOIQaDTyBFpL59EXwDVxZPrx+KBmpP4FwJwI6o2IFgfN7JYH0tc7FL5pvlMqPPLRkjqJnKECzhdTJuVyt4EFdk93bsTEow9Ke0iH/F7qJXXIJcYNoR/+G0xW1ZUdWJOp323HkFpF2Zpibu30nI0Fp+fBlTmlIOvNoOdNqD1BGnr7QkR+sRBodfCmxylSx/VT4IUlxp1vJgTlSrXxrHHRrDwTdpcqEox+IQ6ir6leU8Ub0yNqjPgsqu1s/MfE2Vchty1WWiuvJPVT/kEzD+3EeI9X36yiCx8z+pwumv9OoLpQc6w3ZNJ1X0kVTi7Jr19NmOqPbxUy1s92AmBTcENeqOPaBM2s7yHoAa5Ykv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ginatorOrg: 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231030_030007_046482_4B292A59 X-CRM114-Status: UNSURE ( 9.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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";