Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp291963lqg; Fri, 1 Mar 2024 05:35:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVbs99JoSde48jELMSmTfjLHUM0vZmWaiQaIJHonF4qDy09F1nLuHzTg/wPK4bc+g2E4vo4CyPshK8g7pRqRvW4tupxaQtez4sQdyRqvQ== X-Google-Smtp-Source: AGHT+IHXGhcHZequWr+wVynz7PvLqq3KmNG16G8tC4VzKuFUJnoTMMd0mFrHvnAZQp+rlhKPPVyc X-Received: by 2002:a05:6402:2683:b0:566:db5a:eae4 with SMTP id w3-20020a056402268300b00566db5aeae4mr1254676edd.16.1709300131704; Fri, 01 Mar 2024 05:35:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300131; cv=pass; d=google.com; s=arc-20160816; b=WLKpS8XXIiJX7/qt2/W5z9DAmYGoEjHRH1cjP7X5xFoz7jl9TJoC7Cv/9xVj6mUNeg NyymkJNURWBLhXXBaM52tDyGfuhOLKictSmZvfgs/iIZlgSafOO7YHBciLxlbtWVhllZ PaD8HfAcjhdulQYwUZ2rRSad8AjR0sHolOk4XV535WRc/i0MSoro1F+Vqw/6KxlE707c W/BkLerg/hjAw8G23kb2lJzhp5aZWTVy+M+j0m0eWAA6MbT64tlfJtSZpMav/4wfMGrn IhtoK1ylfLrKPiGOlY+4J6/2U0y7CjbrcrCrES4E8v9AmFo6kQvwr4QMDnyd4CqioG6k l8rA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=Suu3M8yZ3iQK1BgAjDId2N0FtfrKgiBllmAvXu1xcB0=; fh=7+QqR+U+m0B5ryyywou1kgMZVOfT/GgVHz0ZH2Lvlxg=; b=iEtXUBb657jy3A7KxLJRExHEdqe8FcSaxSDXh9rRKo1unzAKQJ/LWnP51XF/hHTpFW rbuMZJcxg2DznY33+YtbXXAGTXGhS8p3LMciwCk4jdZq3bVe33eCGtZlRRk7VFiobZlV x49vCqBiZrvTwAnMkPmnjhDYEi6h/qKU+9dXP8ZqaLekHVcGD1iluAiblXlQaPRWvtt6 o4xNJ6+Qf+kFECLLM7WSm1QyUdECjxhgfToUnngDX7Q9AVT3PI9ID3q9b9Pk+iSnBG/K jhTizBBl3vUlfBwhIT81nSzgOw+fLtdETylDsANLe/1oyCbgY9kYYLh4MSSaE0/2jfdt /7wg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=ae0GviuA; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-crypto+bounces-2444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c3-20020a056402120300b00563889e7972si1458738edw.420.2024.03.01.05.35.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:35:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=ae0GviuA; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-crypto+bounces-2444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 69C3D1F22731 for ; Fri, 1 Mar 2024 13:35:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7591976414; Fri, 1 Mar 2024 13:30:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="ae0GviuA" X-Original-To: linux-crypto@vger.kernel.org Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FB70763E4; Fri, 1 Mar 2024 13:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.89.224.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709299829; cv=none; b=nrAzF9Kd+ggVMqxx2pKoABvomrEpmRt/5IlIZh5nWwETPQhHVW4QHdIttHmB99uNeDqEbiSFT2DFN7tE4jiKK4eh1KX7VOT0z1c7eqYLAp0pspqPk6oX/kUjnnwsMLqqLMrLjxekzADv9yvJyJ0rTy9VLBhvK1yGsiB3sGHRRtc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709299829; c=relaxed/simple; bh=9V8uJQtsEA//xLdXsxXFSPvAvLQWNJZAzbrMxb2xIFw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JBIGqUU9qWZ6wOs85LyRaOPELBuz9vIluPCHM+pEzcWadz81WPP1u5eAYWvUSuY39rfrofR0kLNS3lX3f+CcdTBR3ljU5+PVxUbrpFXk11u+Vhb4egbB57XC0WSxa7/7koacEwJFPEV2PAezi+X7PwXFGmtFp/44Wpbs17iqaXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=ae0GviuA; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id B1C181200F0; Fri, 1 Mar 2024 16:30:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru B1C181200F0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1709299825; bh=Suu3M8yZ3iQK1BgAjDId2N0FtfrKgiBllmAvXu1xcB0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=ae0GviuAVrDV1IIuJ+1vrvDNsNpjHq6l6l6reu6Q9ul2KUksiVanO6XJx6GwMaPc/ VBD+IL0P+joms291JTTmpYfKwj0CMjDOFBv/YePsQ8NM1ghVhQGCpiNrTsdKacDqiR LDUkCF4T2fwfKdyS7pVoGlu0uIRuY6cGK7kuj3FL9WcieCrMHRknwFy4xa9M7s8Wbf dZDRW8a+i2BjLN2YdbSmXMRnqzM34ZLfWSW4erzk7x3VzDY7CxMl9WEgLOH1/xN4g8 iK0Sg5hMx2aLTj0nyxPn2Px2muofGBS7GrhBM2BG5i65xE0lip+WCNLaXNIt+xPuGq 8QrueZQKmOcAQ== Received: from smtp.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Fri, 1 Mar 2024 16:30:25 +0300 (MSK) Received: from user-A520M-DS3H.sigma.sbrf.ru (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 1 Mar 2024 16:30:24 +0300 From: Alexey Romanov To: , , , , , , , , , , CC: , , , , , , Alexey Romanov Subject: [PATCH v5 18/21] arch: arm64: dts: meson: a1: add crypto node Date: Fri, 1 Mar 2024 16:29:33 +0300 Message-ID: <20240301132936.621238-19-avromanov@salutedevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301132936.621238-1-avromanov@salutedevices.com> References: <20240301132936.621238-1-avromanov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 183875 [Feb 29 2024] X-KSMG-AntiSpam-Version: 6.1.0.3 X-KSMG-AntiSpam-Envelope-From: avromanov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 7 0.3.7 6d6bf5bd8eea7373134f756a2fd73e9456bb7d1a, {Tracking_from_domain_doesnt_match_to}, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/02/29 19:21:00 #23899999 X-KSMG-AntiVirus-Status: Clean, skipped This patch adds a crypto node declaration. With the Amlogic crypto driver we can use HW implementation of SHA1/224/256 and AES algo. Signed-off-by: Alexey Romanov --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index cf150f568335..516b914033ab 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -653,6 +653,13 @@ sd_emmc: sd@10000 { power-domains = <&pwrc PWRC_SD_EMMC_ID>; status = "disabled"; }; + + crypto: crypto@6000 { + compatible = "amlogic,a1-crypto"; + reg = <0x0 0x6000 0x0 0x48>; + interrupts = ; + power-domains = <&pwrc PWRC_DMA_ID>; + }; }; usb: usb@fe004400 { -- 2.34.1