We are building a custom board using the Imx8mp processor.
I was going through the device tree thats present in the source and came across the pin mux configuration in the dts and the dtsi files.
Example snippet from dts:
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
pinctrl_ecspi2: ecspi2grp {
fsl,pins = <
MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x82
MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x82
MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x82
>;
};
pinctrl_ecspi2_cs: ecspi2cs {
fsl,pins = <
MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x40000
>;
};
pinctrl_gpio_led: gpioledgrp {
fsl,pins = <
MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x19
MX8MP_IOMUXC_SAI2_RXFS__GPIO4_IO21 0x19
MX8MP_IOMUXC_SAI2_RXD0__GPIO4_IO23 0x19
MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24 0x19
MX8MP_IOMUXC_UART4_RXD__GPIO5_IO28 0x19
>;
};
After going through the datasheets and reference manuals and some digging on the internet i came across the NXP provided pin config tool which generates the PIN mux config also.
But when I select these pins (for ex ECSPI2) the Pinmux tool generates completely different addresses.
And weirdly its generating the same address (106) nomatter what peripheral I add. (Snippet below)

So in actuality how do I get these addresses of these pins?
How do i proceed further to add our own peripherals to the custom board??
How can i add these adresses as a part of the device tree and get the board working?