How to configure GPIO pin as an I2C pin?

@Valen. Yes. They are related. But this is a more specific question so I made a separate thread.

Makes sense, this one is more generically aimed. But I figured in the other thread you mentioned specific voltages, which could give more insight about what is going wrong at the port.