Skip to content

Commit c9c6127

Browse files
shiva-tir-vignesh
authored andcommitted
arm64: dts: ti: k3-am62l-main: Add RNG node
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> Link: https://patch.msgid.link/20260309101650.1652240-1-s-tripathi1@ti.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
1 parent 41a7b57 commit c9c6127

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

arch/arm64/boot/dts/ti/k3-am62l-main.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,13 @@
564564
status = "disabled";
565565
};
566566

567+
rng: rng@3b100000 {
568+
compatible = "inside-secure,safexcel-eip76";
569+
reg = <0x00 0x3b100000 0x00 0x7d>;
570+
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
571+
status = "reserved"; /* Reserved for OP-TEE */
572+
};
573+
567574
oc_sram: sram@70800000 {
568575
compatible = "mmio-sram";
569576
reg = <0x00 0x70800000 0x00 0x10000>;

arch/arm64/boot/dts/ti/k3-am62l.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
<0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core Window */
8080
<0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core Window */
8181
<0x00 0x3b000000 0x00 0x3b000000 0x00 0x00000400>, /* GPMC0 */
82+
<0x00 0x3b100000 0x00 0x3b100000 0x00 0x0000007d>, /* RNG */
8283
<0x00 0x45810000 0x00 0x45810000 0x00 0x03170000>, /* DMSS */
8384
<0x00 0x50000000 0x00 0x50000000 0x00 0x08000000>, /* GPMC DATA */
8485
<0x00 0x60000000 0x00 0x60000000 0x00 0x08000000>, /* FSS DAT1 */

0 commit comments

Comments
 (0)