Configurable clock selection