diff mbox series

[v2,2/2] arm64: dts: qcom: qcs615: add TRNG node

Message ID 20250228-enable-trng-for-qcs615-v2-2-017aa858576e@quicinc.com (mailing list archive)
State New
Headers show
Series Enable TRNG for QCS615 Platform | expand

Commit Message

Abhinaba Rakshit Feb. 27, 2025, 8:15 p.m. UTC
The qcs615 SoC has a True Random Number Generator, add the node
with the correct compatible set.

Signed-off-by: Abhinaba Rakshit <quic_arakshit@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qcs615.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Konrad Dybcio Feb. 27, 2025, 8:24 p.m. UTC | #1
On 27.02.2025 9:15 PM, Abhinaba Rakshit wrote:
> The qcs615 SoC has a True Random Number Generator, add the node
> with the correct compatible set.
> 
> Signed-off-by: Abhinaba Rakshit <quic_arakshit@quicinc.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi
index f4abfad474ea62dea13d05eb874530947e1e8d3e..9048514e8ae9046df5cad4b8129311563af68f68 100644
--- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
@@ -453,6 +453,11 @@  qusb2_hstx_trim: hstx-trim@1f8 {
 			};
 		};
 
+		rng@793000 {
+			compatible = "qcom,qcs615-trng", "qcom,trng";
+			reg = <0x0 0x00793000 0x0 0x1000>;
+		};
+
 		sdhc_1: mmc@7c4000 {
 			compatible = "qcom,qcs615-sdhci", "qcom,sdhci-msm-v5";
 			reg = <0x0 0x007c4000 0x0 0x1000>,