NXP offers Linux SDK v 1.9 for the P2020RDB board:
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/qoriq-arm-processors/qori....
NXP offers LTIB Linux BSP for the P2020RDB board:
https://www.nxp.com/webapp/Download?colCode=CWF-ltib_p2020rdb&appType=license&location=null&Parent_n...
These BSPs support sysfs possibility for GPIO using under Linux.
https://www.kernel.org/doc/Documentation/gpio/sysfs.txt
http://elinux.org/CI20_GPIO_LED_Blink_Tutorial
See also attached file.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------