Hi Tama
You need to take a look at the MCF5282 User Manual, in the section "General Purpose I/O Module" (Section 26 in my copy of the manual).
Many of the ports are configurable for GPIO, provided that you don't need to use the pins for their special functions. The descriptions of the Pin Assignment registers give the details.
Another useful resource is the CFInit ColdFire Initialization tool. This is a free Windows program that allows you to generate the code to initialize a ColdFire processor, configuring the options through a GUI interface.
CFInit supports the MCF5282 and contains a section to help you configure the GPIO ports.
The URL is:
http://www.microapl.co.uk/CFInit/cfinit_main.html(I should own up here and say that I work for MicroAPL, the company that writes CFInit).
Hope this helps
Simon