Proper clock setup

Proper clock setup using sysclk.