Old Japanese
Southern Ryukyuan varieties such as Miyako, Yaeyama and Yonaguni have corresponding to Old Japanese "w", but only Yonaguni (at the far end of the chain) has where Old Japanese has "y":