A golden rule - the decision to invest in anything should not be fundamentaly driven by the tax benefits/consequences. The minute you use the funds for a non income producing purpose you lose the antecedent tax deductibility.
So yes, you will get a deduction on the interest on the equity...