Porting YSE5250 to base-foc