aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorLin Jinhan <troy.lin@rock-chips.com>2020-03-31 17:39:57 +0800
committerKever Yang <kever.yang@rock-chips.com>2020-04-29 10:30:40 +0800
commit91e858dcf667e58f1c814cfcd32d6d8d811b03a7 (patch)
treed3ab7953e0acf4a00615cbebec794933ac42ee99 /arch/arm/dts
parent2bffb728834d5293c456fe23ff0248180b96be38 (diff)
downloadu-boot-91e858dcf667e58f1c814cfcd32d6d8d811b03a7.zip
u-boot-91e858dcf667e58f1c814cfcd32d6d8d811b03a7.tar.gz
u-boot-91e858dcf667e58f1c814cfcd32d6d8d811b03a7.tar.bz2
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 <troy.lin@rock-chips.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/rk3399-evb-u-boot.dtsi4
-rw-r--r--arch/arm/dts/rk3399-u-boot.dtsi6
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3399-evb-u-boot.dtsi b/arch/arm/dts/rk3399-evb-u-boot.dtsi
index ccb33d3..f68a56f 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 8b857cc..757b8c1 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";