I'm new in arm architecture. i wanted to use some pins on IMX6UL for simple operations like blink a LED. i used a demo code it worked well.
but i want to know that how i can define the pins and how i to write a code in dts and in IOMUXC phandle.
i found some documents but it's very confusing.
can i have a simple example from how to define a pin and how to write code for .dts file.
and how to determine which register etc we have to use?
Thanks in advance