[PATCH] misc: Add RZG2L OTP support

Mathieu Othacehe othacehe at gnu.org
Fri Apr 17 10:00:36 CEST 2026


Hello Marek,

>> + * XXX: To enable direct fusing through U-Boot, the trusted-firmware must
>> + * allow the non-secure world to perform fusing operations. This is controlled
>> + * by the SYS_SLVACCCTL7 register.
>
> Is there some SMC call to perform the fusing via TFA ?

No, there is a fusing driver in Renesas OP-TEE fork[1] but that's it.

>> + */
>> +#define RZG2L_OTP_BASE      0x11860000
>> +#define RZG2L_SYSC_BASE     0x11020000
>
> Can this be parsed out of DT ?

There is no entry for the OTP_BASE in the device-tree. There is one for
the SYSC_BASE though.

I took the rest of your comments into account and sent a v2.

Thanks,

Mathieu

[1]: https://github.com/renesas-rz/rzg_optee-os


More information about the U-Boot mailing list