GPIO Pinout


  • Hello,

    I am having trouble understanding how to map the physical pins on the 40-pin rpi compatible header (iPi Smarc Elkhart Lake) to their respective I/O addresses. The manuals for some of the boards outline which addresses map to which physical pins, but I do not see this in Elkhart Lake.

    root@LEC-EL:/sys/class/gpio# gpiodetect
    gpiochip0 [INTC1020:00] (67 lines)
    gpiochip1 [INTC1020:01] (113 lines)
    gpiochip2 [INTC1020:03] (47 lines)
    gpiochip3 [INTC1020:04] (80 lines)
    gpiochip4 [INTC1020:05] (8 lines)
    root@LEC-EL:/sys/class/gpio# cat /sys/kernel/debug/gpio
    gpiochip4: GPIOs 709-716, parent: platform/INTC1020:05, INTC1020:05:
    
    gpiochip3: GPIOs 717-796, parent: platform/INTC1020:04, INTC1020:04:
    
    gpiochip2: GPIOs 797-843, parent: platform/INTC1020:03, INTC1020:03:
    
    gpiochip1: GPIOs 844-956, parent: platform/INTC1020:01, INTC1020:01:
    
    gpiochip0: GPIOs 957-1023, parent: platform/INTC1020:00, INTC1020:00:

    Thank you in advance.



  • Hi Anthony, 

    For LEC-EL all GIO''s come from one expander located on the I2C bus, on the I-Pi plus (carrier) there is a second expander   respective addresses are 0x3F and 0x3E 

    In the schematic of the carrier you can see how they connect to the RPI header, 

    Likewise in the manual for LEC-EL you will find the description / pins for the module part

    https://www.adlinktech.com/Products/Computer_on_Modules/SMARC/LEC-EL?lang=en


Please login to reply this topic!