arch/arm64/boot/dts/ti/k3-am62l-main.dtsi | 7 +++++++ arch/arm64/boot/dts/ti/k3-am62l.dtsi | 1 + 2 files changed, 8 insertions(+)
Add EIP76 Random Number Generator (RNG) node for AM62L SoC. Unlike
other k3 platforms, AM62L RNG is integrated outside crypto subsystem
at address 0x3b100000, requiring an additional entry in cbass_main
memory map.
Mark the RNG node with status "reserved" as it is intended for use by
OP-TEE for secure random number generation. If required, this hardware
can also be used through Linux kernel by enabling this node.
Signed-off-by: Shiva Tripathi <s-tripathi1@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62l-main.dtsi | 7 +++++++
arch/arm64/boot/dts/ti/k3-am62l.dtsi | 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
index 883beb76ba9c..1b5f90b1ee61 100644
--- a/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
@@ -577,4 +577,11 @@ scmi_shmem: sram@0 {
bootph-all;
};
};
+
+ rng: rng@3b100000 {
+ compatible = "inside-secure,safexcel-eip76";
+ reg = <0x00 0x3b100000 0x00 0x7d>;
+ interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+ status = "reserved"; /* Reserved for OP-TEE */
+ };
};
diff --git a/arch/arm64/boot/dts/ti/k3-am62l.dtsi b/arch/arm64/boot/dts/ti/k3-am62l.dtsi
index 23acdbb301fe..b7d4da303456 100644
--- a/arch/arm64/boot/dts/ti/k3-am62l.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62l.dtsi
@@ -79,6 +79,7 @@ cbass_main: bus@f0000 {
<0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core Window */
<0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core Window */
<0x00 0x3b000000 0x00 0x3b000000 0x00 0x00000400>, /* GPMC0 */
+ <0x00 0x3b100000 0x00 0x3b100000 0x00 0x0000007d>, /* RNG */
<0x00 0x45810000 0x00 0x45810000 0x00 0x03170000>, /* DMSS */
<0x00 0x50000000 0x00 0x50000000 0x00 0x08000000>, /* GPMC DATA */
<0x00 0x60000000 0x00 0x60000000 0x00 0x08000000>, /* FSS DAT1 */
--
2.34.1
On 10/02/26 18:30, Shiva Tripathi wrote:
> Add EIP76 Random Number Generator (RNG) node for AM62L SoC. Unlike
> other k3 platforms, AM62L RNG is integrated outside crypto subsystem
> at address 0x3b100000, requiring an additional entry in cbass_main
> memory map.
>
> Mark the RNG node with status "reserved" as it is intended for use by
> OP-TEE for secure random number generation. If required, this hardware
> can also be used through Linux kernel by enabling this node.
>
> Signed-off-by: Shiva Tripathi <s-tripathi1@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-am62l-main.dtsi | 7 +++++++
> arch/arm64/boot/dts/ti/k3-am62l.dtsi | 1 +
> 2 files changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
> index 883beb76ba9c..1b5f90b1ee61 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62l-main.dtsi
> @@ -577,4 +577,11 @@ scmi_shmem: sram@0 {
> bootph-all;
> };
> };
> +
> + rng: rng@3b100000 {
> + compatible = "inside-secure,safexcel-eip76";
> + reg = <0x00 0x3b100000 0x00 0x7d>;
> + interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
> + status = "reserved"; /* Reserved for OP-TEE */
> + };
See Documentation/devicetree/bindings/dts-coding-style.rst . Place the
node at right location based on the address.
> };
> diff --git a/arch/arm64/boot/dts/ti/k3-am62l.dtsi b/arch/arm64/boot/dts/ti/k3-am62l.dtsi
> index 23acdbb301fe..b7d4da303456 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62l.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62l.dtsi
> @@ -79,6 +79,7 @@ cbass_main: bus@f0000 {
> <0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core Window */
> <0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core Window */
> <0x00 0x3b000000 0x00 0x3b000000 0x00 0x00000400>, /* GPMC0 */
> + <0x00 0x3b100000 0x00 0x3b100000 0x00 0x0000007d>, /* RNG */
> <0x00 0x45810000 0x00 0x45810000 0x00 0x03170000>, /* DMSS */
> <0x00 0x50000000 0x00 0x50000000 0x00 0x08000000>, /* GPMC DATA */
> <0x00 0x60000000 0x00 0x60000000 0x00 0x08000000>, /* FSS DAT1 */
--
Regards
Vignesh
https://ti.com/opensource
© 2016 - 2026 Red Hat, Inc.