]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: ti: k3-am62p-j722s: Add rng node
authorMichael Walle <mwalle@kernel.org>
Tue, 1 Apr 2025 08:32:46 +0000 (10:32 +0200)
committerNishanth Menon <nm@ti.com>
Fri, 18 Apr 2025 18:28:13 +0000 (13:28 -0500)
Add the node for the random number generator inside the crypto module.
Marked reserved since the default usage is with the RNG node being
controlled by OP-TEE.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20250401083246.3228964-1-mwalle@kernel.org
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi

index 6e3beb5c2e010e1ac8bf034f85868004d8ad7514..7b65538110e8178288530e1ddb6d08428b3ba7f2 100644 (file)
                reg = <0x00 0x40900000 0x00 0x1200>;
                #address-cells = <2>;
                #size-cells = <2>;
+               ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;
+
                dmas = <&main_pktdma 0xf501 0>, <&main_pktdma 0x7506 0>,
                       <&main_pktdma 0x7507 0>;
                dma-names = "tx", "rx1", "rx2";
+
+               rng: rng@40910000 {
+                       compatible = "inside-secure,safexcel-eip76";
+                       reg = <0x00 0x40910000 0x0 0x7d>;
+                       interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "reserved";
+               };
        };
 
        secure_proxy_sa3: mailbox@43600000 {