Pediatric Specialization in Certain Age Groups

I am considering entering into the field of pediatrics and was wondering if I could choose to specialize in a certain age group of children, namely from ages 2 to 12, somewhere in that range.