ARM: dts: tegra: add PCIe interrupt mapping properties
authorLucas Stach <l.stach@pengutronix.de>
Wed, 5 Mar 2014 13:25:46 +0000 (14:25 +0100)
committerStephen Warren <swarren@nvidia.com>
Thu, 6 Mar 2014 17:37:24 +0000 (10:37 -0700)
Those are defined by the common PCI binding.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 24cee06915c989cfd6866ad5f3d86e3605cd0ae3..c300391e8d3e3eac79b29d1ed231bf7ce7260a94 100644 (file)
@@ -42,6 +42,10 @@ Required properties:
     - 0xc2000000: prefetchable memory region
   Please refer to the standard PCI bus binding document for a more detailed
   explanation.
+- #interrupt-cells: Size representation for interrupts (must be 1)
+- interrupt-map-mask and interrupt-map: Standard PCI IRQ mapping properties
+  Please refer to the standard PCI bus binding document for a more detailed
+  explanation.
 - clocks: Must contain an entry for each entry in clock-names.
   See ../clocks/clock-bindings.txt for details.
 - clock-names: Must include the following entries:
@@ -86,6 +90,10 @@ SoC DTSI:
                              0 99 0x04>; /* MSI interrupt */
                interrupt-names = "intr", "msi";
 
+               #interrupt-cells = <1>;
+               interrupt-map-mask = <0 0 0 0>;
+               interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+
                bus-range = <0x00 0xff>;
                #address-cells = <3>;
                #size-cells = <2>;
index 480ecda3416b841b8941105d24646f1240f5ab37..52ef2cf0b1428dc7541042e3ccdc2afedf7521a4 100644 (file)
                              GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
                interrupt-names = "intr", "msi";
 
+               #interrupt-cells = <1>;
+               interrupt-map-mask = <0 0 0 0>;
+               interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+
                bus-range = <0x00 0xff>;
                #address-cells = <3>;
                #size-cells = <2>;
index 18d52a7704ccdcb38fc34e073f151e8151ec3d40..6c9ee9697e67df56cd78eb3eb6aa910367e2f2fe 100644 (file)
                              GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
                interrupt-names = "intr", "msi";
 
+               #interrupt-cells = <1>;
+               interrupt-map-mask = <0 0 0 0>;
+               interrupt-map = <0 0 0 0 &intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+
                bus-range = <0x00 0xff>;
                #address-cells = <3>;
                #size-cells = <2>;