Increase ARCH_NR_GPIO for ARCH_ASPEED?

Tao Ren taoren at fb.com
Fri Feb 15 10:16:43 AEDT 2019


Hi,

I got following error while booting up openbmc linux 4.18 on Facebook YAMP BMC (ast2500 based), and it's because total 594 GPIO pins are provided by aspeed soc and i/o expanders on YAMP board:

gpiochip_find_base: cannot find free range
gpiochip_add_data_with_key: GPIOs 0..15 (pca9555) failed to register

I'm wondering if it's good idea to increase ARCH_NR_GPIO default value to the "next level" (1024) for ARCH_ASPEED? If not, any other suggestions for this problem?


Thanks,

Tao


More information about the openbmc mailing list