mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
27 lines
808 B
Diff
27 lines
808 B
Diff
From e5b5361651940ff5c0c1784dfd0130abec7ab535 Mon Sep 17 00:00:00 2001
|
|
From: wevsty <ty@wevs.org>
|
|
Date: Mon, 24 Aug 2020 02:27:11 +0800
|
|
Subject: [PATCH] arm64: dts: rockchip: add hardware random number generator
|
|
for RK3328 and RK3399
|
|
|
|
Adding Hardware Random Number Generator Resources to the RK3328 and RK3399.
|
|
|
|
Signed-off-by: wevsty <ty@wevs.org>
|
|
---
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
@@ -1127,10 +1127,10 @@
|
|
};
|
|
|
|
rng: rng@fe388000 {
|
|
- compatible = "rockchip,rk3568-rng";
|
|
+ compatible = "rockchip,cryptov2-rng";
|
|
reg = <0x0 0xfe388000 0x0 0x4000>;
|
|
clocks = <&cru CLK_TRNG_NS>, <&cru HCLK_TRNG_NS>;
|
|
- clock-names = "core", "ahb";
|
|
+ clock-names = "clk_trng", "hclk_trng";
|
|
resets = <&cru SRST_TRNG_NS>;
|
|
status = "disabled";
|
|
};
|