clk: mvebu: extend common code to allow an optional refclk