From patchwork Mon Jun 26 04:46:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Gupta X-Patchwork-Id: 13292347 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 869BBEB64DA for ; Mon, 26 Jun 2023 04:47:31 +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:In-Reply-To:References: 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=kOQS2uR3C6pSBOwywgtbnVCx27DcbR+rEPglpYttqgc=; b=HIWnwFlymfCUuI yXR7NowvO6Uc5aNF8wJMYV9AZ1QKDXKgcnOMZBSfEB5BD1l5rC7gzUBp8emCB5li63MypYDVQo3Ew tJFGLGUJHdpFF/91DJNiAPC4m1WzD7lJMFkg7xyfqmhWRuurOlAN/3q2wL6o8d1x3plKIQajqCLND BVnf2Zu47p0cueb+kInIpMystA++cpI26MVepwaRPuaP7DyDdKymuKrkIg0x9N2WYFPLHKjOZFvOi B0i9uQwH22DYjwtsx2EYKdNu6/bgpy55cs29ejk4GKje8mp1FK7m6O/kqSdCP3osbDeZs8EqVGX/Q tha0EmYAkHfr2z8/g5Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qDe80-009MZn-25; Mon, 26 Jun 2023 04:47:04 +0000 Received: from mail-he1eur04on0616.outbound.protection.outlook.com ([2a01:111:f400:fe0d::616] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qDe7x-009MYg-3B for linux-arm-kernel@lists.infradead.org; Mon, 26 Jun 2023 04:47:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KH5sFORT8uFDAEseYViP6B+tsNwtTJH72wKtfpKy5+JkjuNT5nyFnNzF963tIMVJmf0GPf6GJh9w76iEdsMxi+vIcQDrB5AJAhazzHTVJpxGQxr5TbkZqM3EtqbIfQmLhYr1s9l7OogRg9r6CBw5H0MK2bxnIyUdbuYlYNo67rhWLb3Ofjm9jW4LG6B3oByuf7YgqWHxdcP4+Ks1tE+rBApx/YlIJq/YMZdTEnA3ZB3EdtxtEsw6SYurusGz7FEBTXSiq4bkRpq/rUgh8kSXPAhHHPLxisdjGtupkuOtZe/4FQnn7rAlEqDep/+toUAKlZkhkatbmw1J6nuY/6Jh9Q== 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=MTCIbgnBeaoS0IWBK7/CoRlRMy6ZHU3C8LaupT0gxyw=; b=VWKbQi1/VtbU5/NWL5m8fDXiMgWWMc00uUBjSp0YI93C5bm/3+P3zDH85JH98UjU49OubzzzFQHXp0E7R59R3psYtzDKh4pocrm3DXvZKU5QpLEPAaHqaRgbuFGadl3mwGzUzA8zvAc048gsyMNwkMmHpgiyt2NWGTjDiNJk2snBMzsIe0TULalcKY4/+CUDFdDB0z8N7I+yFfQXBcE/a95xRMiFPn5RrOW/JwH3L8QF1wXiaqpW0nw2j2d7ZyVJSqA4opneuP0IBc4T9E6khfx6S7GPW8tMWJ2TwjqS9dy+tbuDKjv0ZuRjB+QGPJ+VsskkQdewgh+J5ZcTweqgew== 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=MTCIbgnBeaoS0IWBK7/CoRlRMy6ZHU3C8LaupT0gxyw=; b=K4aJm4KZ+TWwnkjvxvddCLUo1tEBocuJoYuEaIrMZUIksmAmzHsVGxa6o48gShB1BXRuNnP9o0RMCQK2hqH7diqCQfohuBMEsHq6varq8O9ejYKsNNULrCGeP2tF4Yl4NiC3sl25I6DEXnccZsEcyuVKAGow7m/YjQTcL6va/JE= Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by DB9PR04MB8121.eurprd04.prod.outlook.com (2603:10a6:10:24b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Mon, 26 Jun 2023 04:46:46 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::413f:a9d5:4c09:9dad]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::413f:a9d5:4c09:9dad%3]) with mapi id 15.20.6521.026; Mon, 26 Jun 2023 04:46:46 +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" , dl-linux-imx , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: Pankaj Gupta , Varun Sethi Subject: [PATCH v2] arm64: dts: imx8ulp-evk: add caam jr Thread-Topic: [PATCH v2] arm64: dts: imx8ulp-evk: add caam jr Thread-Index: AQHZp+k2v8Jbz02GhkGV+zbcgHYc4w== Date: Mon, 26 Jun 2023 04:46:46 +0000 Message-ID: References: <20230616174050.644880-1-pankaj.gupta@nxp.com> In-Reply-To: <20230616174050.644880-1-pankaj.gupta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU2PR04MB8630:EE_|DB9PR04MB8121:EE_ x-ms-office365-filtering-correlation-id: 5d21f134-f5ce-4b80-554c-08db760058ab x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uVqKRDRveqo8jfQ/xds0WA5gFvfaq8pF4qdm4ifaV+kvk/S13s9y6/dMXngMnM6sGc18wxUQeGbmp+Vn7zr+sw0+ABQ+e4+z94jhy3tEHQlOestChqtmjGyjwCxraz2eB/09rQ2UBzWqXC+5odj2LDBpl+UygZXZhjHKz+AKDXyC+V0sm+L+aDxLrs5V2zx8C7bEV+5AFRpE6+PBQStQOV5jZkuvUTkWRnbXtge1/0eK6lt/JHdtlD9VCc2L4DiVNBELYrxbX7V+CDhoiPKL561PKDL19x2OdY2CAGggYDGK78GaMhekfxltQJvGbT48bSNndb+M7nL2wbusAtyFR375b7ALgtRCdOaVIBa0D9Q1wb0iV9gV7z9lhmL5L2MZTbWsmb/27Ex2o8n/wH3hmywo85MKt/Ze5gMOoW5TZ2jDDaV8lqIJsDXQszPCzSwPBtFoK7QrSH5N+LCcqmqWvj+kUnnhwLQv+kEG1CFc6pzAyioijz7M05KLQB00RLp42FHCIcy6ml/Hrpn/4U5PrxQ4Dc5Yn3eDs4J0ruXMeyGCBvYqY/n6vhkxa1yOsKIH39Pj2QNmSnm2ZD/SH6PZQgglTkIhIUBrwdQrCBCFcqQ9zYUinbs0fvBwjyCi07S71+IEGYYDdN9bhdT+GuOE501ipg9BliEyz0acUNfJssU= 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:(13230028)(4636009)(366004)(376002)(346002)(136003)(396003)(39860400002)(451199021)(921005)(122000001)(38100700002)(38070700005)(83380400001)(33656002)(86362001)(478600001)(54906003)(110136005)(7696005)(71200400001)(41300700001)(55016003)(66476007)(66556008)(66946007)(316002)(8676002)(76116006)(8936002)(66446008)(64756008)(26005)(4326008)(6506007)(186003)(9686003)(2906002)(44832011)(7416002)(5660300002)(52536014)(32563001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: cONVQz3nnR4NeZ6VD7vm7KPwgPsv15ynfDqM80YShXph5SMMSIYuDrxMgokpmsfnqvdaDeQKiuP9HMz8DwNnQ7Y7ivphoK9RVK+Ui/mIq1rfVZWDwkiu6oUvM2V6xnVABNQGvgkdAVXXMWGbb+nVvZyXm1MbSqGHIuVfOAmhyPtN5U6bd0V0aZhbkKd2UbXj2vGQZUkt5gVrUrCJqCgjkvwsHnBQYTKSr/CmEvuu8p3eTqAJ859U33ZEB++KWLb8Sh9sgWrlSz0GnZFg7SdV4ZxfjaIM6Fe1YaIJ+XwVRkCPvtdTMUk1KxIraT633DnFkSv6Wsu9Zl9/BqUCa6que0e8Y8gysnFcD96Q5ELFUBrPR2bD1YhFALhAOookSRHgcrPF7yE9Ll/lVcSdkNcc0qpYcD92B0IRFEtPOd/XIrlthD3ZceG2Gl2LhxANfoK+1wBXUKor1TSow3VnTCj6UKhPT6jaLY6rWRx06Ft7pkHqitZgbjBR1Q2Tg1QyfAC6nG6dM2yWDDZq5MN7jCrrbogxZO7Ncldxd8szOXrS10WSYSxRmtYP9QSlpQzf1Z7PVY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rossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d21f134-f5ce-4b80-554c-08db760058ab X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jun 2023 04:46:46.2514 (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: r00aUG4eE2Lzz7aV26j3rvI4qLf0QJpGijnMnYTWOb67a2PtePrxLCx2UI1n8NHeIbdAZaHlpWt2yqFGVdu0tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8121 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230625_214702_114715_ECC404CC X-CRM114-Status: UNSURE ( 9.64 ) 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 V2: Changed the email subject line. ------------------------------------------------ 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 32193a43ff49..ce8de81cac9a 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -207,6 +207,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>;