Only subscription versions of Photoshop can be installed on both platforms by users prior licensed versions were for one platform. For a small fee you were able to switch platforms.
In all cases only two active activation per licence is allowed with a normal single user licence.
The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question: