blob: 4881561b3a02ac21dcbcb39d72dc9f4d472196a5 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001--------------------------------------------------------------------------
2= Zynq UltraScale+ MPSoC nvmem firmware driver binding =
3--------------------------------------------------------------------------
4The nvmem_firmware node provides access to the hardware related data
5like soc revision, IDCODE... etc, By using the firmware interface.
6
7Required properties:
8- compatible: should be "xlnx,zynqmp-nvmem-fw"
9
10= Data cells =
11Are child nodes of silicon id, bindings of which as described in
12bindings/nvmem/nvmem.txt
13
14-------
15 Example
16-------
17firmware {
18 zynqmp_firmware: zynqmp-firmware {
19 compatible = "xlnx,zynqmp-firmware";
20 method = "smc";
21
22 nvmem_firmware {
23 compatible = "xlnx,zynqmp-nvmem-fw";
24 #address-cells = <1>;
25 #size-cells = <1>;
26
27 /* Data cells */
28 soc_revision: soc_revision {
29 reg = <0x0 0x4>;
30 };
31 };
32 };
33};
34
35= Data consumers =
36Are device nodes which consume nvmem data cells.
37
38For example:
39 pcap {
40 ...
41
42 nvmem-cells = <&soc_revision>;
43 nvmem-cell-names = "soc_revision";
44
45 ...
46 };