Using PinMux tool ( config tools for I.Mx) , How integrate pin_mux.c , pin_mux,dts and pin_mux.h ?

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

Using PinMux tool ( config tools for I.Mx) , How integrate pin_mux.c , pin_mux,dts and pin_mux.h ?

2,994件の閲覧回数
jhpark_vine
Contributor III

For i.MX8M EVK customization , 

Using PinMux tool ( config tools for I.MX ) , i exported  pin_mux.c , pin_mux,dts and pin_mux.h for board customization.. 

then how integrate these files to u-boot, linux kernel for i.MX8M EVK board ?

 

Thanks 

0 件の賞賛
返信
1 返信

2,985件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Jhpark_vine,

The code you get from Pin Mux tool cannot be directly integrated into u-boot and linux bsp. The following information and steps are for your reference:
1. u-boot
--device tree: uboot-imx/arch/arm/dts/imx8mq-evk.dts
You need to modify this device tree according to the files you get.
--Pin MUX Header file:
uboot-imx/include/dt-bindings/pinctrl/pins-imx8mq.h
You need to find the corresponding reuse definition according to the obtained file and add it to imx8mq-evk.dts.
2.linux BSP
--device tree:
linux-imx/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
---Pin Mux header file:
linux-imx/arch/arm64/boot/dts/freescale/imx8mq-pinfunc.h
Modify dts according to the definition of this file.

 

Have a nice day!

B.R,

Weidong