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

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

This reverts commit d10886a4e6f85ee18d47a1066a52168461370ded.

If compatible = "marvell,armadaxp-gpio", the reg property requires a
second (address, size) pair, which points to the per-CPU interrupt
registers <0x18800 0x30> / <0x18840 0x30>.

Furthermore:
Commit 5f79c651e81e explains very well, why the gpio-mvebu driver does not
work reliably with per-CPU interrupts.
Commit 988c8c0cd04d deprecates compatible = marvell,armadaxp-gpio for this
reason.

Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Klaus Kudielka and committed by
Gregory CLEMENT
a4d5d2ef 75b58cf5

+2 -2
+2 -2
arch/arm/boot/dts/armada-39x.dtsi
··· 213 213 }; 214 214 215 215 gpio0: gpio@18100 { 216 - compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; 216 + compatible = "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,armadaxp-gpio", "marvell,orion-gpio"; 230 + compatible = "marvell,orion-gpio"; 231 231 reg = <0x18140 0x40>; 232 232 ngpios = <28>; 233 233 gpio-controller;