Porting zephyr to the MCIMX7U5 cm4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting zephyr to the MCIMX7U5 cm4

517 Views
chriz
Contributor I

I'm looking at porting zephyr to the cortex m4 and I'm starting to come up against a few problems with generating the device tree files using the nxp/mcux/scripts/pinctrl/imx/imx_gen_{dts,gpio,headers}.py scripts.

I've modified the scripts as showing the diff file

This does the following:
a) generates what looks to be correct mcimx7u5xxxxx-pinctrl.dtsi files
b) doesn't generated anything usefullfor the mcimx7u5xxxxx-gpio.dtsi files
c) incorrectly generates the pinctrl groups names for the file mcimx7ulp_evk_rev_b-pinctrl.dtsi

I've run the imx_fixup_pinmux.py on both the pinctrl files but this hasn't fixed them.

So I think that the problem is with the "SignalPin" in "imx_cfg_utils.py" as I'm incorrectly allowing "SW_PAD_CTL_PAD_" to be a signal pin and that I haven't modified the "IOMUXOption" to flag the "pta1_port_pta1", etc as GPIO's.

Any help would be greatly appreciated.

Chris

Labels (1)
Tags (1)
0 Kudos
1 Reply

491 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You can take as base the yocto BSP from NXP we don't have Zephir yet but the device tree should be helpful.

Regards

0 Kudos