Retirement tax questions

All I entered was the amount and code (AA)in box 12 from my W-2. The penalty is 6% of the amount above $6000. My understanding is that a Roth 401(k) has a much higher contribution limit.