gpio: port to am335x (work in progress)

This is a snapshot of the am335x gpio porting effort.

Change-Id: I32374415a97135174c5224f76374a870909fa90c