Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2626434rdh; Mon, 30 Oct 2023 03:01:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFM/24ILolGVnK+OWST+ir1KU62y9u2qQALGTWDZ7F3PAl4kdnwvquYVFQX4ky9+U7Efq68 X-Received: by 2002:a17:903:1104:b0:1c9:ea6e:5a63 with SMTP id n4-20020a170903110400b001c9ea6e5a63mr8994991plh.32.1698660090482; Mon, 30 Oct 2023 03:01:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698660090; cv=pass; d=google.com; s=arc-20160816; b=ubq9CHLO9EJXg0DJehXydtxhuTLpTEbPqyPfC3fD856N2/5kcZes0yqMz0zdbbz5o5 Dvs+Yk4fpFfU9AVVT8epMQDJl+pgj0q4zM8LnNU+qgQd+Z4Bpt+ALwfcUQRDfBsUtw+g Hc9nYw+e89YPBbx9LK3tXVRSFRtrwvclw3W01xkfBbpXNEV1m7uUowrUg0Rhwp1XpKCQ /5mtXZf1N/0L3AHbjvR85ILmv5PG0wMejO0ugkdHZXN+hv80SdlrKmnd9jllznA5NCfT CLWVb0evCWh7NDEnfRxyQEfLE1RPxBu/lxAP+NbV7pupSULNaY9v/yUXGpYq6Pl0CmXG lZXw== 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=akBPLowOSUrhs+oLGHxOe6fnx90X1v7778B2B188qTg=; fh=PhkPLZHnlbS6I+4VLYKKEzEfaQxz9t7w9SK9rKaz9As=; b=0wWluCSeTdssEeAL2bY4Lm+KhlirbBfWl5xIQxXa0sXgDPl7D++5ANxGn+53BxKWcZ bt2CVA0rxG9N3n0rQoOieQEk1XYDbt7jWYAYtNdEaCuDzaRFgBTIYw+DW+ju5jjrddqr MhsRIyE2/e1trZGdmx9xAQI7boWO9OV0nV79kB0iZeikcJr7VgBaj2+niuH5caxIrFhd W1g6Dav7y5L5kxToDqEb1gO8MpZkZYUsTvxOnTsLThVObwh1OTK1J5FBkYOoAKKTdNtk 02I8CbE/CIkHmbliEf35EOHxA/6M/PhHUG37A4eVOvtuc9h3o+OGfBqWfnDBZ//75jiC xuNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=XWvNtVc3; 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:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id kl3-20020a170903074300b001c9fe071f2csi4728131plb.105.2023.10.30.03.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 03:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=XWvNtVc3; 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:8 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 fry.vger.email (Postfix) with ESMTP id 09A4F805F400; Mon, 30 Oct 2023 03:01:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232622AbjJ3KBG (ORCPT + 99 others); Mon, 30 Oct 2023 06:01:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233080AbjJ3KAj (ORCPT ); Mon, 30 Oct 2023 06:00:39 -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 2810B19BC; Mon, 30 Oct 2023 03:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WQ5qGShrg3YjVoZ1ebBXNGDEuBjb2YPcV7oZjDdRPkukeyhbYiZWvjZdcwzx/tMQvsaIzdr/5KVuqWb8WXnEb0JlwAXsXaO16sFGT5nc2Z1VqAQYtE+ord1SpAMYm1PVUs8W76rgy4u9hHqChpIW9fcYBJEl3CyInUUJMDg33GO+60OylCySaXsjiKzORvq50pw14BAy1K7fcOFxH8+jYbjBB9JdtFBhdXCHVnZ3CcAZGvkvtS2fi3rW+GFmWxW+3KVPCFqE+96XcadgUxQtMFXaOSVBjd9BU/vQWK4il0t+c+SeGjGJHmCY4bR1JIKhYjQmUKHZq4TleXQl3aqzyA== 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=akBPLowOSUrhs+oLGHxOe6fnx90X1v7778B2B188qTg=; b=jgUDuKxfPFHzx9BbRx227W/NuzIxpp5oKR3/aS6DQYIeQoE6QJ/52GigmJL5eH2AaWNV8eNsRe549EpKbvQlKNzlzl9ic2Q9ZeRtmfJGtYsSegafjDniJVybbW5kaDbyxImEkaN9tnoyuWor1GW01MAlwvloUedzLz7cHayByPqhYVO4snFyQxYoIOM4NyJ9pGg6e5WmN/CR8dRoGHAu4tO9G04pxPCycA5U+6uj1gKZXSwbubBqv9dhDb8LiaISvQhWXiKjnEznB9IRpDGRUFsJo1GuJe9EyGX1dLQLdBMaCs6O5JvEC1V4Ty9Um9mo9GknlFx5vdyJD92bgXaHAw== 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=akBPLowOSUrhs+oLGHxOe6fnx90X1v7778B2B188qTg=; b=XWvNtVc3vxcqrLd/TTPS/XBC/x2va9fWMEI4Eq8lqIVWf4ianQjq2U3AdIFe7hzX0gfxm6MT8o83EId2V3zmIltmUPmLy/s3RuZudE8JRIOkgHb+zdvKV+a5Alz98kmfJJj1Ims2KxxbsZ+2rogwez687Dwf5eT1uSLcNidU6xI= 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 09:59:45 +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 09:59:45 +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 Subject: [PATCH v7 03/11] arm64: dts: imx8ulp-evk: added nxp secure enclave firmware Date: Mon, 30 Oct 2023 15:28:41 +0530 Message-Id: <20231030095849.3456820-4-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: d6ca4284-c0f3-4df2-dd3a-08dbd92ef1ab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kbNmNfaGGiMY+m3C3yFH5TlzXnWUUvHZuv8fy7q3vuMeJW4hJ8ZhbncI89044IJNk/8unAOS16LQ4w3RQBAxGHeigO2Cn2wuewrvaRNryWkMoNkOZdbCr+FWXm00Wx3sUHJJO88ELAqyr/4+iQKYGFLYN6473LbaHBMex+cDz3DikqV7RPubb3vwjsoIi7RmeTK+I7aimg7wZkSf+586qYtf5mr1J1FakgLeAymmw+7Y4er5sr0gVDhd0JtrR7hfNZIiwrgKhdIKNOV7iJWgzT/52U0cRJEWZnh5YTAHi0MJGbHz+N5oZdDy97kV2LM1yJxALeySfdCcjN5AKLTv1a48SprNHqovsATGO4rpPRrUVRaLwcYbnX3N6JRzDWF0nZfgmzRfjYAyKhGt6lf/rhcwdJu7itD1IZfe7u40BdLGXfQzb9VU0QBhnKJcJ3GhRA54mLdso6uMJqEQ68ie2254pNu3r3PWIZK6F4dP6PWEAP6S8yv5YlXiqrqJYQgmHZt9we7J7idAHn00nHBXCBv87/vBcgqxX5AcEh/9Kd/A5VGqtcfInfZCoXbFSuA6zMLo2PkPMo3Xq8gHubVosUPgzB4/vRokc6557mF/45PKCTOwd39L6L4FFw4RQEzmB6NBeAgDt+oCtH9xejZePAzSIa62ebOLbHM7ap5YLP4= 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)(4744005)(6636002)(8676002)(4326008)(5660300002)(8936002)(316002)(7416002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?w6oZH6O8sIsYRlyE6F5rmLX7KpKm6tR8cRGLzdIyGLGgWZqsMFnhSdZDqeWs?= =?us-ascii?Q?SRls0KIIokdzz/QvhSMx13lnxmrbXHS3ZQQ13ZGG4QTdQyCLhMx8dDZy5XNK?= =?us-ascii?Q?/LrE47GGKayaveVvv9YFbOdQYM+htkc9pk7/0laHvOc0hmd9DhcJUWT2sTRb?= =?us-ascii?Q?3iNdcjt884ELK8wEMAH6bUKEdcCZDosuMcLBqZnueAvVqu3Jq7vhcvmTCNUT?= =?us-ascii?Q?mTmvpg6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4tIe?= =?us-ascii?Q?NCVILoRk3lePCAe6Ijt8cnCzRE9xqhF4j5JLDrpxFmq88KDUgoJy2qbKeu+4?= =?us-ascii?Q?fJUekxchvpy4LfJEB45xLn5dQKTV4VH0svxiGSpnLCCfhHoRHK4TBhPnUDuA?= =?us-ascii?Q?mqQmxK+tpZCKHFD4Nq6Rt/eBYMk0+woHqUxL9KTvGTQjO/3XKK1TMDTrpk35?= =?us-ascii?Q?NLezJ6ifDKkArPb4U7sJsTAQkdUuuZVVPs7EpyloOZvdoy3NR37A+mzWKF+G?= =?us-ascii?Q?ZHwjt2Mrd7MgdQCKsFBULnNcU+FqcdARxdYmV+F7TwdpLAcntB6/3P0Vh3iE?= =?us-ascii?Q?Q/G0TStk6MJuTn/K+izt7ctwY96uRrXPgBuC/1EmmhDgcRFTt/dT5F4hjbky?= =?us-ascii?Q?PJBDLJZz3OIGmbyNhVgSIw323q/xkCVhehpqSZ+9DVoHiFZ9VdyUxfxIccFk?= =?us-ascii?Q?V5r+N1YtKDar4p2YCrmSN46atlDsvH3cGQswyOCe?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6ca4284-c0f3-4df2-dd3a-08dbd92ef1ab X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2023 09:59:45.2538 (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: bqYTdtqt2W9uFVXMmttSJy4IXkgfQ/z/tdfg3KEsx9tGBPZdGzprLLGIGyOUB2y1DF+vMTLXO0lI9+ntY+XgkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8513 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Mon, 30 Oct 2023 03:01:24 -0700 (PDT) Added support for NXP secure enclave called EdgeLock Enclave firmware (se-fw) for imx8ulp-evk. Signed-off-by: Pankaj Gupta --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index 946f2b68d16f..7b66de3a392d 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -152,7 +152,7 @@ sosc: clock-sosc { #clock-cells = <0>; }; - sram@2201f000 { + sram0: sram@2201f000 { compatible = "mmio-sram"; reg = <0x0 0x2201f000 0x0 0x1000>; @@ -578,4 +578,12 @@ gpiod: gpio@2e200080 { gpio-ranges = <&iomuxc1 0 0 24>; }; }; + + ele_fw2: se-fw2 { + compatible = "fsl,imx8ulp-se-fw"; + mbox-names = "tx", "rx"; + mboxes = <&s4muap 0 0>, <&s4muap 1 0>; + sram = <&sram0>; + }; + }; -- 2.34.1