imx6ul(evk): changing default GPIO

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

imx6ul(evk): changing default GPIO

Jump to solution
1,107 Views
sudomasaaki
Contributor II

Good evening!

I have a task to change modes of some pin's to alterbatives. What I have learned so far is that every ball has a number of modes, which can be changed. Found the current layout at SPF-28616_C.pdf file, so I reworked it to imx6ul_pinout.xlsx where in yellow I pointed the modes I want to set for the pins. As far as I understand, pin modes should be changed in files imx6ul-14x14-evk.dts and imx6ul.dtsi, am I right? Can someone show me what changes are needed to change modes from default to the ones I want?

One more question. I've been told that at the real device to F16 pin instead of evk's ENET1_RXD0 will come completely different signal, not present at the table. Do I have to change anything to be able to read it or I can leave things as is?

Labels (1)
1 Solution
581 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sudo

one can check dts customization tutorials on

http://free-electrons.com/pub/conferences/2012/elce/arm-soc-checklist/arm-soc-checklist.pdf 

https://boundarydevices.com/mx6-device-tree-customization/ 

As for ENET1_RXD0  (ENET1_RX_DATA0) it can be used as GPIO2_IO0 as described

in Chapter 4 External Signals and Pin Multiplexing p.185 i.MX6UL Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
582 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sudo

one can check dts customization tutorials on

http://free-electrons.com/pub/conferences/2012/elce/arm-soc-checklist/arm-soc-checklist.pdf 

https://boundarydevices.com/mx6-device-tree-customization/ 

As for ENET1_RXD0  (ENET1_RX_DATA0) it can be used as GPIO2_IO0 as described

in Chapter 4 External Signals and Pin Multiplexing p.185 i.MX6UL Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------