SAO PAULO (Reuters) - Brazilian iron ore mining joint venture Samarco Mineração SA and its controllers Vale SA <VALE5.SA> and BHP Billiton Ltd <BTL.L> have 30 days to make a deposit of 1.2 billion reais ($354 million) to fund preparatory measures after last year's dam disaster, Vale said on Friday.

According to a securities filing, a Brazilian federal court ruled that the companies have 90 days to prove that the Mariana dam burst has been fully contained. Over the next six months, they will have to present plans to clean up the remaining waste that spewed from the Samarco mine.

($1 = 3.3903 reais)

(Reporting by Bruno Federowski; Editing by Ruth Pitchford)