diff mbox series

[v2,7/7] arm64: dts: qcom: sm8450: add TRNG node

Message ID 20230824-topic-sm8550-rng-v2-7-dfcafbb16a3e@linaro.org (mailing list archive)
State Superseded
Delegated to: Herbert Xu
Headers show
Series arm64: qcom: sm8550: enable RNG | expand

Commit Message

Neil Armstrong Aug. 24, 2023, 11:33 a.m. UTC
The SM8450 SoC has a True Random Number Generator, add the node with
the correct compatible set.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Konrad Dybcio Aug. 24, 2023, 11:49 a.m. UTC | #1
On 24.08.2023 13:33, Neil Armstrong wrote:
> The SM8450 SoC has a True Random Number Generator, add the node with
> the correct compatible set.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 6ae64059cea5..e267c6286b1a 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -1738,6 +1738,11 @@  spi14: spi@a98000 {
 			};
 		};
 
+		rng: rng@10c3000 {
+			compatible = "qcom,sm8450-trng", "qcom,trng";
+			reg = <0 0x010c3000 0 0x1000>;
+		};
+
 		pcie0: pci@1c00000 {
 			compatible = "qcom,pcie-sm8450-pcie0";
 			reg = <0 0x01c00000 0 0x3000>,