device: allow define remote

Change-Id: I850dc91e0aceb660c831d9aeb5ab3dd68ce039f9