Have you consulted with a lawyer about this? The laws differ from place to place, but I'd be worried the equity you give him may also grant him some sort of claim on the house, which would mean he gets a say on financial things related to the real estate. This can complicate things in the future.
Also - what does "percentage of revenue if we end up keeping and paying it off years later" mean? That after he leaves you will pay him for his share in your house?
So if you don't sell it, and instead rent it out to other people, he'd get a portion of the rent the future tenant pays? And I don't supposed said future tenant will also get equity?