]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM64: dts: marvell: armada-37xx: Fix the number of GPIO on south bridge
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 1 Aug 2017 16:01:35 +0000 (18:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2017 15:33:53 +0000 (08:33 -0700)
commit d7a65c4905bc9c304ecf3d8aa566802f6119480f upstream.

The number of pins in South Bridge is 30 and not 29. There is a fix for
the driver for the pinctrl, but a fix is also need at device tree level
for the GPIO.

Fixes: afda007feda5 ("ARM64: dts: marvell: Add pinctrl nodes for Armada
3700")
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index bc179efb10ef34058faa4470fe448eb16f510b1c..b69e4a4ecdd8ef7d3f7082da6a75de926afe58bb 100644 (file)
                                reg = <0x18800 0x100>, <0x18C00 0x20>;
                                gpiosb: gpio {
                                        #gpio-cells = <2>;
-                                       gpio-ranges = <&pinctrl_sb 0 0 29>;
+                                       gpio-ranges = <&pinctrl_sb 0 0 30>;
                                        gpio-controller;
                                        interrupts =
                                        <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,