]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rockchip: rk3399: enable rng at the SoC level
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 16 Dec 2020 15:48:42 +0000 (15:48 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 21 Jan 2021 03:55:59 +0000 (11:55 +0800)
The rng is embedded in the SoC so enable it in the device tree
universally, the use of it can be controlled by enabling/disabling
at the device config level.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
arch/arm/dts/rk3399-evb-u-boot.dtsi
arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
arch/arm/dts/rk3399-u-boot.dtsi

index 523ae78657f1e4d605f1c0ad2daf3d60f086cea8..5e39b1493dbe69cc27c0a1fb3743215981fbd966 100644 (file)
        };
 };
 
-&rng {
-       status = "okay";
-};
-
 &i2c0 {
        u-boot,dm-pre-reloc;
 };
index ee3b98698e68eba5f89d6a6875ca85f5db2159aa..1eafb40ce32d7e2865805fb1e0481764fbb01beb 100644 (file)
        u-boot,dm-pre-reloc;
 };
 
-&rng {
-       status = "okay";
-};
-
 &sdhci {
        max-frequency = <25000000>;
        u-boot,dm-pre-reloc;
index 6317b47e41a67034c89a86a32fc83d13ccb4fdf9..37dff04adf004154cea4a55dd758547ba089f53a 100644 (file)
        };
 };
 
-&rng {
-       status = "okay";
-};
-
 &spi1 {
        spi_flash: flash@0 {
                u-boot,dm-pre-reloc;
index ecd230c7202a0660ffe15033919e3d6f1b797c8b..73922c328a3d9bfe633ca3267f16643247cfc111 100644 (file)
@@ -32,7 +32,7 @@
        rng: rng@ff8b8000 {
                compatible = "rockchip,cryptov1-rng";
                reg = <0x0 0xff8b8000 0x0 0x1000>;
-               status = "disabled";
+               status = "okay";
        };
 
        dmc: dmc {