[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d226525d-b025-48c8-8176-4a3356ba23b8@linaro.org>
Date: Mon, 11 Sep 2023 12:33:35 +0200
From: neil.armstrong@...aro.org
To: Alexey Romanov <avromanov@...utedevices.com>,
narmstrong@...libre.com, olivia@...enic.com,
herbert@...dor.apana.org.au, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
conor@...nel.org, khilman@...libre.com, jbrunet@...libre.com,
martin.blumenstingl@...glemail.com, f.fainelli@...il.com,
hkallweit1@...il.com, lists@...ser.cx
Cc: linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-crypto@...r.kernel.org,
kernel@...rdevices.ru, Alexey Romanov <avromanov@...rdevices.ru>
Subject: Re: [PATCH v3 3/3] arch/arm64: dts: meson-s4: add hwrng node
On 11/09/2023 12:11, Alexey Romanov wrote:
> From: Alexey Romanov <avromanov@...rdevices.ru>
>
> Using this node, we can obtain random numbers via
> hardware random number generator.
>
> Signed-off-by: Alexey Romanov <avromanov@...rdevices.ru>
> ---
> 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..b3a1ecf36467 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@...0 {
> reg = <0x0 0x2000 0x0 0x98>;
> #reset-cells = <1>;
> };
> +
> + hwrng: rng@...788 {
> + compatible = "amlogic,meson-s4-rng";
> + reg = <0x0 0x440788 0x0 0x0c>;
> + };
> };
> };
> };
Reviewed-by: Neil Armstrong <neil.armstrong@...aro.org>
Powered by blists - more mailing lists