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

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

Armada 38x supports per CPU interrupts for gpios, like Armada XP. Pre-XP
variants like Armada 370 do not support per CPU interrupts for gpios.

So change compatible string for Armada 38x from "marvell,armada-370-gpio"
which indicates pre-XP variant to "marvell,armadaxp-gpio" which indicates
XP variant or new.

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: 7cb2acb3fbae ("ARM: dts: mvebu: Add PWM properties for armada-38x")
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Pali Rohár and committed by
Gregory CLEMENT
c4de4667 f87db200

+2 -2
+2 -2
arch/arm/boot/dts/armada-38x.dtsi
··· 304 304 }; 305 305 306 306 gpio0: gpio@18100 { 307 - compatible = "marvell,armada-370-gpio", 307 + compatible = "marvell,armadaxp-gpio", 308 308 "marvell,orion-gpio"; 309 309 reg = <0x18100 0x40>, <0x181c0 0x08>; 310 310 reg-names = "gpio", "pwm"; ··· 323 323 }; 324 324 325 325 gpio1: gpio@18140 { 326 - compatible = "marvell,armada-370-gpio", 326 + compatible = "marvell,armadaxp-gpio", 327 327 "marvell,orion-gpio"; 328 328 reg = <0x18140 0x40>, <0x181c8 0x08>; 329 329 reg-names = "gpio", "pwm";