add yaml phy mode