imx6: update upstream patches
[openwrt/svn-archive/archive.git] / target / linux / imx6 / patches-3.14 / 0055-ARM_dts_imx_fix-invallid-#address-cells-value.patch
1 commit d644122d8420c425fdf5c74e50d440d5f146bc0c
2 Author: Tim Harvey <tharvey@gateworks.com>
3 Date: Thu Mar 13 09:37:51 2014 -0700
4
5 ARM: dts: imx: fix invalid #address-cells value
6
7 The invalid value of #address-cells in the imx6 pcie host controller node
8 causes of_irq_parse_raw() to incorrectly advance through an interrupt-map
9 table of more than one interrupt. We also take the opportunity to drop the
10 unused #size-cells here.
11
12 This patch resolves this issue and allows proper interrupt mapping for an
13 imx6 pcie host connected to a P2P bridge when using legacy interrupts.
14
15 Signed-off-by: Tim Harvey <tharvey@gateworks.com>
16 Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
17 Cc: Jingoo Han <jg1.han@samsung.com>
18 Cc: Lucas Stach <l.stach@pengutronix.de>
19 Cc: Mark Rutland <mark.rutland@arm.com>
20 Cc: linux-samsung-soc <linux-samsung-soc@vger.kernel.org>
21 Cc: Richard Zhu <r65037@freescale.com>
22 Cc: Sascha Hauer <kernel@pengutronix.de>
23 Cc: Arnd Bergmann <arnd@arndb.de>
24 Cc: Stephen Warren <swarren@wwwdotorg.org>
25 Cc: Bjorn Helgaas <bhelgaas@google.com>
26 Cc: Simon Horman <horms@verge.net.au>
27 Cc: Thierry Reding <thierry.reding@gmail.com>
28 Cc: Ben Dooks <ben-linux@fluff.org>
29 Cc: linux-tegra <linux-tegra@vger.kernel.org>
30 Cc: Kukjin Kim <kgene.kim@samsung.com>
31 Cc: Shawn Guo <shawn.guo@linaro.org>
32 Cc: Grant Likely <grant.likely@linaro.org>
33
34 --- a/arch/arm/boot/dts/imx6qdl.dtsi
35 +++ b/arch/arm/boot/dts/imx6qdl.dtsi
36 @@ -40,8 +40,6 @@
37 intc: interrupt-controller@00a01000 {
38 compatible = "arm,cortex-a9-gic";
39 #interrupt-cells = <3>;
40 - #address-cells = <1>;
41 - #size-cells = <1>;
42 interrupt-controller;
43 reg = <0x00a01000 0x1000>,
44 <0x00a00100 0x100>;
45 --- a/arch/arm/boot/dts/imx6sl.dtsi
46 +++ b/arch/arm/boot/dts/imx6sl.dtsi
47 @@ -44,8 +44,6 @@
48 intc: interrupt-controller@00a01000 {
49 compatible = "arm,cortex-a9-gic";
50 #interrupt-cells = <3>;
51 - #address-cells = <1>;
52 - #size-cells = <1>;
53 interrupt-controller;
54 reg = <0x00a01000 0x1000>,
55 <0x00a00100 0x100>;