zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.72k stars 6.55k forks source link

Convert NXP kinetis boards to have pindata in devicetree #34145

Closed galak closed 3 years ago

galak commented 3 years ago
Kludentwo commented 3 years ago

regarding frdm_kw41z: In the pinmux.c file it says kPORT_MuxAlt4 but in the dts file it says < 0 5 >. Is it muxed wrong?

galak commented 3 years ago

@Kludentwo take a look at https://github.com/zephyrproject-rtos/zephyr/pull/34146

henrikbrixandersen commented 3 years ago

@galak I had a look at the usb_kw24d512. I am not sure what you mean by "Need to figure out how to handle internal signals connected to modem"?

galak commented 3 years ago

@henrikbrixandersen so I believe if you look at the manual for the SoC. There is this section:

4.3 Internal Functional Interconnects and System Reset

The pins define there relate to how we setup SPI1 in boards/arm/usb_kw24d512/pinmux.c. However those pins don't show up in the DTS pinmux data file as I dont believe they are in the xml data files from NXP.

So thus my comment on how to handle them.