From fb9230c53b01666503010f1d59effc64b0e7842e Mon Sep 17 00:00:00 2001 From: Lin Jinhan Date: Tue, 31 Mar 2020 17:39:58 +0800 Subject: [PATCH] arm: dts: rockchip: px30: add and enable rng node Add enable rng node in px30-evb-u-boot.dtsi. Signed-off-by: Lin Jinhan Reviewed-by: Kever Yang --- arch/arm/dts/px30-evb-u-boot.dtsi | 4 ++++ arch/arm/dts/px30-u-boot.dtsi | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/dts/px30-evb-u-boot.dtsi b/arch/arm/dts/px30-evb-u-boot.dtsi index aea9f4d..61b1433 100644 --- a/arch/arm/dts/px30-evb-u-boot.dtsi +++ b/arch/arm/dts/px30-evb-u-boot.dtsi @@ -4,3 +4,7 @@ */ #include "px30-u-boot.dtsi" + +&rng { + status = "okay"; +}; diff --git a/arch/arm/dts/px30-u-boot.dtsi b/arch/arm/dts/px30-u-boot.dtsi index bb782b4..029c8fb 100644 --- a/arch/arm/dts/px30-u-boot.dtsi +++ b/arch/arm/dts/px30-u-boot.dtsi @@ -12,6 +12,12 @@ chosen { u-boot,spl-boot-order = &emmc, &sdmmc; }; + + rng: rng@ff0b0000 { + compatible = "rockchip,cryptov2-rng"; + reg = <0x0 0xff0b0000 0x0 0x4000>; + status = "disabled"; + }; }; &dmc { -- 2.7.4