Edit: forgot to mention that I had a similar issue that might help you:
[Resolved] Only Port 5 Charges | Ports 1,2,4 Do not charge - Framework Laptop 16 - Framework Community
I was able to get charging working again by using the BIOS to disconnect battery.