There are no restrictions. The consortium can consist of only companies, or only public research organizations. Some restriction apply to certain specific instruments such as the SME Instrument. Important is that regular research projects (type: Research and Innovation Actions) require participation from at least 3 organisations from 3 different EU Member States or Associated Countries. Please consult the specific requirements for the call and project type you are applying too.