OSDN Git Service

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 24cee06..c300391 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 480ecda..52ef2cf 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 18d52a7..6c9ee96 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>;