From patchwork Tue Apr 9 07:06:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Gupta X-Patchwork-Id: 13621896 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 BA250C67861 for ; Tue, 9 Apr 2024 07:08:54 +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: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:In-Reply-To:References: List-Owner; bh=NfFU4W/O29DgoAuxCxwwehYW9UiZgnvS+Vg382wL7ss=; b=vcAjcrhrHWZ/Iv W4IzsBgjU6NkS94YVjpPmFFjX4tvSLhH/cKi6PqPNrbq9Qdm/FRP0h12gNiIYwnNP5YsXGv7CGRPq BaWoJOtWf+LOeNptxMu1N/jx63T+t5yDE4eUWvZvMCgTZhqie8stI23NV6zSaGKWE/RkU8RBbvNnh FRhmk5vi6w5qUfKHF0antohkluk2l7tmEtaoOGfL4jBDh/BW0gPYst8POLEwUxRk4P9FD5T6O4Q7A L4ddOP24dCHhijdrCWIx0PGuu8rl2tbKtYzA9XsB7zuQXSHCxb3287OWjywpR6efbMQsjSmNf4Y41 WE9VSyUFfGwZITSLbm+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru5b1-00000000h7G-410k; Tue, 09 Apr 2024 07:08:43 +0000 Received: from mail-ve1eur01on070b.outbound.protection.outlook.com ([2a01:111:f400:fe1f::70b] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru5az-00000000h5C-0GLz for linux-arm-kernel@lists.infradead.org; Tue, 09 Apr 2024 07:08:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KIius0vwrbtJq3KNPx6pANSdaXUsKGb7z/JSjB+f3NyMobtvCI6FOlFm+rjNOCUQ+p/xRnxC9a+2TCSEw3jbuFYIJWU3a0+MKDPJUKIMsFlRXtT2en80nHDH0K8e7Gx/l0j0coU6Hp+9i07p5MfkUMuJRLAjOGfZp/KIhYXHaXsVhTF5KkjYmVfeaP7RwqWaPNHGUuJGfex0NnkPZ288W5UKl9zJExwyHu/qmNEP5r3CjkYnS6pj0z9hyB9vrSIDqEzAjp7+WiFv1Cqx9WTz3bBeDJV9/l0jJMMiWBtVufv30eUaw6KfGr6W7glGwZKzb8ZOouraDzrF2SpKP1z1sw== 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=ppLUGT+Z/E9VWaLbuM8AejZpn7Enmf7YsTnp5+dYKjw=; b=f7UIEUu6Nk8nvU4/UVi4JXx3p9eCTTMob0jjdoS8cgongUNf7FpJyUJXdXyOhsQ1BtCUNV/pIfpe7E7n0SNgCdnkpnMAecJok1D+2wAnIus6SemkP7ZB/AIzKZhZ/KFD0nCahWexDkP3d+ENVKRWaYtbmor/Eb8yQmogyfGeD+aVER+o4QZmqxomGgvoIzbVTKSfY+ECpTcHgXgdzqRV3KdWaxaM+oWM1gIFK2NZqrFxeZy4+EQBRIOSnfs/e27IJU9HbGSxnYx3erQ9F0LBNhTP/2pZj0Av/u9wRMtAnKyz9IqEkHxp+wxW10Ma3DAaBr2LpUYswo8BB0PHHdwAlA== 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=ppLUGT+Z/E9VWaLbuM8AejZpn7Enmf7YsTnp5+dYKjw=; b=gifZftzjgqfKArO+R3/02S89bRI/jqVnYBujvChBWMazn/nSItxRKjS7itIcI7JmosSorhu7ju1+ehpT+aec2k6eOSHlGw85kSeDHELk1PDqe7JIlPcPxZZUvRAyRAxPfIgV3fWIm+aCEZx/RjJ2YXr6kVTtul4++1QCniNinZU= Received: from AM9PR04MB8604.eurprd04.prod.outlook.com (2603:10a6:20b:43b::21) by AS8PR04MB7814.eurprd04.prod.outlook.com (2603:10a6:20b:2a1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Tue, 9 Apr 2024 07:08:34 +0000 Received: from AM9PR04MB8604.eurprd04.prod.outlook.com ([fe80::33cc:db75:c850:63a4]) by AM9PR04MB8604.eurprd04.prod.outlook.com ([fe80::33cc:db75:c850:63a4%2]) with mapi id 15.20.7409.042; Tue, 9 Apr 2024 07:08:34 +0000 From: Pankaj Gupta To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peng.fan@nxp.com, ping.bai@nxp.com, haibo.chen@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Pankaj Gupta , Varun Sethi Subject: [PATCH v3] arm64: dts: imx8ulp: add caam jr Date: Tue, 9 Apr 2024 12:36:16 +0530 Message-Id: <20240409070616.3868152-1-pankaj.gupta@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::7) To AM9PR04MB8604.eurprd04.prod.outlook.com (2603:10a6:20b:43b::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8604:EE_|AS8PR04MB7814:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: h64eUIbPi2kn/ODO1LAbSfXJHhldl5tov8tlHXf7YddM9CjAGV3RGDch2ZNMl5EtwGhwF1nW6VANZlZQ9w6+IepDeDJVYSWNe3YszVhS81MHzdvkQ1iBLogSUb5/9dZZIf8agIDMIUg/RcVe7NCbq1GPgEHoqZoITSM/JIP0y9FkL2GTGFOgc6LXPP5C9jeaqaraJv8mSKbHWVfIueUyi/uS/UnXoQu48Gzd1LzVdqosJCF5oUQxdon65pQlAusyvcZovDxIQL/rSrm0y6vHNzyaNWVEC/DRMhxKYJFg4vbaRRxA8fMQp7uXuPIr4MMYH1slvxt4tKN4Bh6ho4P+j+N5q+9cEw5r0tAgyNGhf/aQlR5GNuesT4lpdgnv1Zi/ph/Ha0con5GDU+bph+Uxptl5xiHB1q6nenxrFMU04hw41rhJYcdAl8glUfLzAEkto6pVqPapQO9Dp9dW0oT1gb3z0H3wz8SEFzqzrdfccdeAhzKDq5WpypcpcnQnxxZkjgi+Y3oFEDwhe60UwG/6c/Zmr+fT19TQwLUH8LVFkzUHmkntGjJgsyCitSkY2tpcf0KazzZy3+yNIl4WV8RJnyOEDPXyAQdPXaDG5iygSzJR3p/ysKmgACiuvbttc7vrDcDDxqobsNu52RRV2R0XV79oNmhSbZVrKVl5M3CqHwxGHghur4wvg9b/QCA79TX9GADCgDEtJXvsWkBtllQfYd4tc3VcsZmTD6HHBOPEoA0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8604.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(52116005)(376005)(1800799015)(7416005)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: H60sx7Gxg/UDHf+dJFmnDuL8TsO/KDzDmmw+2DtwJnuRDAoUjkf1eQB2wJ5iArgvUcNcHLTwCMYmdgNiXy/i9sWB1TNIPIez0u/KvLli0DcqFeccs2vvIapTIriu4XckunpGAU0dMirMoRDcAPQSZLnmJW+6pWu8cVJZTKwPDveRKcNgy1mJpeWnQbrsCJnnCjyNgfCWDHLbD5AqGHn67vf4iNZUsJmkI6ptPNiRAIbgpvR7KathyKPwQhntUSGDkhmY+s9dH+xM1tHRfd8GcVJngWEtmtIbwkDS1wfhY9PGzUuvcOyRMHvgzo5ktP/tMo1s+r0eap6I9+ouGrGuhdM5wk80ZLt2ldN4jcq12JU5MugVGCWNpjDHe2LL0wQvgBHXFq+BOMmmS+Qqrs/nBfstbLskqNa3vlCfk1v/J6zrPoeSs7Ss/pnvf4BbL9DMkK7QoDn+p3v+JPCHYyOsOFrktPwABLvKobcAEtN1smfxP3+dGh1NT4lcf0zeXJDg+uilR3m4tPLqTVEL1V8zlezYphscBBqBDyWvxAVDwOMEpOSsYek6UJ+YkvALUbPfpgXsi3tlRRE4bckDqFuKtJfGZuhBGkrOkDNrtouG8etZYDsiHM2kmBaoeJ/sKobSRcYhUlI3aCxTmuNDFAYa0mxQRe6Se9y6a/xIpV9lzWNUPt74x1CfRceTrlNy8cj5qZUXKHY2fIc/icOgLpOzfNDMAg55rwvnYMtgZwxSjNE8YJcky2BQpn+0BPGzG7EniQvaIkL5041g8qgt+9rtSOe+WlGANJSMraMGFbo/YWxgYjRKszCDjbFAVZ84dgtTg7bDWuvVEskz3QlkArU0f9p+/UJrkX3xIqbDkLwurrRh3vhLWR/y3EZAX3b3ygfnJe1R8uaWjD8wK8i8jXrS/1jcsthWEZBgLa9r+VdU7ZmY7XvvF1+KpuOOv3OLikEpA+fGAxuekiq+aieHjE/Js+LP6KrQhaz0Ggb7woEfQIzbbtEJAxCx1vtNSKT0BkZWgE/8uHeH+PEXP5qTF4kTHDgzIqJj3WVXaKovrCOxs26zzglKbIDCf/nNWtC6RkrUEyBf3FK/BuqPlLZh8agxy+TB4cLX3Bil+TCp7YOUVJDUXqPZWKlltPtj34tGns8FzEUlLQ1xOAuDaWMgoypOIUZxk4+bQGbh6H0y4xMuJ99vbD1oQ70nm5W4fJN7UV6RItO0lLuEaR2/SYq9/iN1rj9XyUKTlZ8ztHO0IUwH3rfJG04ncodY8dXXgoYxa5AdeUbQI1Rq8yURFXIKQTFMyyt/49kFSIPhxqFsVQSmI6nBFkfAsNWH2/rCiZg82R9V7oSf4VuLDqdEwXqzeP1GSmCQKU8rimJXFaGt51CTuiDlfUeKEPOcVXw+EicQ6mhxXmUbxaNwVzd4pxPsQAq0gg5Mn7mdTqjpE278iJ4KPeNbLNqas9iPYUuR2RSeKf10aszXvnM6nSuaKcGQam6Ya0dIcmJWC8yiBMlM9LXzhtMb65SEKm3RP2YhjsSgw1lV6cI152jCSVRdLykm+YyW8crMMvSQh8roqRVMPTV5jiE4GZR/sVndASxpjDKpIaQT X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81d449e6-7f56-415d-325d-08dc5863de6b X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8604.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2024 07:08:34.0444 (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: vjWMzDxrrTBYUUr/G+oj4mYmlVn1FImEOcCZb2tTyUvnqkeZ7+7yIArQs+EEkMEcZ6A0z4dSxRYa2JNCWfuA2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7814 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240409_000841_169669_22776BD9 X-CRM114-Status: UNSURE ( 9.04 ) 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 Add crypto node in device tree for: - CAAM job-ring Signed-off-by: Varun Sethi Signed-off-by: Pankaj Gupta --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index 8a6596d5a581..946f2b68d16f 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -252,6 +252,38 @@ pcc3: clock-controller@292d0000 { #reset-cells = <1>; }; + crypto: crypto@292e0000 { + compatible = "fsl,sec-v4.0"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x292e0000 0x10000>; + ranges = <0 0x292e0000 0x10000>; + + sec_jr0: jr@1000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x1000 0x1000>; + interrupts = ; + }; + + sec_jr1: jr@2000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x2000 0x1000>; + interrupts = ; + }; + + sec_jr2: jr@3000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x3000 0x1000>; + interrupts = ; + }; + + sec_jr3: jr@4000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x4000 0x1000>; + interrupts = ; + }; + }; + tpm5: tpm@29340000 { compatible = "fsl,imx8ulp-tpm", "fsl,imx7ulp-tpm"; reg = <0x29340000 0x1000>;