device: allow define remote

Change-Id: I7a8a1c24263bd39a218a0bdacdfb0dbfc774ad73