From: Lin Jinhan Date: Tue, 31 Mar 2020 09:39:57 +0000 (+0800) Subject: arm: dts: rockchip: rk3399: add and enable rng node X-Git-Tag: v2020.07-rc2~17^2~21 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=91e858dcf667e58f1c814cfcd32d6d8d811b03a7;p=oweals%2Fu-boot.git arm: dts: rockchip: rk3399: add and enable rng node Add rng node in rk3399-u-boot.dtsi and enable it in rk3399-evb-u-boot.dtsi. Signed-off-by: Lin Jinhan Tested-by: Peter Robinson Reviewed-by: Sughosh Ganu Reviewed-by: Kever Yang --- diff --git a/arch/arm/dts/rk3399-evb-u-boot.dtsi b/arch/arm/dts/rk3399-evb-u-boot.dtsi index ccb33d34d1..f68a56fdd0 100644 --- a/arch/arm/dts/rk3399-evb-u-boot.dtsi +++ b/arch/arm/dts/rk3399-evb-u-boot.dtsi @@ -11,3 +11,7 @@ u-boot,spl-boot-order = &sdhci, &sdmmc; }; }; + +&rng { + status = "okay"; +}; diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi index 8b857ccfc7..757b8c10a2 100644 --- a/arch/arm/dts/rk3399-u-boot.dtsi +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -25,6 +25,12 @@ clock-names = "pclk_ddr_mon"; }; + rng: rng@ff8b8000 { + compatible = "rockchip,cryptov1-rng"; + reg = <0x0 0xff8b8000 0x0 0x1000>; + status = "disabled"; + }; + dmc: dmc { u-boot,dm-pre-reloc; compatible = "rockchip,rk3399-dmc";