This disclosure provides thieno[2,3-d]pyrimidine compounds containing isoxazole heterocycle represented by formula (I), or pharmaceutically acceptable salts thereof.Such compounds are useful for the treatment of diseases including tumors and cancers.