Loans secured by residential real estate should not be reported as small business loans for CRA. If you choose to, you can collect information about this kind of loan under type 3 Other Lines/Loans for purposes of small business and present it to examiners during your exam.
Remember however, collect only one origination per loan per year. Renewals are considered originations for purposes of CRA.
Typically you would geocode either the address where funds are used or the business address. If the borrower has not determined where the funds will be used--I would geocode their address, not the collateral address.
For collecting revenue information--if you have the cash flow information from the real estate investments it would seem appropriate to use it. The thing about revenue reporting is that you need to be consistent in how you do it and you don't want to mix personal income with revenue.
I hope this helps.