Added 4Mhz clock speed support