From: Gregory CLEMENT Date: Tue, 1 Aug 2017 16:01:35 +0000 (+0200) Subject: ARM64: dts: marvell: armada-37xx: Fix the number of GPIO on south bridge X-Git-Tag: v4.14-rc1~187^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7a65c4905bc9c304ecf3d8aa566802f6119480f;p=platform%2Fkernel%2Flinux-rpi.git ARM64: dts: marvell: armada-37xx: Fix the number of GPIO on south bridge 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") Cc: Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index dbcc3d4..51763d6 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -219,7 +219,7 @@ 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 = ,