Do some modifiction to make it work with Banana Pro and Banana Pi

Signed-off-by: Tony Zhang <hitxfd.tony@gmail.com>