If you can't get TurboTax to do it correctly, (this is common), then you have to do the calculation yourself and enter the allowed amount of deductible interest.
If your deduction is not limited, enter the interest on amount used to buy or improve your home.