Add scripts for gpio input test

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>