device: allow define remote

Change-Id: I245d4aee66af451fae01fd06c28ff124a4c04180