I have an iPod Touch 2nd generation with iOS 4.0 and this model is still quite good supported. Something like Epic's Citadel graphic demo will not work and some 3D games that are opted for newer models won't look as good as on newer devices of course.

If you want to develop commercial games for iPhone/iPod Touch, you should still support 2nd generation iPhone and iPod Touch devices.