I have a very simple doubt, but I haven't found a satisfying answer yet.
I want to translate this phrase to German:
I dedicate all my time to study.
But I don't know how the preposition to would be translated. It is unknown to me if there is an specific preposition to express finality or if, otherwise, I just have to build a subordinate clause with an infinitive. I thought it could be something like that:
Ich widme meine ganze Zeit, zu lernen.
Is this correct? If not, how would it be?