Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2465725rdb; Mon, 12 Feb 2024 06:02:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJ0tGvm0zJjmXR3+B4TjpnjL/2Eue4VBNPWbnSjAPS4t9ijYFd9ur1MJP8G05QChZ1zY16CQfBGYvO/fDTM76cfVqpR6yioa+za9oBXg== X-Google-Smtp-Source: AGHT+IHhBC6zOFGrlRa9G36trdN/80JrcB1R053ab3yq+7dQkEvKcFOnZQM9/aKgrjfDufcD8Oyj X-Received: by 2002:a0c:e186:0:b0:68c:7e7f:7348 with SMTP id p6-20020a0ce186000000b0068c7e7f7348mr7416099qvl.48.1707746535757; Mon, 12 Feb 2024 06:02:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707746535; cv=pass; d=google.com; s=arc-20160816; b=QRiyrtVqoEVmlOAUV7qhm59Y4eICF6ktUO2iZNEJVJVjIJoeNwx4bDSwdK40aXAxVn h/GsG6pcQtyeY4s01Kbpa4P6JARgxEzgAodbC0PUgdaf9aDR+t4e9y3tHakwkn3/vUKL nnqagO8Hyu4UN79gfLaWHOgyHdby8sRWu13+8T8usj+ed31wjHX1ZKqxpVIpp4I5vN3x F7Ov7+05HOgdJlHbxljEzms3Bm42QU9X3DugO/0lwwC1HO5mjeGs4Blftkf/aE+Cj0NI UhQC2cULhBi2wkaveZ6kbO8w/i9OaxmnnXeVmNvW2AjEs6prF4tnqPDG0zCRaJFuRUsN spHA== 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=gUhc8nz00jwdWrBlKkJkWm4NwzIELiwPYGL3SQmGpqg=; fh=zjfDXa8JyBPhXQl5L+4zIjCf7GFL21LjedO9pzItbWE=; b=s3dWA3OJdsqCUeawEfOaZXLO57GJ/b+LDvN/3EYWMSe1FKwH7Okn8lQntmJnLsnNCy baAGBdFoyQ/E06KwAgWJDB/p679u3r8tqqkyxFt/y8uAJIi/HLEKC0XOhzNP+MtTgpEL lylnX8TfWfO++Td4fAFOBrTDvkfKew7BGn5JJ+DHAYVRxcsol8eIaZXECCStIFRFhlBE jClbph4tNaEZAB9MhoagYL4KeQZuO4TA/PTMEybRzAKbLV0UrNtavQALWrmlbXSSAFJd 591KjulGYAc+CvcT0nBzex4ZYEVgKyLjOzaQozSGw9Lb7plPaftPtKFq6C8uc4p7aOxt Ziwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=U34sx7D1; 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-1981-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com X-Forwarded-Encrypted: i=2; AJvYcCXfHnwdc9LEsIaM9zXECGC9mIFT6xm0usLiTIUuuPSp32CgDtT40QSEuXDCL+p5ei83l/XYurHbq08QEBjU+wzdlwal5YjPrMO3kyGR5A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k4-20020a056102004400b0046eba3f9e0dsi300600vsp.513.2024.02.12.06.02.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 06:02:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1981-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=U34sx7D1; 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-1981-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B9341C2313F for ; Mon, 12 Feb 2024 14:02:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA0B24655F; Mon, 12 Feb 2024 13:51:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="U34sx7D1" 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 A0C2F45014; Mon, 12 Feb 2024 13:51:50 +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=1707745912; cv=none; b=Ejoo2qChyPkap5DfxHJ/fGKxmpsKNb0ZU1smENlx3UVK/aMZ22Q4jBrPkiS79trCnLEvL1PTyqwSjKT6axHOsyKfp+lKljFcql8Z30wC4jwmSpY6xESxa5WEllJHsfszHM3iRhJxLlSyQAqwqPnj/V5uog18eXsFjGyKcTBUmBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707745912; c=relaxed/simple; bh=k4tmwn/oyd3eicica+LGOYZbUmpCR5QOBhY7Xv5wMZs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jSaOUOrA2E77iVKNNg9yQ+baNN1tv7l+ZMt8L6xzcENljZE6Elo9Br5veo7kuaS3k6VsxQSATQwBjoKh1JdnKjrRlY/bQDcTsgzJeUExkK/O9iTaEDYBEq3ga/EwboL8RAX7sRSj0Hwy0AP5wCLIjFOWHNQaFhr2gYKNXzA6JEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=U34sx7D1; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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 6D75212001D; Mon, 12 Feb 2024 16:51:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 6D75212001D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1707745908; bh=gUhc8nz00jwdWrBlKkJkWm4NwzIELiwPYGL3SQmGpqg=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=U34sx7D1ctq6bVeZ8L48d8t1o5Nby99ZoEVX4GsOLVFgC9xWSALiVlX88Xi3paRHI qg8viDA1bkYDjbv69OIZN7rV2b5K1SaEji0xUS5IOujKtcvZEi4zQQFGPdEQDYWF1u GOYIsBvb9sFivK2nP3bI/t2MHX59NGPw6nVa3/83yhaqQKxKOKjMbOvmYSkcE4Opk8 JazPIJvQQGK8qUHumY9O/XKblBPuy2Q5wQipR/BA9sJSCUnNZAnzSFZNqDmlNwD2nd Pjmf23f28jqPYjhD5Oi++nUQSZEoz1/ZGNuf4Yje+xbAcLbMJJioTSr3xUPtUNwSbv txsctMJkx8HIw== 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; Mon, 12 Feb 2024 16:51:48 +0300 (MSK) Received: from user-A520M-DS3H.sberdevices.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; Mon, 12 Feb 2024 16:51:47 +0300 From: Alexey Romanov To: , , , , , , , , , , CC: , , , , , , Alexey Romanov Subject: [PATCH v4 17/20] arch: arm64: dts: meson: a1: add crypto node Date: Mon, 12 Feb 2024 16:51:05 +0300 Message-ID: <20240212135108.549755-18-avromanov@salutedevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240212135108.549755-1-avromanov@salutedevices.com> References: <20240212135108.549755-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: 183368 [Feb 12 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}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;salutedevices.com:7.1.1;100.64.160.123:7.1.2;smtp.sberdevices.ru:5.0.1,7.1.1, 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/12 07:49:00 #23556813 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 b9fd69112535..6d11e38ca3c0 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", "amlogic,g12a-crypto"; + reg = <0x0 0x6000 0x0 0x48>; + interrupts = ; + power-domains = <&pwrc PWRC_DMA_ID>; + }; }; usb: usb@fe004400 { -- 2.34.1