[PATCH] rockchip: enable RNG on RockPro64

Kever Yang kever.yang at rock-chips.com
Mon May 25 04:57:45 CEST 2020


Hi Marcin,

     Could you add a brief commit message for this patch?


Thanks,

- Kever

On 2020/5/23 下午8:18, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
> ---
>   arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 ++++
>   configs/rockpro64-rk3399_defconfig        | 2 ++
>   2 files changed, 6 insertions(+)
>
> diff --git arch/arm/dts/rk3399-rockpro64-u-boot.dtsi arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
> index deaa3efd39..824ee4e3ce 100644
> --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
> +++ arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
> @@ -23,3 +23,7 @@
>   &vdd_log {
>   	regulator-init-microvolt = <950000>;
>   };
> +
> +&rng {
> +	status = "okay";
> +};
> diff --git configs/rockpro64-rk3399_defconfig configs/rockpro64-rk3399_defconfig
> index 53abce0057..04ba151475 100644
> --- configs/rockpro64-rk3399_defconfig
> +++ configs/rockpro64-rk3399_defconfig
> @@ -43,6 +43,8 @@ CONFIG_REGULATOR_PWM=y
>   CONFIG_REGULATOR_RK8XX=y
>   CONFIG_PWM_ROCKCHIP=y
>   CONFIG_RAM_RK3399_LPDDR4=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_ROCKCHIP=y
>   CONFIG_BAUDRATE=1500000
>   CONFIG_DEBUG_UART_SHIFT=2
>   CONFIG_ROCKCHIP_SPI=y




More information about the U-Boot mailing list