Hello, I just tried to upgrade a am335x based board from 5.10 LTS to 5.15 LTS and this broke an application for me because the gpiochip numbering changed: <= 5.10: gpio0 == gpiochip0 gpio1 == gpiochip32 gpio2 == gpiochip64 gpio3 == gpiochip96 > 5.10 gpio0 == gpiochip96 gpio1 == gpiochip0 gpio2 == gpiochip32 gpio3 == gpiochip64 This is the same for /dev/gpiochipX This is how it looks since 5.11(using 5.18.16): dev:/sys/class/gpio# ls -la lrwxrwxrwx 1 root root 0 Apr 28 18:55 gpiochip0 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@0/48 04c000.target-module/4804c000.gpio/gpio/gpiochip0 lrwxrwxrwx 1 root root 0 Apr 28 18:55 gpiochip32 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@100 000/481ac000.target-module/481ac000.gpio/gpio/gpiochip32 lrwxrwxrwx 1 root root 0 Apr 28 18:55 gpiochip64 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@100 000/481ae000.target-module/481ae000.gpio/gpio/gpiochip64 lrwxrwxrwx 1 root root 0 Apr 28 18:55 gpiochip96 -> ../../devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200 000/44e07000.target-module/44e07000.gpio/gpio/gpiochip96 This is how it looks using kernel 5.10.135: dev:/sys/class/gpio# ls -la lrwxrwxrwx 1 root root 0 Apr 28 17:43 gpiochip0 -> ../../devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@2000 00/44e07000.target-module/44e07000.gpio/gpio/gpiochip0 lrwxrwxrwx 1 root root 0 Apr 28 17:43 gpiochip32 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@0/4 804c000.target-module/4804c000.gpio/gpio/gpiochip32 lrwxrwxrwx 1 root root 0 Apr 28 17:43 gpiochip64 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@100 000/481ac000.target-module/481ac000.gpio/gpio/gpiochip64 lrwxrwxrwx 1 root root 0 Apr 28 17:43 gpiochip96 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@100 000/481ae000.target-module/481ae000.gpio/gpio/gpiochip96 Did I configure something wrong or do I have to adjust the devicetree for the board somehow? Thx, Hannes