Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd2704e8 authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Jason Cooper
Browse files

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: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 09d75bc7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -93,6 +93,7 @@
			reg = <0xd0400 0x20>;
			reg = <0xd0400 0x20>;
			ngpios = <32>;
			ngpios = <32>;
			interrupt-controller;
			interrupt-controller;
			#interrupt-cells = <2>;
			interrupts = <12>, <13>, <14>, <60>;
			interrupts = <12>, <13>, <14>, <60>;
		};
		};


@@ -103,6 +104,7 @@
			reg = <0xd0420 0x20>;
			reg = <0xd0420 0x20>;
			ngpios = <32>;
			ngpios = <32>;
			interrupt-controller;
			interrupt-controller;
			#interrupt-cells = <2>;
			interrupts = <61>;
			interrupts = <61>;
		};
		};