[PATCH 9/9] ARM: highbank: add interrupt properties to gpio nodes

From: Rob Herring
Date: Wed Dec 14 2011 - 10:30:50 EST


From: Rob Herring <rob.herring@xxxxxxxxxxx>

Add interrupt-controller properties to pl061 gpio nodes so gpio lines can
function as interrupts.

Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx>
---
arch/arm/boot/dts/highbank.dts | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boot/dts/highbank.dts b/arch/arm/boot/dts/highbank.dts
index aeb1a75..dfe2b49 100644
--- a/arch/arm/boot/dts/highbank.dts
+++ b/arch/arm/boot/dts/highbank.dts
@@ -89,7 +89,6 @@
#size-cells = <0>;
#address-cells = <1>;
interrupt-controller;
- interrupt-parent;
reg = <0xfff11000 0x1000>,
<0xfff10100 0x100>;
};
@@ -129,6 +128,8 @@
#gpio-cells = <2>;
compatible = "arm,pl061", "arm,primecell";
gpio-controller;
+ interrupt-controller;
+ #interrupt-cells = <2>;
reg = <0xfff30000 0x1000>;
interrupts = <0 14 4>;
};
@@ -137,6 +138,8 @@
#gpio-cells = <2>;
compatible = "arm,pl061", "arm,primecell";
gpio-controller;
+ interrupt-controller;
+ #interrupt-cells = <2>;
reg = <0xfff31000 0x1000>;
interrupts = <0 15 4>;
};
@@ -145,6 +148,8 @@
#gpio-cells = <2>;
compatible = "arm,pl061", "arm,primecell";
gpio-controller;
+ interrupt-controller;
+ #interrupt-cells = <2>;
reg = <0xfff32000 0x1000>;
interrupts = <0 16 4>;
};
@@ -153,6 +158,8 @@
#gpio-cells = <2>;
compatible = "arm,pl061", "arm,primecell";
gpio-controller;
+ interrupt-controller;
+ #interrupt-cells = <2>;
reg = <0xfff33000 0x1000>;
interrupts = <0 17 4>;
};
--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/