[v2, 3/3] pinctrl: mediatek: add support for different types of IO pins