I hope you are doing well. I'm working on a project based on imx8mm evk board. Here is complete part number : MIMX8MM6DVTLZAA.
For past few months I was working on 2018 nxp b.v 8MMINILPD4-CPU but our company recently get new 2020 nxp B.V 8MMINILPD4-CPU2. When I flash my Linux into these new board. I can not see GPIOCHIP5 anymore. I can only see GPIOCHIP0-4, on the other hand in last board there were GPIOCHIP0-5 available. I'm using same Linux version what I used in previous board. Even if I flash Linux on old boards I can see GPIOCHIP0-5. Is there anything I'm missing? I'm kind a new to Linux as well as NXP.
Is there any difference in the hardware or do I need to do something different with this board. Also, please direct my towards any document that have a map between GPIOCHIP and actual GPIO.
8MMINILPD4-CPU2 have the following differences from the 8MMINILPD4-CPU:
1. Change 16GB to 32GB eMMC, due to Android10 density requirement.
2. Change Wi-FI chip Murata LBEE5KL1PJ to Azurewave AW-CM358SM.
3. Change PMIC ROHM BD71847A to NXP PCA9450A.
4. Add J8 for alternative M.2 WiFi/BT module on Base Board
You may refer to the CPU card schematic for this information:
If possible could you try with latest Linux release(L5.4.70_2.3.0)?
This because in this version CPU2 card is fully supported.
For more information about GPIOCHIP you may take a look to the kernel documentation:
This should be useful as well: