mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vignesh Raghavendra <vigneshr@ti.com>
To: Shiva Tripathi <s-tripathi1@ti.com>, <nm@ti.com>, <praneeth@ti.com>
Cc: <kristo@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
	<conor+dt@kernel.org>, <linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<kamlesh@ti.com>, <t-pratham@ti.com>, <afd@ti.com>,
	<vishalm@ti.com>, <k-malarvizhi@ti.com>
Subject: Re: [PATCH] arm64: dts: ti: k3-am62l: Add RNG node
Date: Mon, 9 Mar 2026 12:11:04 +0530	[thread overview]
Message-ID: <e5795a82-031a-4cc9-8af6-704b6b13e16c@ti.com> (raw)
In-Reply-To: <20260210130058.3458936-1-s-tripathi1@ti.com>



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


      reply	other threads:[~2026-03-09  6:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-10 13:00 Shiva Tripathi
2026-03-09  6:41 ` Vignesh Raghavendra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5795a82-031a-4cc9-8af6-704b6b13e16c@ti.com \
    --to=vigneshr@ti.com \
    --cc=afd@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=k-malarvizhi@ti.com \
    --cc=kamlesh@ti.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=praneeth@ti.com \
    --cc=robh@kernel.org \
    --cc=s-tripathi1@ti.com \
    --cc=t-pratham@ti.com \
    --cc=vishalm@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®