Only available for the iPhone 4S for now, with more device support planned. Both released roughly the same time, with the 4S coming out on October 2011, and iOS 5.1 on March 2012.
At some point, older devices will run into expired root certificates despite being still otherwise functional (can’t say how many apps would still work at this point but the browser might still render basic sites). If it is jailbroken, you can then technically try to update the certificate yourself.
I have an older 5S that my little one plays with. No OS updates for years, but still works with our public library app, so she could listen to audiobooks on it. We have a newer (I think) 7S Plus, but she doesn’t want to use it because she thinks the phone is too big… so I’ll be hoping for a jailbreak when the time comes for that phone, or some how try to convert her to larger devices as we’ve made the same leap.