Re: [PATCH 1/1] rockchip: px30: add support for HW RNG for Odroid Go Advance

2021-10-15 Thread Kever Yang
Reviewed-by: Kever Yang 


Thanks,
- Kever

Chris Morgan  于2021年8月26日周四 上午12:24写道:
>
> From: Chris Morgan 
>
> The Odroid Go Advance has a hardware random number generator present.
> The device does not have an upstream Linux driver, but does have a
> U-Boot driver. Add the appropriate node so that the hardware RNG can be
> used in U-Boot.
>
> Signed-off-by: Chris Morgan 
> ---
>  arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 6 ++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi 
> b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> index 741e8dd935..6d4edc5855 100644
> --- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> +++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> @@ -16,6 +16,12 @@
> serial2 = 
> spi0 = 
> };
> +
> +   rng: rng@ff0b {
> +   compatible = "rockchip,cryptov2-rng";
> +   reg = <0x0 0xff0b 0x0 0x4000>;
> +   status = "okay";
> +   };
>  };
>
>   {
> --
> 2.25.1
>


[PATCH 1/1] rockchip: px30: add support for HW RNG for Odroid Go Advance

2021-08-25 Thread Chris Morgan
From: Chris Morgan 

The Odroid Go Advance has a hardware random number generator present.
The device does not have an upstream Linux driver, but does have a
U-Boot driver. Add the appropriate node so that the hardware RNG can be
used in U-Boot.

Signed-off-by: Chris Morgan 
---
 arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi 
b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
index 741e8dd935..6d4edc5855 100644
--- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
+++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
@@ -16,6 +16,12 @@
serial2 = 
spi0 = 
};
+
+   rng: rng@ff0b {
+   compatible = "rockchip,cryptov2-rng";
+   reg = <0x0 0xff0b 0x0 0x4000>;
+   status = "okay";
+   };
 };
 
  {
-- 
2.25.1