Yorkies have black and tan or red coloration so it is quite normal for them to have black pigment on their gums as well.
If his gums are gray or bluish in color rather than bubblegum pink in the areas where they are still pink that could indicate heart or lung disease.