imx6: kernel: update 3.14 pcie patches
[openwrt/svn-archive/archive.git] / target / linux / imx6 / patches-3.14 / 0065-ARM-dts-imx6-add-PCIe-interrupt-mapping-properties.patch
1 From 07134a365f1c4be6e840a00ae452d1593f15c5fc Mon Sep 17 00:00:00 2001
2 From: Lucas Stach <l.stach@pengutronix.de>
3 Date: Wed, 5 Mar 2014 14:25:50 +0100
4 Subject: [PATCH] ARM: dts: imx6: add PCIe interrupt mapping properties
5
6 As defined by the common PCI bindings.
7
8 Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
9 Acked-by: Arnd Bergmann <arnd@arndb.de>
10 Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 ---
12 arch/arm/boot/dts/imx6qdl.dtsi | 8 ++++++++
13 1 file changed, 8 insertions(+)
14
15 --- a/arch/arm/boot/dts/imx6qdl.dtsi
16 +++ b/arch/arm/boot/dts/imx6qdl.dtsi
17 @@ -10,6 +10,8 @@
18 * http://www.gnu.org/copyleft/gpl.html
19 */
20
21 +#include <dt-bindings/interrupt-controller/arm-gic.h>
22 +
23 #include "skeleton.dtsi"
24
25 / {
26 @@ -125,6 +127,12 @@
27 0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
28 num-lanes = <1>;
29 interrupts = <0 123 0x04>;
30 + #interrupt-cells = <1>;
31 + interrupt-map-mask = <0 0 0 0x7>;
32 + interrupt-map = <0 0 0 1 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
33 + <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
34 + <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
35 + <0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
36 clocks = <&clks 189>, <&clks 187>, <&clks 206>, <&clks 144>;
37 clock-names = "pcie_ref_125m", "sata_ref_100m", "lvds_gate", "pcie_axi";
38 status = "disabled";