Welcome to ASSIST should have the listings of courses you need to take to be transfer-ready to a UC or CSU in your major. In some cases, you may be able to get better coverage of the courses by checking other community colleges in your area.
Be aware that Berkeley chemical engineering often requires five (instead of four) semesters after junior transfer, since students who start as freshmen typically start taking upper division courses (which are not available at community colleges) as sophomores. More information here:
UC Berkeley, College of Chemistry
At a community college, you do have more flexibility in deciding your major -- even if it causes you to take extra semesters, those extra semesters are less expensive than if you were at a four year school. In any case, the math, physics, and chemistry courses you need to take should apply to most other engineering majors as well as math, physics, or statistics.