Where does “寄り” come from?

Words derived from “寄り