]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Apr 2026 11:30:35 +0000 (13:30 +0200)
[ Upstream commit 907150bbe566e23714a25d7bcb910f236c3c44c0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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>;
                        };