arm64: dts: sdm845: add prng-ee node
authorVinod Koul <vkoul@kernel.org>
Mon, 1 Oct 2018 06:21:51 +0000 (11:51 +0530)
committerAndy Gross <andy.gross@linaro.org>
Thu, 15 Nov 2018 19:18:33 +0000 (11:18 -0800)
RNG hardware in SDM845 features (Execution Environment) EE for
HLOS to use, add the node for prng-ee for sdm845.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 98d0540..1419b00 100644 (file)
@@ -12,6 +12,7 @@
 #include <dt-bindings/phy/phy-qcom-qusb2.h>
 #include <dt-bindings/reset/qcom,sdm845-aoss.h>
 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
+#include <dt-bindings/clock/qcom,gcc-sdm845.h>
 
 / {
        interrupt-parent = <&intc>;
                        };
                };
 
+               rng: rng@793000 {
+                       compatible = "qcom,prng-ee";
+                       reg = <0x00793000 0x1000>;
+                       clocks = <&gcc GCC_PRNG_AHB_CLK>;
+                       clock-names = "core";
+               };
+
                qupv3_id_0: geniqup@8c0000 {
                        compatible = "qcom,geni-se-qup";
                        reg = <0x8c0000 0x6000>;