Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: firmware: xilinx: Describe soc-nvmem subnode

Describe soc-nvmem subnode as the part of firmware node. The name can't be
pure nvmem because dt-schema already defines it as array property that's
why different name should be used.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/24fe6adbf2424360618e8f5ca541ebfd8bb0723e.1706692641.git.michal.simek@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>

+18
+18
Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
··· 62 62 interface. 63 63 type: object 64 64 65 + soc-nvmem: 66 + $ref: /schemas/nvmem/xlnx,zynqmp-nvmem.yaml# 67 + description: The ZynqMP MPSoC provides access to the hardware related data 68 + like SOC revision, IDCODE and specific purpose efuses. 69 + type: object 70 + 65 71 pcap: 66 72 $ref: /schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml 67 73 description: The ZynqMP SoC uses the PCAP (Processor Configuration Port) to ··· 116 110 firmware { 117 111 zynqmp_firmware: zynqmp-firmware { 118 112 #power-domain-cells = <1>; 113 + soc-nvmem { 114 + compatible = "xlnx,zynqmp-nvmem-fw"; 115 + nvmem-layout { 116 + compatible = "fixed-layout"; 117 + #address-cells = <1>; 118 + #size-cells = <1>; 119 + 120 + soc_revision: soc-revision@0 { 121 + reg = <0x0 0x4>; 122 + }; 123 + }; 124 + }; 119 125 gpio { 120 126 compatible = "xlnx,zynqmp-gpio-modepin"; 121 127 gpio-controller;