]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commitdiff
ARM64: zynqmp: Add bindings for PM firmware
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 22 Nov 2016 00:12:04 +0000 (16:12 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Dec 2016 06:58:03 +0000 (07:58 +0100)
Document the DT bindings for the Zynq UltraScale+ PM Firmware.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt
new file mode 100644 (file)
index 0000000..222a18c
--- /dev/null
@@ -0,0 +1,19 @@
+Xilinx Zynq MPSoC Firmware Device Tree Bindings
+
+The zynqmp-pm node describes the interface to platform firmware.
+
+Required properties:
+ - compatible: Must contain:  "xlnx,zynqmp-pm"
+ - method:     The method of calling the PM-API firmware layer.
+               Permitted values are:
+                - "smc" : To be used in configurations without a hypervisor
+                - "hvc" : To be used when hypervisor is present
+ - interrupts: Interrupt specifier
+
+Examples:
+       zynqmp-firmware {
+               compatible = "xlnx,zynqmp-pm";
+               method = "smc";
+               interrupt-parent = <&gic>;
+               interrupts = <0 35 4>;
+       };