]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM64: zynqmp: Extend pcie node to support legacy interrupts
authorBharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Mon, 15 Feb 2016 15:48:58 +0000 (21:18 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 13 Apr 2016 16:29:04 +0000 (18:29 +0200)
Modifying device tree node to support legacy interrupts.

Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Ravi Kiran Gummaluri <rgummal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index 48506086f5bbea3ae2604538410d7bc06b2ce3f8..ec6fc6a668415861f4a49772b016f590c91bc3cd 100644 (file)
                              <0x0 0xe0000000 0x1000000>;
                        reg-names = "breg", "pcireg", "cfg";
                        ranges = <0x02000000 0x00000000 0xe1000000 0x00000000 0xe1000000 0 0x0f000000>;
+                       interrupt-map-mask = <0x0 0x0 0x0 0x7>;
+                       interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
+                                       <0x0 0x0 0x0 0x2 &pcie_intc 0x2>,
+                                       <0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
+                                       <0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
+                       pcie_intc: legacy-interrupt-controller {
+                               interrupt-controller;
+                               #address-cells = <0>;
+                               #interrupt-cells = <1>;
+                       };
                };
 
                qspi: spi@ff0f0000 {