add peregrine support

Change-Id: I87ad0cc9b4d25d2358dc89652722a312ed2ac571