[PATCH 2/2] ARM: dts: imx: fix invalid #address-cells value

Tim Harvey tharvey at gateworks.com
Thu Mar 13 13:40:05 EDT 2014


The invalid value of #address-cells in the imx6 pcie host controller node
causes of_irq_parse_raw() to incorrectly advance through an interrupt-map
table of more than one interrupt.

This patch resolves this issue and allows proper interrupt mapping for an
imx6 pcie host connected to a P2P bridge when using legacy interrupts.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
Cc: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>
Cc: Jingoo Han <jg1.han at samsung.com>
Cc: Lucas Stach <l.stach at pengutronix.de>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: linux-samsung-soc <linux-samsung-soc at vger.kernel.org>
Cc: Richard Zhu <r65037 at freescale.com>
Cc: Sascha Hauer <kernel at pengutronix.de>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Stephen Warren <swarren at wwwdotorg.org>
Cc: Bjorn Helgaas <bhelgaas at google.com>
Cc: Simon Horman <horms at verge.net.au>
Cc: Thierry Reding <thierry.reding at gmail.com>
Cc: Ben Dooks <ben-linux at fluff.org>
Cc: linux-tegra <linux-tegra at vger.kernel.org>
Cc: Kukjin Kim <kgene.kim at samsung.com>
Cc: Shawn Guo <shawn.guo at linaro.org>
Cc: Grant Likely <grant.likely at linaro.org>
---
 arch/arm/boot/dts/imx6qdl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index af8d28d..2285299 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -49,7 +49,7 @@
 	intc: interrupt-controller at 00a01000 {
 		compatible = "arm,cortex-a9-gic";
 		#interrupt-cells = <3>;
-		#address-cells = <1>;
+		#address-cells = <0>;
 		#size-cells = <1>;
 		interrupt-controller;
 		reg = <0x00a01000 0x1000>,
-- 
1.8.3.2




More information about the linux-arm-kernel mailing list