Hi, I am new to yocto and I want to operate the SPI peripheral on iMX6 board. How shall I do it? Which device tree should I modify?
Kindly share the steps.
Please refer Yocto guide to setup building environment.
https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf
https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf
Use 'devtool modify linux-imx' to create workspace in your build-xx folder, goto workspace folder and find linux-imx.
Then modify the board device tree in kernel source.
arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi