Provided are a method of preparing a thieno[3,2-d]pyrimidine compound of formula (I) or a pharmaceutically acceptable salt thereof, a thieno[3,2-d]pyrimidine derivative of formula (I) or a pharmaceutically acceptable salt thereof having inhibitory activity for protein kinase, and a pharmaceutical composition comprising the same for prevention and treatment of abnormal cell growth diseases.