From: Brian Masney Date: Tue, 3 Jan 2023 18:22:29 +0000 (-0500) Subject: arm64: dts: qcom: sc8280xp: add rng device tree node X-Git-Tag: v6.6.7~3530^2~45^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa5573edd01e6dcf5aa2b2298be2a35d04917148;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: qcom: sc8280xp: add rng device tree node Add the necessary device tree node for qcom,prng-ee so we can use the hardware random number generator. This functionality was tested on a SA8540p automotive development board using kcapi-rng from libkcapi. Signed-off-by: Brian Masney Reviewed-by: Konrad Dybcio Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20230103182229.37169-11-bmasney@redhat.com --- diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index e9a0ff5..70d0da0 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1639,6 +1639,13 @@ }; }; + rng: rng@10d3000 { + compatible = "qcom,prng-ee"; + reg = <0 0x010d3000 0 0x1000>; + clocks = <&rpmhcc RPMH_HWKM_CLK>; + clock-names = "core"; + }; + pcie4: pcie@1c00000 { device_type = "pci"; compatible = "qcom,pcie-sc8280xp";