Pull up Resistors value for Multiple devices in Custom PCB board with ESp32

You can have as many sets as you like. Just make sure that the total resistance is high enough for weakest device to pull the lines to ground.

With long lines it's actually better to have resistors at both end of the lines.
They then act as termination resistors, lowering standing waves.

Read the docs of all your I2C devices. Some are standard I2C (100KHz/3mA/400pF), some are FastMode(+) or higher (400KHz/30mA/4000pF).
Leo..

2 Likes