lkml.org 
[lkml]   [2019]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 3/3] ARM: dts: lpc32xx: add GPIO interrupts
Date
Add the interrupts for the GPIO controller.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---

the previous patch was missing a line, sorry about that.

Changes in v2:
- add missing interrupt for gpi19

arch/arm/boot/dts/lpc32xx.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi
index 20b38f4ade37..a012f668ebd1 100644
--- a/arch/arm/boot/dts/lpc32xx.dtsi
+++ b/arch/arm/boot/dts/lpc32xx.dtsi
@@ -392,6 +392,32 @@
reg = <0x40028000 0x1000>;
gpio-controller;
#gpio-cells = <3>; /* bank, pin, flags */
+ interrupts-extended = <&sic2 8 IRQ_TYPE_NONE>,
+ <&sic2 22 IRQ_TYPE_NONE>,
+ <&sic2 23 IRQ_TYPE_NONE>,
+ <&sic2 24 IRQ_TYPE_NONE>,
+ <&sic2 25 IRQ_TYPE_NONE>,
+ <&sic2 26 IRQ_TYPE_NONE>,
+ <&sic2 27 IRQ_TYPE_NONE>,
+ <&sic2 28 IRQ_TYPE_NONE>,
+ <&sic2 15 IRQ_TYPE_NONE>,
+ <&sic2 9 IRQ_TYPE_NONE>,
+ <&sic2 10 IRQ_TYPE_NONE>,
+ <&sic2 11 IRQ_TYPE_NONE>,
+ <&sic1 4 IRQ_TYPE_NONE>,
+ <&sic2 0 IRQ_TYPE_NONE>,
+ <&sic2 1 IRQ_TYPE_NONE>,
+ <&sic2 2 IRQ_TYPE_NONE>,
+ <&sic2 3 IRQ_TYPE_NONE>,
+ <&sic2 4 IRQ_TYPE_NONE>,
+ <&sic2 5 IRQ_TYPE_NONE>;
+ interrupt-names = "p01",
+ "gpi00", "gpi01", "gpi02",
+ "gpi03", "gpi04", "gpi05",
+ "gpi06", "gpi07", "gpi08",
+ "gpi09", "gpi19", "gpi28",
+ "gpio00", "gpio01", "gpio02",
+ "gpio03", "gpio04", "gpio05";
};

timer4: timer@4002c000 {
--
2.20.1
\
 
 \ /
  Last update: 2019-04-10 12:54    [W:0.073 / U:8.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site