AnsweredAssumed Answered

imx8mm - Pin bank and offset mapping

Question asked by Raman Thapar on Nov 13, 2019
Latest reply on Nov 14, 2019 by igorpadykov


I was trying to setup some pins in uBoot and was trying to find the IO bank and offset mapping so I could make use of 

IMX_GPIO_NR(bank, nr) to control the pin.


I didnt see anything in the reference manual and the imx dts files on the kernel side use this format

* The pin function ID is a tuple of

* <mux_reg conf_reg input_reg mux_mode input_val>


Also in the kernel is there a recommended place for board initialization or is it best to keep that in uboot?