Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4525550rwo; Tue, 25 Jul 2023 07:21:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlGuRfqUArHFlEtx2f+fbe17Fza3msUNMPcSD0Prc4GLRyMQzpMPqRJNhR5MxL0U6wWJAUzD X-Received: by 2002:a17:906:844b:b0:99b:65fa:e309 with SMTP id e11-20020a170906844b00b0099b65fae309mr10791786ejy.74.1690294873973; Tue, 25 Jul 2023 07:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690294873; cv=none; d=google.com; s=arc-20160816; b=Lm4OKPg+WSMZdmGvQzdp7+avJpr/ImBsEHVBSjnNNKx46XwcJlrfAGNahvQEZlDGwE BBwDuhRD71TpvE19HmWeGPoWlzijtWv/j8ZtY6HdIZqY3jtBuCSBuv7iRLgsAf3wZ/lk l4ATu978wehRVatm0jnyMsyrM+VPxxTbB45EMaPenu3SURYUT2nFdvU5S+GElOS3bdIQ 91y+yegc0vRzRId4/30XhkGmuMSHZFazBeeLnHHgH4+6/anQuEiK+OQh1iABsnWpkPup jjdjQhAqrhBWuQkc8iq4R940QqvcCR7rQz29NFYL3f47M/Bkgnndo4xklnA4ldjbUtF+ JaHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=mawpPFaFDwTi16n2aaHJjeloGu7ded/mpqmM2zhRfcg=; fh=XgsydRcVKOPYwfL5e+1Sy5VMOP0DloAfwldIRRZFMG8=; b=Nn1srH+FFo7V9u8pbuyQNDLjDjxHDf+FRqHgVX3UDZH81BL2pTO6OGKoszHJZ983H/ 5TvGGIe2ys6L53srf9GRhcX55TMItHqb0SIGLmS27zJDitt3dDZ7VXT9XFa9EDQrhUvW nsInifjk9aKUmMChEcQ2VgbplkoBwIdTKkD6g7C9Vta7VKmR2W2l3Bx50woYKFsr/h08 86U1ZoAZk0qGSrIspIu9GEOOdfFF5IUwfbW31OZWOT9hws2bMWPkLQ3K7gR+3g3186A6 +oP+JC3kUTQCYRyDNq1mRPIKx5XLMKZSiM5TwEdtenUxmFXo5IRhG0lWZDU77zMqOab1 jvGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b="WWDcaoW/"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y11-20020a170906524b00b009784f00c5besi7799153ejm.263.2023.07.25.07.20.40; Tue, 25 Jul 2023 07:21:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b="WWDcaoW/"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232460AbjGYONQ (ORCPT + 99 others); Tue, 25 Jul 2023 10:13:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231861AbjGYONM (ORCPT ); Tue, 25 Jul 2023 10:13:12 -0400 Received: from mx1.sberdevices.ru (mx1.sberdevices.ru [37.18.73.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87FCDE4; Tue, 25 Jul 2023 07:13:11 -0700 (PDT) Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 27C5110002A; Tue, 25 Jul 2023 17:13:10 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 27C5110002A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1690294390; bh=mawpPFaFDwTi16n2aaHJjeloGu7ded/mpqmM2zhRfcg=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=WWDcaoW/ck2ethiGWAsJOvPOfBp2HU57+a7LvmKR1ZwoQCPNZOD6uwnZfIjg2SwiI ZV4C9jOwV+3IxvWDeKPlZ2W2WMexwYN19IRsUIEb2f+oWebP+a5lg5TGeSGogn6TcL kDBclWGwiFXO8BfRc8d9/4ojpm4woPGwr0vZMTeorXYgFKNMCZhxsMresaFbO9oSZ+ BwSZN5NpfwbhsK9DJ3nnM3fvM9jEhZ7AmGvkStQMIGIdtZmSY6AR4bXB7tJwxlaeSK XJCMxi76mBkbIKIkEbOaF6IPzw+ywLGLWWhnODsYACjY6QSaPIeYa7ChNgHXlM2pFr ReYCKeAgezT5A== Received: from p-i-exch-sc-m01.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; Tue, 25 Jul 2023 17:13:10 +0300 (MSK) Received: from localhost.localdomain (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.30; Tue, 25 Jul 2023 17:13:08 +0300 From: Alexey Romanov To: , , , , , , , , , , , CC: , , , , , , Alexey Romanov Subject: [PATCH v1 3/3] arch/arm64: dts: meson-s4: add hwrng node Date: Tue, 25 Jul 2023 17:12:52 +0300 Message-ID: <20230725141252.98848-4-avromanov@sberdevices.ru> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230725141252.98848-1-avromanov@sberdevices.ru> References: <20230725141252.98848-1-avromanov@sberdevices.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [100.64.160.123] 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: 178796 [Jul 22 2023] X-KSMG-AntiSpam-Version: 5.9.59.0 X-KSMG-AntiSpam-Envelope-From: AVRomanov@sberdevices.ru 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: 525 525 723604743bfbdb7e16728748c3fa45e9eba05f7d, {Tracking_from_domain_doesnt_match_to}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;100.64.160.123:7.1.2;127.0.0.199:7.1.2;sberdevices.ru:5.0.1,7.1.1;p-i-exch-sc-m01.sberdevices.ru:5.0.1,7.1.1, FromAlignment: s, {Tracking_white_helo}, 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: 2023/07/23 08:49:00 #21663637 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Using this node, we can obtain random numbers via hardware random number generator. Signed-off-by: Alexey Romanov --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index f24460186d3d..3e3348cc6c06 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -133,6 +133,11 @@ reset: reset-controller@2000 { reg = <0x0 0x2000 0x0 0x98>; #reset-cells = <1>; }; + + hwrng: rng@440788 { + compatible = "amlogic,meson-rng-s4"; + reg = <0x0 0x440788 0x0 0x0c>; + }; }; }; }; -- 2.38.1