It has everything to do with free software in the sense that it's just application of the principles of the free software movement. rms wants information to be free because of his moral principles, and these same principles also apply to the world outside software. It's a whole thing.