mirror of
https://github.com/torvalds/linux
synced 2024-10-23 03:37:40 +00:00
Dove: activate GPIO interrupts in DT
In a DT, the interrupts of an interrupt-controller are not usable when #interrupt-cells is missing. This patch activates the interrupts of the GPIOs 0 and 1 for the Marvell Dove SoC. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
09d75bc7d2
commit
fd2704e82d
|
@ -93,6 +93,7 @@ gpio0: gpio@d0400 {
|
|||
reg = <0xd0400 0x20>;
|
||||
ngpios = <32>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
interrupts = <12>, <13>, <14>, <60>;
|
||||
};
|
||||
|
||||
|
@ -103,6 +104,7 @@ gpio1: gpio@d0420 {
|
|||
reg = <0xd0420 0x20>;
|
||||
ngpios = <32>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
interrupts = <61>;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue