want to use IOMUX in the device tree to add GPT GPIO

cancel
Showing results for 
Search instead for 
Did you mean: 

want to use IOMUX in the device tree to add GPT GPIO

349 Views
zhujunzhu
Contributor I

Hi, community!

I am using i.MX 6UltraLite chip development board, want to use IOMUX in the device tree to add GPT GPIO,

"#define MX6UL_PAD_UART2_TX_DATA__GPT1_CAPTURE1 0x0094 0x0320 0x058C 41". i am not sure how to add the above parts.by the way, if only need the CAPTURE function, how to write the drive. it seems that it has to be changed.

Thank you!

Labels (2)
0 Kudos
1 Reply

81 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi zhujun

regarding linux gpt driver please refer to sect.3.3 Timer attached

Linux Manual. Availabe dts properties are described in

Linux/Documentation/../fsl,imxgpt.txt

linux-2.6-imx.git - Freescale i.MX Linux Tree 

Tutorial for writing linux driver can be found on web, for example

http://www.tldp.org/LDP/lkmpg/2.6/lkmpg.pdf 

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

0 Kudos