Disclosed herein are a compound of formula (I) and a preparation method and uses thereof. The compound shows a good inhibitory activity against ROCK, providing a new medicinal strategy to clinically treat the diseases associated with abnormal ROCK activity.