]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
dt-bindings: soc: xilinx: ai_engine: Add interrupts
authorHyun Kwon <hyun.kwon@xilinx.com>
Thu, 4 Apr 2019 17:03:31 +0000 (10:03 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 9 Apr 2019 09:16:53 +0000 (11:16 +0200)
Add the interrupts definition.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Reviewed-by: Wendy Liang <wendy.liang@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/soc/xilinx/xlnx,ai_engine.txt

index f62666678d246166130cd2411e6bc84597db29c6..04244a6bc2daeed636eb313b2d7cfd13ea958c7c 100644 (file)
@@ -10,10 +10,19 @@ Required properties:
 
 - compatible: Must be "xlnx,ai_engine".
 - reg: Physical base address and length of the registers set for the device.
+- interrupt-parent: the phandle to the interrupt controller.
+- interrupts: the interrupt numbers.
+- interrupt-names: Should be "interrupt0", "interrupt1", "interrupt2" or
+  "interrupt3".
 
 Example:
 
        ai_engine@80000000 {
                compatible = "xlnx,ai_engine";
                reg = <0x0 0x80000000 0x0 0x20000000>;
+               interrupt-parent = <&gic>;
+               interrupts = <0x0 0x94 0x1>,
+                            <0x0 0x95 0x1>,
+                            <0x0 0x96 0x1>;
+               interrupt-names = "interrupt1", "interrupt2", "interrupt3";
        };