The story
Either named due to its similar pronunciation to pinky or based on the nursery rhyme "This Little Piggy", with the final line, "This little piggy went wee, wee, wee, all the way home," corresponding directly to the smallest (pinky) toe.
Etymology from Wiktionary, CC BY-SA 4.0.