[PATCH 5.1 26/54] pinctrl: ocelot: fix gpio direction for pins after 31