diff mbox series

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

Message ID 20250224-enable-trng-for-qcs615-v1-2-3243eb7d345a@quicinc.com
State New
Headers show
Series [1/2] dt-bindings: crypto: qcom-qce: document QCS615 crypto engine | expand

Commit Message

Abhinaba Rakshit Feb. 24, 2025, 9:50 a.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. 25, 2025, 1:53 p.m. UTC | #1
On 24.02.2025 10:50 AM, 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>
> ---
>  arch/arm64/boot/dts/qcom/qcs615.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi
> index f4abfad474ea62dea13d05eb874530947e1e8d3e..ab0bf68fdd8c2e223c242f70e779a3d9374292ea 100644
> --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
> @@ -973,6 +973,11 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
>  			};
>  		};
>  
> +		rng@793000 {
> +			compatible = "qcom,qcs615-trng", "qcom,trng";
> +			reg = <0x0 0x00793000 0x0 0x1000>;
> +		};

Please move it so that the nodes are sorted address-wise

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..ab0bf68fdd8c2e223c242f70e779a3d9374292ea 100644
--- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
@@ -973,6 +973,11 @@  &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
 			};
 		};
 
+		rng@793000 {
+			compatible = "qcom,qcs615-trng", "qcom,trng";
+			reg = <0x0 0x00793000 0x0 0x1000>;
+		};
+
 		config_noc: interconnect@1500000 {
 			reg = <0x0 0x01500000 0x0 0x5080>;
 			compatible = "qcom,qcs615-config-noc";