Skip to contentSkip to conversation

ARM64: dts: marvell: armada37xx: Fix number of GPIO on south bridge

PATCH New Gregory CLEMENT 1 participant 2 messages Aug 1, 2017 – Aug 2, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM64: dts: marvell: armada37xx: Fix 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")

---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +1 -1
index dbcc3d4e2ed5..51763d674050 100644
@@ -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 =
 					<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
2.13.2
#1 lore raw

PATCH 1/1 ARM64: dts: marvell: armada37xx: Fix number of GPIO on south bridge

Hi,

Quoted 8 lines · Gregory CLEMENT

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")

Applied on mvebu/fixes

Gregory

Quoted 25 lines
---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +1 -1
index dbcc3d4e2ed5..51763d674050 100644
@@ -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 =
 					<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
Signature · 7 lines
2.13.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com