How to configure GPIO pin as an I2C pin?

Yes. But can these two threads be combined?