08-22-2018, 10:15 AM
Make a backup of current DTB, decompile this DTB into a DTS using dtc compiler, edit DTS to remove any reference to unused SPIs/UARTs, not only their nodes, but also their pins in PinCtrl, save and recompile this modified DTS into DTB, and reboot. All those pins will be defaulted as GPIOs.