[ar7] prevent race between clocks and devices registration (#6532)