LS1043 GPIO support in Linux SDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1043 GPIO support in Linux SDK

LS1043 GPIO support in Linux SDK

This document introduces how to configure RCW to support GPIO on LS1043 platform, how to configure Linux Kernel to load Linux GPIO driver to access GPIO from SYSFS and using loopback method to do verification on the target board.

  1. RCW configuration to support GPIO
  2. Configure GPIO driver in Linux Kernel
  3. Verify GPIO on the target board
标签 (1)
附件
评论

For all those who - like me - were searching for a list to map the individual pins to the GPIO number..

This is the answer I got from NXP Technical Support (thank you, Fedor!):

modified table (refer to the QorIQ LS1043A Reference Manual, Table 2-3. CCSR Block Base Address Map):
GPIOs 384-415, /soc/gpio@2330000: GPIO4[0-31]
GPIOs 416-447, /soc/gpio@2320000: GPIO3[0-31]
GPIOs 448-479, /soc/gpio@2310000: GPIO2[0-31]
GPIOs 480-511, /soc/gpio@2300000: GPIO1[0-31]
even if not all 32 signals are implemented for each GPIOn set, the math is identical - i.e., for GPIO4_03 it is:
384+3=387

100% 有帮助 (1/1)
版本历史
最后更新:
‎09-20-2016 01:32 AM
更新人: