Deductions & credits

I have two separate mortgages, for two separate houses, one is grandfathered under the pre-2018 rules and one is post 2018 and subject to the 750K limit. From the reading I've done at the IRS site, it seems like I can deduct all of the interest from the first mortgage, but it seems like I can only deduct a percentage of the second mortgage ?