Staging: dream: add support for input on GPIO pins