How select alternate function of pin without GPIOConfig Tool

Hello.

How I can select alternate function of pin without GPIOConfig Tool?
For example how I can use pin 89 as GPIO?

On Vybrid using a pin as a GPIO is actually pretty straight forward as one can simply export it via sysfs which will take care of setting its pinmuxing to GPIO as explained in the following article on our developer website. For different alternate functions one would have to refer to the pin muxing configuration in the device tree as explained in the following article.

Thank you reply.
I new in linux world and please treat this with understanding.)

When I write next command
echo 2 > /sys/class/gpio/export
I got next error:

[  455.603145] vf610-pinctrl 40048000.iomuxc: request() failed for pin 2
[  455.610024] vf610-pinctrl 40048000.iomuxc: pin-2 (vf610-gpio:2) status -22
-sh: echo: write error: Invalid argument

What it`s mean?

Well, I guess I was misinformed. Also on Vybrid one actually does have to first make sure a pin is muxed as GPIO properly e.g. by adding it to the device tree here. If you would try exporting e.g. GPIO 5 aka PTA12 it will work fine. Sorry about that.

Thank you.))