I can add the following configuration in .dts or .overlay file to define I2C bin statically.
i2c0_default: i2c0_default { group1 { psels = <NRF_PSEL(TWIM_SDA, 0, 28)>, <NRF_PSEL(TWIM_SCL, 1, 10)>; drive-open-drain; bias-pull-up; }; };
Is it possible to define I2C bin dynamically?