Turkey's prime minister has ordered that "troublemakers" be removed from Istanbul's Taksim Square within 24 hours, while lashing out at the European Parliament over its planned resolution condemning the excessive use of force by the police.

Prime Minister Recep Tayyip Erdogan said he asked for the park to be cleared of "troublemakers" within 24 hours.

"We will clean the square," he said.

Mr Erdogan's comments came a day after his Justice and Development Party proposed a referendum over a development plan at the square that has fanned the protests. Police have at times fired water cannons, tear gas and rubber bullets to disperse the protesters; five people have died and more than 5000 have been injured.

He also lashed out at the European Parliament over its resolution expressing concern over "the disproportionate and excessive use of force by the Turkish police".

The resolution "deplores the reactions of the Turkish Government and of Prime Minister Erdogan", he said.

The protests started on May 31 after a violent police crackdown on a peaceful sit-in by objectors to a project to replace Gezi Park with replica barracks.