VIM3 Device Tree Overlay

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

Android_Pie

Which version of system do you use? Khadas official images, self built images, or others?

Khadas Official image VIM3_Pie_V230131 (Kernnel 4.9.113)

Please describe your issue below:

Hi, I need to disable uart3 and i2c3 to release some GPIOs to use to trigger relays,I have read this document VIM3/3L Device Tree Overlay [Khadas Docs] but I can’t find DTS folder (‘/boot/dtb/overlays/kvim3’) in VIM3 device (‘/boot’ folder is empty).

Console log:

kvim3:/ # ls -a
.          charger      init                     lost+found sbin       
..         config       init.environ.rc          metadata   sdcard     
acct       d            init.rc                  mnt        storage    
bin        data         init.recovery.amlogic.rc odm        sys        
boot       default.prop init.usb.configfs.rc     oem        system     
bugreports dev          init.usb.rc              proc       ueventd.rc 
cache      etc          init.zygote32.rc         product    vendor   
kvim3:/ # cd boot
kvim3:/boot $ ls -la 
total 8
drwxr-xr-x  2 root root 4096 2008-12-31 16:00 .
drwxr-xr-x 20 root root 4096 2008-12-31 16:00 ..

Hello, this is a Linux documentation, not suitable for Android.

How can I get free GPIO headers for Android OS?


PIN35 and PIN37 can be controlled, corresponding to GPIOH_5 and GPIOH_4

The same way as you mentioned before