The parameter deviceScope, while adding a device, determines the parent of that particular device. So while adding a device, if you set your device scope to that particular iot edge, then it automatically gets assigned as a child, to the particular iot edge.
CLICK HERE to find out more related problems solutions.