Modify the device tree to make spi1_miso a GPIO

Hi, everyone,
I want to change spi1_miso make to GPIO on nano.
Let spi1_miso change the voltage level (pull high and pull low)
I change tegra210-porg-pinmux-p3448-0002-b00.dtsi
spi2_miso_pb5 { nvidia,pins = "spi2_miso_pb5"; nvidia,function = "rsvd2"; nvidia,pull = <TEGRA_PIN_PULL_DOWN>; nvidia,tristate = <TEGRA_PIN_DISABLE>; nvidia,enable-input = <TEGRA_PIN_ENABLE>; };
to
spi2_miso_pb5 { nvidia,pins = "spi2_miso_pb5"; nvidia,function = "rsvd2"; nvidia,pull = <TEGRA_PIN_PULL_UP>; nvidia,tristate = <TEGRA_PIN_DISABLE>; nvidia,enable-input = <TEGRA_PIN_DISABLE>; };

GPIO can be controlled, but The output voltage is always low voltage.
can someone tell me how to modify that? THANKS!

Add those pin to gpio@6000d000{} for GPIO usage.

Hi,ShaneCCC Thanks for your reply,
I try ollow your reply change device tree on BSP 4.6 NANO module + customer board. and set spi1_miso (GPIO PB05 pin number 108). The gpio needs to be able to pull the voltage up and down.
After recompiling and flash GPIO PB.05 and use
echo 13 > /sys/class/gpio/export echo 1 /sys/class/gpio/gpio13/value
control voltage high and low. but still low voltage.
it might be related to pd strength not enough to change the pin state?
How can i Adjustment device tree? Thanks for the help