Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: armada-39x: Fix compatible string for gpios

Armada 39x supports per CPU interrupts for gpios, like Armada XP.

So add compatible string "marvell,armadaxp-gpio" for Armada 39x GPIO nodes.

Driver gpio-mvebu.c which handles both pre-XP and XP variants already
provides support for per CPU interrupts on XP and newer variants.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: d81a914fc630 ("ARM: dts: mvebu: armada-39x: add missing nodes describing GPIO's")
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Pali Rohár and committed by
Gregory CLEMENT
d10886a4 c4de4667

+2 -2
+2 -2
arch/arm/boot/dts/armada-39x.dtsi
··· 213 213 }; 214 214 215 215 gpio0: gpio@18100 { 216 - compatible = "marvell,orion-gpio"; 216 + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; 217 217 reg = <0x18100 0x40>; 218 218 ngpios = <32>; 219 219 gpio-controller; ··· 227 227 }; 228 228 229 229 gpio1: gpio@18140 { 230 - compatible = "marvell,orion-gpio"; 230 + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; 231 231 reg = <0x18140 0x40>; 232 232 ngpios = <28>; 233 233 gpio-controller;