What is the meaning of Beddy-bye?

Bedtime for a toddler, going to sleep, going to bed, sleeping.

Source: wiktionary.org