IMX8MP device tree source code changes for gpio setting

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8MP device tree source code changes for gpio setting

1,158件の閲覧回数
titusstalin
Contributor V

Hello,

I have imx8mp verdin board and would like to do iomux configuration for GPIOs.

Would like to understand the hardcoded values like 0x184, 0x1c4, and also would be great how can I set default INPUT/OUTPUT and PULL up/down.

 

arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi

pinctrl_gpio1: gpio1grp {
fsl,pins =
<MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x184>; /* SODIMM 206 */
};

pinctrl_gpio2: gpio2grp {
fsl,pins =
<MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x1c4>; /* SODIMM 208 */
};

I have visited to below page and installed i.MX config tools, but I wanted to do something without using this tool and avoid to open this tool every time to change the pinmux and generating dts files etc.,

https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/config-tools-fo...

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,091件の閲覧回数
JudyJeo
Contributor III

The decoding of 0x184  in the "MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x184>; " is 

Untitled.png

0 件の賞賛
返信

1,107件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

You can add a variable to change the GPIO and not star opened the tool.

Regards

0 件の賞賛
返信