diff options
author | Chris Morgan | 2021-08-25 11:23:57 -0500 |
---|---|---|
committer | Kever Yang | 2021-12-24 10:58:59 +0800 |
commit | b774be9de5db9022a52829b6253d1502fba68c01 (patch) | |
tree | d7d95390975774df5935deb1857f5b9273d9a82c | |
parent | fe3dde3e7b0c01d081140fcb28e317a688440fbb (diff) |
rockchip: px30: add support for HW RNG for Odroid Go Advance
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 <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r-- | arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi index bffaa3edf33..ea3641800d6 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 = &uart2; spi0 = &sfc; }; + + rng: rng@ff0b0000 { + compatible = "rockchip,cryptov2-rng"; + reg = <0x0 0xff0b0000 0x0 0x4000>; + status = "okay"; + }; }; /* U-Boot clk driver for px30 cannot set GPU_CLK */ |