imx6: update upstream patch
[openwrt.git] / target / linux / imx6 / patches-3.14 / 0007-ARM-dts-imx-drop-invalid-size-and-address-cells-prop.patch
1 From 54e8eaeec1227a024373e37315770cc79d69917b Mon Sep 17 00:00:00 2001
2 From: Lucas Stach <l.stach@pengutronix.de>
3 Date: Fri, 28 Mar 2014 17:25:51 +0100
4 Subject: [PATCH] ARM: dts: imx: drop invalid size and address cells properties
5
6 Those two properties should have been set to zero, which
7 is the same as not specifying them.
8
9 Having address-cells set to 1 causes OF interrupt
10 mapping routines to add 1 to the interrupt-cells
11 property and as result fail because all calculations
12 are off by one.
13
14 Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
15 Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
16 ---
17  arch/arm/boot/dts/imx6qdl.dtsi | 2 --
18  arch/arm/boot/dts/imx6sl.dtsi  | 2 --
19  2 files changed, 4 deletions(-)
20
21 --- a/arch/arm/boot/dts/imx6qdl.dtsi
22 +++ b/arch/arm/boot/dts/imx6qdl.dtsi
23 @@ -40,8 +40,6 @@
24         intc: interrupt-controller@00a01000 {
25                 compatible = "arm,cortex-a9-gic";
26                 #interrupt-cells = <3>;
27 -               #address-cells = <1>;
28 -               #size-cells = <1>;
29                 interrupt-controller;
30                 reg = <0x00a01000 0x1000>,
31                       <0x00a00100 0x100>;
32 --- a/arch/arm/boot/dts/imx6sl.dtsi
33 +++ b/arch/arm/boot/dts/imx6sl.dtsi
34 @@ -44,8 +44,6 @@
35         intc: interrupt-controller@00a01000 {
36                 compatible = "arm,cortex-a9-gic";
37                 #interrupt-cells = <3>;
38 -               #address-cells = <1>;
39 -               #size-cells = <1>;
40                 interrupt-controller;
41                 reg = <0x00a01000 0x1000>,
42                       <0x00a00100 0x100>;