GPIO Issue

Hello Friends
I am using following image.

bone-debian-9.3-iot-armhf-2018-03-05-4gb.img
I need to enable UART2 for my project for that I enable BB-UART2-00A0.dtbo via uEnvt.txt.
After this I ma facing gpio issues.

Before applying the overlay.

ls /sys/class/gpio
export gpio112 gpio117 gpio2 gpio27 gpio44 gpio49 gpio61 gpio69 gpio73 gpio78 gpio86 gpiochip0
gpio10 gpio113 gpio12 gpio20 gpio3 gpio45 gpio5 gpio65 gpio7 gpio74 gpio79 gpio87 gpiochip32
gpio11 gpio114 gpio13 gpio22 gpio30 gpio46 gpio50 gpio66 gpio70 gpio75 gpio8 gpio88 gpiochip64
gpio110 gpio115 gpio14 gpio23 gpio31 gpio47 gpio51 gpio67 gpio71 gpio76 gpio80 gpio89 gpiochip96
gpio111 gpio116 gpio15 gpio26 gpio4 gpio48 gpio60 gpio68 gpio72 gpio77 gpio81 gpio9 unexport

After i apply the overlay BB-UART2-00A0.dtbo
ls /sys/class/gpio

export gpio12 gpio13 gpiochip0 gpiochip32 gpiochip64 gpiochip96 unexport

Attached is the uEnv.txt file.

When i go through the BB-UART2-00A0.dtsi files it is enabling only 2 pins, not sure what is the issue here.
Please suggest.
Br

Anuj

refUenv.txt (1.99 KB)

Yes, that's a pretty new feature, which requires v4.14.x-ti and an
updated bbb-cape-overlays package:

sudo apt update
sudo apt install --only-upgrade bb-cape-overlays

debian@beaglebone:~$ cd /opt/scripts/tools/
debian@beaglebone:/opt/scripts/tools$ git pull
debian@beaglebone:/opt/scripts/tools$ sudo ./update_kernel.sh --lts-4_14

sudo reboot

Regards,