From patchwork Mon Oct 30 09:58:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Gupta X-Patchwork-Id: 13440337 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 231B9C4332F for ; Mon, 30 Oct 2023 10:00:27 +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=4tEufcF6yWnlNo8d3Pb+AnOrcCdFvWfihYqVb5OZEFg=; b=bonpqISLMGjXqJ 9iG7aFoiU0LodKMty++Hvre2m0XGjCKoehsGxwt4uUvlnLdOaVntiX2n8+Bq6fK4shjS2RFl2igV7 R9+1l0VCXlVylh168W0iJH4lIg/fKi7AZSNJjEnYNgEh2EOQdz15Uc4K1ZUtjeuopk7eZDVxWccrc OeiD11Tm6+G+xFAqeMHZL8MjntImEXklEyJPm58prCEn7uZ5M6PfmgFyOlAkl7ZiuS+22O8f5p8M8 wajwvYOKpYd0gWHHTAN1Kd1JUltZ2jMCILdDVr0SRYmNsVARQFxlgUH81tHv4A/u/x7boxghr/SUX +fAKNm/zQvpMYLzxPKIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxP3t-002xlj-1N; Mon, 30 Oct 2023 09:59:57 +0000 Received: from mail-vi1eur05on2062f.outbound.protection.outlook.com ([2a01:111:f400:7d00::62f] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxP3n-002xiI-2R for linux-arm-kernel@lists.infradead.org; Mon, 30 Oct 2023 09:59:52 +0000 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> 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: w6oZH6O8sIsYRlyE6F5rmLX7KpKm6tR8cRGLzdIyGLGgWZqsMFnhSdZDqeWsSRls0KIIokdzz/QvhSMx13lnxmrbXHS3ZQQ13ZGG4QTdQyCLhMx8dDZy5XNK/LrE47GGKayaveVvv9YFbOdQYM+htkc9pk7/0laHvOc0hmd9DhcJUWT2sTRb3iNdcjt884ELK8wEMAH6bUKEdcCZDosuMcLBqZnueAvVqu3Jq7vhcvmTCNUTmTmvpg6hoJc5njyzV10lELzwKQN+b3DI8Jgkr3W5HIi3CdKfq9P3acSKvi6Xot63mFNrxO2BMS+WbBKCNtkmWjLB5pGiOZH3F7Jeme0qUAEIkzhVzq11cB2zBcRhDM2QkWi2Pq14DBOxYPjQXA6IDDHxi9UCEX4+DFtyNQt97Z+VYV6sApi4Z9P5EoHnvV5cABCkZyNUX+CroDVQyfgvjd657xf5gIyG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DVoHiFZ9VdyUxfxIccFkV5r+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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231030_025951_797081_6CE1C3C8 X-CRM114-Status: GOOD ( 10.75 ) 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 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>; + }; + };