]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: aspeed-g5: Fixe gpio-ranges upper limit
authorOscar A Perez <linux@neuralgames.com>
Wed, 1 May 2019 13:26:43 +0000 (13:26 +0000)
committerJoel Stanley <joel@jms.id.au>
Thu, 5 Sep 2019 00:34:34 +0000 (17:34 -0700)
commitcbf660e6be2bc707c4ebbeea2bacc9ec5b85b672
tree535e1a0f590d011a97b8eafbcc006b6a4301fb4d
parentdffa2c8e50b26a7dae404825d3b41608afb08fe4
ARM: dts: aspeed-g5: Fixe gpio-ranges upper limit

According to the AST2500/AST2520 specs, these SoCs support up to 228 GPIO
pins. However, 'gpio-ranges' value in 'aspeed-g5.dtsi' file is currently
setting the upper limit to 220 which isn't allowing access to all their
GPIOs. The correct upper limit value is 232 (actual number is 228 plus a
4-GPIO hole in GPIOAB). Without this patch, GPIOs AC5 and AC6 do not work
correctly on a AST2500 BMC running Linux Kernel v4.19

Fixes: e30282502c3b ("ARM: dts: aspeed-g5: Add gpio controller to devicetree")
Signed-off-by: Oscar A Perez <linux@neuralgames.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g5.dtsi