Solution ZynqMP SoC revision read mechanism

This page gives an overview of the zynqmp_nvmem driver which is available as part of the ZynqMP Linux distribution. Paths, files, links and documentation on this page are given relative to the Linux kernel source tree.


Table of  Contents


HW IP Features

  • SoC revision information
  • Efuse memory access.

Features supported in driver

  • SoC revision information
  • Programming and reading efuse memory

Missing Features, Known Issues and Limitations

  • None.

Kernel Configuration


Device Drivers ---> NVMEM Support ---> <*> Xilinx ZYNQMP SoC ID suppor


Devicetree
nvmem_firmware {
compatible = "xlnx,zynqmp-nvmem-fw";
#address-cells = <1>;
#size-cells = <1>;

soc_revision: soc_revision@0 {
          reg = <0x0 0x4>;
};
/* efuse access */
efuse_dna: efuse_dna@c {
         reg = <0xc 0xc>;
};
efuse_usr0: efuse_usr0@20 {
         reg = <0x20 0x4>;
};
efuse_usr1: efuse_usr1@24 {
         reg = <0x24 0x4>;
};
efuse_usr2: efuse_usr2@28 {
        reg = <0x28 0x4>;
};
efuse_usr3: efuse_usr3@2c {
       reg = <0x2c 0x4>;
};
efuse_usr4: efuse_usr4@30 {
       reg = &l