sh: Support early clkdev allocations.