Back to home page

OSCL-LXR

 
 

    


0001 --------------------------------------------------------------------------
0002 =  Zynq UltraScale+ MPSoC nvmem firmware driver binding =
0003 --------------------------------------------------------------------------
0004 The nvmem_firmware node provides access to the hardware related data
0005 like soc revision, IDCODE... etc, By using the firmware interface.
0006 
0007 Required properties:
0008 - compatible: should be "xlnx,zynqmp-nvmem-fw"
0009 
0010 = Data cells =
0011 Are child nodes of silicon id, bindings of which as described in
0012 bindings/nvmem/nvmem.txt
0013 
0014 -------
0015  Example
0016 -------
0017 firmware {
0018         zynqmp_firmware: zynqmp-firmware {
0019                 compatible = "xlnx,zynqmp-firmware";
0020                 method = "smc";
0021 
0022                 nvmem_firmware {
0023                         compatible = "xlnx,zynqmp-nvmem-fw";
0024                         #address-cells = <1>;
0025                         #size-cells = <1>;
0026 
0027                         /* Data cells */
0028                         soc_revision: soc_revision {
0029                                 reg = <0x0 0x4>;
0030                         };
0031                 };
0032         };
0033 };
0034 
0035 = Data consumers =
0036 Are device nodes which consume nvmem data cells.
0037 
0038 For example:
0039         pcap {
0040                 ...
0041 
0042                 nvmem-cells = <&soc_revision>;
0043                 nvmem-cell-names = "soc_revision";
0044 
0045                 ...
0046         };