target: move clock stuff to CRG
targets: simplify mila usage