A compound of Formula I: or pharmaceutically acceptable salt or prodrug thereof, wherein: A is N or CR3 and (a) wherein, when A is N: Cy1 is aryl, heteroaryl, cycloalkyl, or heterocycloalkyl, each optionally substituted by 1, 2, 3, 4, or 5 -W- XYZ Cy2 is aryl, heteroaryl, cycloalkyl, or heterocycloalkyl, each optionally substituted by 1, 2, 3, 4, or 5 -W-X-Y-Z L1 is CH2, CH2CH2, cycloalkylene, O or S L2 is (CR7R8) r, (CR7R8) s- (cycloalkylene) - (CR7R8) t (CR7R8) s- (arylene) - (CR7R8) t (CR7R8) s- (heterocycloalkylene) - (CR7R8) t, ( CR7R8) s- (heteroarylene) - (CR7R8) t (CR7R8) sO (CR7R8) t (CR7R8) sS (CR7R8) t (CR7R8) sC (O) (CR7R8) t (CR7R8) sC (O) NR9 (CR7R8) t (CR7R8) sC (O) O (CR7R8) t (CR7R8) SOC (O) (CR7R8) t (CR7R8) SOC (O) NR9 (CR7R8) t (CR7R8), NR9 ( CR7R8) t (CR7R8) sNR9C (O) NR9 (CR7R8) t (CR7R8) sS (O) (CR7R8) t (CR7R8) sS (O) NR7 (CR8R9) t (CR7R8) sS (O) 2 (CR7R8) t, or (CR7R8) sS (O) 2NR9 (CR7R8) t, wherein said cycloalkylene, arylene, heterocycloalkylene, or heteroarylene is optionally substituted by 1, 2, or 3 independently selected from C and 4, halo, alkyl C1-6, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halosulfanil, CN, NO2, N3, OR a1, SR a1, C (O) R b1, C (O) NRc1Rd1, C (O) OR a1, OC (O) R b1, OC (O) NRc1Rd1, NRc1Rd1, NR c1 C (O) R b1, NR c1 C (O) NRc1Rd1, NR c1 C (O) OR a1, C (> = NRg) NRc1Rd1, NR c1 C (> = NRg) NRc1Rd1, P (Rf1 ) 2, P (ORe1) 2, P (O) Re1Rf1, P (O) ORe1ORf1, S (O) R b1, S (O) NRc1Rd1, S (O) 2Rb1, NR c1 (O) 2Rb1, and S (O) 2NRc1R d1 R1 is H or -W "-X" -Y "-Z" R2 is H, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, CN, NO2, OR a, SR, C (O) RB, C (O) NRCRD, C (O) ORA, OC (O) RB, OC (O) NRCRD, NRCRD, NRCC (O) RB NRCC (O) NRCRD, NRCC (O) ORA, S (O) RB, S (O) NRCRD, S (O) 2RB , NRCS (O) 2RB, or S (O) 2NRCRD R3 is H, cycloalkyl, aryl, heterocycloalkyl, heteroaryl, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, CN, NO2, OR a, SR, C (O) RB, C ( O) NRCRD, C (O) ORA, C (O) RB, OC (O) NRCRD, NRCRD, NRCC (O