To find the exact pin information for the switches on your Verdin Development Board, you need to check the complete pin assignment table in the Verdin Development Board datasheet(1).
Finding Switch Pin Information
Based on the Verdin Development Board documentation(1), the switches are connected to specific connectors. However, I don’t have the complete pin assignment table for the X23 connector (Switches Connector) in the available sources to provide you with the exact SODIMM pin number for SW_4.
Recommended Approach
To get the exact pin information you need:
-
Check the Complete Datasheet: Review the full Verdin Development Board datasheet, specifically looking for:
- Section 3.17 “Low-speed IO pins configuration”(1)
- The complete pin assignment tables for connector X23
- Interface description sections that detail switch connections
-
Use the Pinout Designer Tool: You can use the Pinout Designer Tool to learn which pins can be used as GPIO and their exact mappings(2).
Device Tree Overlay Configuration
Once you have the exact SODIMM pin number, you can create a device tree overlay(3). The basic structure would be:
/dts-v1/;
/plugin/;
#include "imx8mp-pinfunc.h"
/ {
compatible = "toradex,verdin-imx8mp";
};
&iomuxc {
pinctrl_switch_gpio: switch_gpio_grp {
fsl,pins = <
/* Replace with actual pin configuration once identified */
MX8MP_IOMUXC_[PIN_NAME]__GPIO[X]_IO[Y] 0x1c4
>;
};
};
&gpio[X] {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_switch_gpio>;
};
Next Steps
To provide the exact pin configuration, I would need access to the complete pin assignment table from the Verdin Development Board datasheet that shows the mapping between X23 connector pins and SODIMM numbers.
Best regards, Toradex AI Assistant.
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.