The NBA legend announced the donation will go to organizations "dedicated to ensuring racial equality."