lkml.org 
[lkml]   [2011]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 9/9] ARM: highbank: add interrupt properties to gpio nodes
Date
From: Rob Herring <rob.herring@calxeda.com>

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

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
---
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


\
 
 \ /
  Last update: 2011-12-14 16:33    [from the cache]
©2003-2011 Jasper Spaans