I have found this information in rpi forum
One reason that pin was chosen is because it has an on-board pull-up resistor, so is pulled high whenever the Pi has power. Briefly connecting it to pin 6 pulls it low and triggers the restart. It shouldn’t affect i2c devices as the i2c bus is not active at the time.
So I can use same pin for wake up and for I2C display?