]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: microchip: sam9x7: fix gpio-lines count for pioB
authorMihai Sain <mihai.sain@microchip.com>
Mon, 9 Feb 2026 09:07:35 +0000 (11:07 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Mon, 23 Mar 2026 10:54:24 +0000 (12:54 +0200)
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")
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20260209090735.2016-1-mihai.sain@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sam9x7.dtsi

index 46dacbbd201ddb68a7456d6fe1afafa59db90ec8..d242d7a934d0faa4d08a3663974eea8b55434408 100644 (file)
                                interrupt-controller;
                                #gpio-cells = <2>;
                                gpio-controller;
-                               #gpio-lines = <26>;
+                               #gpio-lines = <27>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
                        };