Skip to contentSkip to conversation

ARM: dts: microchip: sam9x7: fix gpio-lines count for pioB

PATCH New Mihai Sain 1 participant 1 message Feb 9

Subsystems (2)
lore
Share & tools
lore

Mihai Sain

author
#0 lore raw

PATCH 1/1 ARM: dts: microchip: sam9x7: fix gpio-lines count for pioB

The pioB controller on the SAM9X7 SoC actually supports 27 GPIO lines. The previous value of 26 was incorrect, leading to the last pin being unavailable for use by the GPIO subsystem.
Update the #gpio-lines property to reflect
the correct hardware specification.

Fixes 41af45af8bc3 ("ARM: dts: at91: sam9x7: add device tree for SoC")
---
 arch/arm/boot/dts/microchip/sam9x7.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/microchip/sam9x7.dtsi +1 -1
index 46dacbbd201d..d242d7a934d0 100644
@@ -1226,7 +1226,7 @@ pioB: gpio@fffff600 {
 				interrupt-controller;
 				#gpio-cells = <2>;
 				gpio-controller;
-				#gpio-lines = <26>;
+				#gpio-lines = <27>;
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
 			};
 

base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b

Signature · 1 line
2.53.0