arm: dts: rockchip: px30: add and enable rng node
authorLin Jinhan <troy.lin@rock-chips.com>
Tue, 31 Mar 2020 09:39:58 +0000 (17:39 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 29 Apr 2020 02:30:55 +0000 (10:30 +0800)
Add enable rng node in px30-evb-u-boot.dtsi.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/px30-evb-u-boot.dtsi
arch/arm/dts/px30-u-boot.dtsi

index aea9f4d6e51f35600676c6815d82f55b1ec64613..61b1433af9192044a34ccf66763f2142a44288ab 100644 (file)
@@ -4,3 +4,7 @@
  */
 
 #include "px30-u-boot.dtsi"
+
+&rng {
+       status = "okay";
+};
index bb782b4e2df138afb9425806c71e4b5dfe882d40..029c8fbd8d99b94487e9ccc952846a2ae491399c 100644 (file)
        chosen {
                u-boot,spl-boot-order = &emmc, &sdmmc;
        };
+
+       rng: rng@ff0b0000 {
+               compatible = "rockchip,cryptov2-rng";
+               reg = <0x0 0xff0b0000 0x0 0x4000>;
+               status = "disabled";
+       };
 };
 
 &dmc {