How easy is it to declare CS major at UC Berkeley if admitted to LS

Hi, I applied to Berkeley undergrad for Math (and was accepted as undeclared major in LS) but lately I am thinking of CS and Math. Apart from AP BC calc which I finished as a sophomore, I will finish - Linear Algebra, Logic, Number Theory, Multi var. calculus, & Differential Equations before entering university. Given my math intense background, would it be easy to declare CS as a major at Cal (Assuming of course I maintain my GPA of 3.5) ? What and how many post AP courses (taken in high school) can I waive/get credit for, apart from high school AP courses? Also, what is the maximum number of courses that one can take at Cal during freshman year? How easy is it to get into the 5 year BA/MS program? Should I look to transfer into EECS, if that is even possible (I am not interested in EE but it will guarantee me the CS option if I do). Thanks in advance

You need a 3.3 GPA in CS 61A, 61B, and 70 to declare L&S CS: https://eecs.berkeley.edu/resources/undergrads/cs/degree-reqs-lowerdiv

You cannot change into EECS from outside of the College of Engineering: https://engineering.berkeley.edu/admissions/undergrad-admissions/change-college . But if you want to double major in both CS and math, it is easier to do so in L&S CS anyway.

A normal course load is 15 credit units per semester. Most courses are 4 units, but they can vary from 0.5 to 6 units. In L&S, a full time student must take from 13 to 20.5 units.

https://math.berkeley.edu/programs/undergraduate/majoring-mathematics has information about the math major. Look around those pages for transfer credit and credit by exam policies for math courses.