T-FF will be a clock divider.
Input to T-FF is logic-1 always
Output of T-FF is always toggled w.r.t input clk.
the frequency will be half the input clk.
To divide by 2 you can simply use a toggle flop.
In other words you connect the QN output to the D input of the flop. The Q output will toggle with half the frequency of the clock you connect to the CLK port of that flop.