Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2908431rdh; Wed, 27 Sep 2023 17:26:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrgHOUapXO3Ur900xWRdLmopFfn+FAX9oGxSTZ7Th4kMLAR9AwUypXMSQ+AQSFJlR55sQ7 X-Received: by 2002:a05:6808:198e:b0:3a8:4d1f:9dd0 with SMTP id bj14-20020a056808198e00b003a84d1f9dd0mr4735021oib.30.1695860814529; Wed, 27 Sep 2023 17:26:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695860814; cv=pass; d=google.com; s=arc-20160816; b=H8y9mGQFQTZgGqJsxM1VK6iyDWhbKPgy+V2t/oAAy8Jwv85xS+oEsntZoJxbWrhj06 fDzE+m5JL9zM/Jbffmry/L5FkZFcrIbXLBxfcU2DZ76g1r3LpHoN7bQpEeVEgyNvWuKm FQwqlRn5sZXRASdEmBEGlZwWxlcLrKTprbp/jPk96k4omExYrSD1DbK8++KU0gCFL3g8 lkG0iqVFYaJ3fqsnOwqrzt4q7jmQXXlMTCpTyRv05gpHVzw28zBq078nhBa+ggH8WWRa B/0MrcIlbDbRU4sLZLOFDQpEdkGLx+CjR67Gr8refuifNQFBQCnAJV/i4JYXkkW/z/jx 1qJg== 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=a/JkjSAMDX3Gc080ZCuSmHDwWpO/7NopYq+RZJf/oBDJchtyCBmeGo2DyVn9zXhrCg 8csGsQE3JQlPBw+yZWqNwPvOD87ACXTmMOguXlmnLR8wk4lDxHipbbfRMQIZr1oCh3eT QY381Y6VF9C0pj82TRhWGdBmBJA3czQJrwcmgbS3gU97SI7vJbI4pkurNe6+iXmYQXpU bQ88Hziuz6iVv4B2CDD68hVN+ZzKch08+Rbx/BRjF1tNuIpkJTq56y57GHNo1MVE0o0m gUeMpLF5kdJbcN2fx+PXca2qV6/dpiR3g+Cgm5QDt7MaqmwXUyy2lzcxqjwjNwxwVRzJ 4q4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VoepL0SI; 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 k17-20020a6568d1000000b005778df5647dsi16998073pgt.401.2023.09.27.17.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 17:26:54 -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=VoepL0SI; 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 713D881BDDE0; Wed, 27 Sep 2023 05:27:43 -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 S231451AbjI0M1R (ORCPT + 99 others); Wed, 27 Sep 2023 08:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231210AbjI0M1M (ORCPT ); Wed, 27 Sep 2023 08:27:12 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2057.outbound.protection.outlook.com [40.107.105.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E5431AC; Wed, 27 Sep 2023 05:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ev5NVq03NFDhRoMb1B/Kgvn4RXlDPmA0DJ9YyoD0dgBRw6csUiorFFYsbaX/8KOoHQYKQ9TcxiUo2GlNqU3Myg7fFKsZK7kvx5e4Kr1fuRag9C1aNL9VuCKz7nwWpxbEiEok9TC9DC9IFWdq0cWyKGFjZuwt+bXr+OrS6oR9nGLbgsukOI01Xprh7HmknDbZo9XEh416hi/D3B3Y7frEeJxcYlQLG814XH8WHCpTrsOT3QR0MDxDhYVJ7S5tkp0ltOu0A8siiVHZRY98adAJkucVIMbUneKM3nZ1GbRdWtqMUHVvHdoL0oXLpfXJnbgM0JnI/uRBZcKbygrF8ZFnbQ== 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=imxQ0nH9ryKEmWO6/uZZQ/dA7bGdEacblU1APmQMrIycFe5vPVZtt96rkNeZrbjUInFAu18MsxjI+mo/SMjvp8a6cF2NH7YXt7KHHhI1ctfIwG0pBaCMoKIdScXLxsrW+pUIV3hNGbc8gh/Gl4j1xn7qQ6V90uXNQabA95n+4dha6fVeLNjOPye2Fjk3zO106nbhELfrzF6aE/zPRCrGaUeMhKU0k2a4HAxyCB/+UuwjcpK+ZWa0OoX/N3TRbZv4EKXCXxBH2/lgoqe6bGnpbPb4kBPzLBb3Hqg1MG58ylb6nDPNN5XEFX7QrLJ0am1CCF2z03QtVG4zfkd1oiWdlw== 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=VoepL0SI2hjYtjz5E0y4u9U7gFcYCmJ9+GvS8VHvNq981ok0FtSe3pqk97YG3f6qwOyzrYs8HSYOImrwcClMmZK4sZFqkPIE5QZJiXwg0LYCHmfN4qDWSNdazJ+yUSZEqKx0k+el4SJwrjTkM2v4e7tdI8/Ak6+s/m5UaT/giFk= 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 AS8PR04MB8181.eurprd04.prod.outlook.com (2603:10a6:20b:3f5::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 12:27:00 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::dbc:99b7:7808:f82e]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::dbc:99b7:7808:f82e%7]) with mapi id 15.20.6838.016; Wed, 27 Sep 2023 12:27:00 +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 v6 06/11] arm64: dts: imx93-11x11-evk: reserved mem-ranges Date: Wed, 27 Sep 2023 23:23:56 +0530 Message-Id: <20230927175401.1962733-7-pankaj.gupta@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230927175401.1962733-1-pankaj.gupta@nxp.com> References: <20230927175401.1962733-1-pankaj.gupta@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0128.apcprd02.prod.outlook.com (2603:1096:4:188::20) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8630:EE_|AS8PR04MB8181:EE_ X-MS-Office365-Filtering-Correlation-Id: d1f9ea1b-2a15-4d66-ee6b-08dbbf550bd7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Yis4HJnmv7UMirAYJzBNlkH7QUteBZX3rEeVXvsDF6/ytMv6+DjJMTUf1fJTHyWVZmlTekKw/RMgd6aK18nwnu96+fGREe4+/ZrDw6Y4LG5crdTA80zwP0iUa3p0fQ9Rzp5r2CBUiSV+rRZHkzkm6JkTlOZFef7aG/kHESsprYav7Dj1Eb16qkJN3uy4797vdqSrplcu8SNBMUlQYAnCL9QA5MBnNkoG49YBzG9rHScDlO8J3u8uzrB1k3okNdDeWM13wj4IFNIGnQl6kzMXumZvSETcjI8+K/YgptZzBNaaf6jtVUTtmMbIPruIZPBklWTGn8Xl+EeWVo9Ji3uryl4Xy0zY1JAA5H9AyBjpgp+NrTevwL0MmltasN5Z3vC/xuu+hiImmxZPSZgyDBffYYL3TjC0H4kOitIh2pxUDWsg4SxDHiTp9gX7s9nRbQuOSSdjnOdKWveDem76k6iNMp5WFJnxRFRDfkjv5tLFF3weuIps34DK9dqkVkoQ+VePd4GVEKNb0fJr2UWqFNgY8cjmMDoI57tZwof10Z6YfS1q1KheAI66lMoS0rxa383CCOvOrotZPfd2dewBx31y+KaCCr5A04d2/xZAL3FCAHpJZpgMbv1D/5t49fG75KxC2XYptXxHVgLbabAHCWkv0g== 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)(39860400002)(396003)(366004)(346002)(136003)(376002)(230922051799003)(451199024)(186009)(1800799009)(7416002)(5660300002)(316002)(54906003)(921005)(83380400001)(44832011)(41300700001)(6636002)(8676002)(8936002)(36756003)(2616005)(66946007)(4326008)(86362001)(1076003)(6666004)(6486002)(6512007)(52116002)(6506007)(66476007)(66556008)(26005)(2906002)(38350700002)(38100700002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zXD2BJU07DU+XmIp/i38v5JBNq/OzWFQuNnp5/xFppFpl8eziSACnRaVMqLP?= =?us-ascii?Q?wqcAuPJqxNNUNxkn3oRIe/yJ8wHsG5HxlAFRM8PQdrGf8fKyjpDinI+BZPX2?= =?us-ascii?Q?CWHgH997ttbJrMvVsBkL1c6VFVaO75oJFZzald/OcZk9I3If8MUrB+r9ssHu?= =?us-ascii?Q?k+55nfyy0wIdm7L8YQolA59lPWU46W/9D3fE4rEQGDyqCzea3NWSl015o/FJ?= =?us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2UiuRdLYl41+JhQOxH19uJrBXHr0Omv/x8Si?= =?us-ascii?Q?S10QUxg062Dnl0BUbI2b4oCqM2pvVxLW5mGgcFAzF9hzN7cFOiHacHgW6Iha?= =?us-ascii?Q?n2BBTRFjN1fWjPGt7Wm+m8RnvphSvMlgzjmj3QMMyXyscyI5wsGhwOJ97KkW?= =?us-ascii?Q?adu1KTSzuANgKaBpf+cUE3HqNbqfKtU8s4aHK95MGZKh1abGffWponRDfUGN?= =?us-ascii?Q?5XEinn1bYk0JbgDKwYapzrwSYkG3Urrnn6Ac3yvaUlm2n8qPT8dzUkM5eIEk?= =?us-ascii?Q?1AubaBuDO1/uScwp8+FJA5+rU17FJxQmIeHcaGnHoAZnlPYpKq9s83fxUdM9?= =?us-ascii?Q?dta1vjX5mC+6+Tqt/PHeSisF9j1x2Qvs6HgdkvGS7D39zCdXzN573iGiS71j?= =?us-ascii?Q?mq3KgIY4ZLCqUaB5aPNiVdFDmi9ANmE3zkdXf9e1aBZRSiKqntfNUlhWnxE5?= =?us-ascii?Q?tk/+nDi+vfCj+89CBD+/QAOxu1sUW414+ZJHPyNu?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1f9ea1b-2a15-4d66-ee6b-08dbbf550bd7 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 12:26:59.9747 (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: keYilByZmuEbtODY/9+wWVIF3eGehk1CA4B+v4JIZTv1d9Q7I1V+oCMIxBWiwR2Ds55nbuSZ96OIBCAoLGFmUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8181 X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_03_06, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=no 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]); Wed, 27 Sep 2023 05:27:43 -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