FAQ如何访问RK3568的OTP空间

协助支持rk3568 otp读写失败问题
更新时间:2022.03.21 浏览量:0

RK3568 OTP划分为Non-Secure OTP和Secure OTP。

其中Non-Secure OTP可在非安全世界中读取,不提供写接口,在kernel端可以读取/sys/bus/nvmem/devices/rockchip-otp0/nvmemw文件获取OTP信息。

对于Secure OTP的读写,请参考附件。

另外,RK3568 Non-Secure OTP的Layout中,system info为:

/* Data cells */

cpu_code: cpu-code@2 {

reg = <0x02 0x2>;

};

otp_cpu_version: cpu-version@8 {

reg = <0x08 0x1>;

bits = <3 3>;

};

mbist_vmin: mbist-vmin@9 {

reg = <0x09 0x1>;

bits = <0 4>;

};

otp_id: id@a {

reg = <0x0a 0x10>;

};

cpu_leakage: cpu-leakage@1a {

reg = <0x1a 0x1>;

};

log_leakage: log-leakage@1b {

reg = <0x1b 0x1>;

};

npu_leakage: npu-leakage@1c {

reg = <0x1c 0x1>;

};

gpu_leakage: gpu-leakage@1d {

reg = <0x1d 0x1>;

};

core_pvtm:core-pvtm@2a {

reg = <0x2a 0x2>;

};


附件1:
  • 上一篇:RK3568 交叉编译qt5tools的qtdesigner库
  • 下一篇:关于RK3568芯片滤波电容设计要求