imx6: update upstream patch
[15.05/openwrt.git] / target / linux / imx6 / patches-3.14 / 0007-ARM-dts-imx-drop-invalid-size-and-address-cells-prop.patch
diff --git a/target/linux/imx6/patches-3.14/0007-ARM-dts-imx-drop-invalid-size-and-address-cells-prop.patch b/target/linux/imx6/patches-3.14/0007-ARM-dts-imx-drop-invalid-size-and-address-cells-prop.patch
new file mode 100644 (file)
index 0000000..075e4a9
--- /dev/null
@@ -0,0 +1,42 @@
+From 54e8eaeec1227a024373e37315770cc79d69917b Mon Sep 17 00:00:00 2001
+From: Lucas Stach <l.stach@pengutronix.de>
+Date: Fri, 28 Mar 2014 17:25:51 +0100
+Subject: [PATCH] ARM: dts: imx: drop invalid size and address cells properties
+
+Those two properties should have been set to zero, which
+is the same as not specifying them.
+
+Having address-cells set to 1 causes OF interrupt
+mapping routines to add 1 to the interrupt-cells
+property and as result fail because all calculations
+are off by one.
+
+Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
+Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
+---
+ arch/arm/boot/dts/imx6qdl.dtsi | 2 --
+ arch/arm/boot/dts/imx6sl.dtsi  | 2 --
+ 2 files changed, 4 deletions(-)
+
+--- a/arch/arm/boot/dts/imx6qdl.dtsi
++++ b/arch/arm/boot/dts/imx6qdl.dtsi
+@@ -40,8 +40,6 @@
+       intc: interrupt-controller@00a01000 {
+               compatible = "arm,cortex-a9-gic";
+               #interrupt-cells = <3>;
+-              #address-cells = <1>;
+-              #size-cells = <1>;
+               interrupt-controller;
+               reg = <0x00a01000 0x1000>,
+                     <0x00a00100 0x100>;
+--- a/arch/arm/boot/dts/imx6sl.dtsi
++++ b/arch/arm/boot/dts/imx6sl.dtsi
+@@ -44,8 +44,6 @@
+       intc: interrupt-controller@00a01000 {
+               compatible = "arm,cortex-a9-gic";
+               #interrupt-cells = <3>;
+-              #address-cells = <1>;
+-              #size-cells = <1>;
+               interrupt-controller;
+               reg = <0x00a01000 0x1000>,
+                     <0x00a00100 0x100>;