Thank you for answer.
As you said, I want to move the sensor to I2C0. (second IMX219 )
Searching the forum, I found the following:
aliases {
i2c0 = "/i2c@7000c000";
i2c1 = "/i2c@7000c400";
i2c2 = "/i2c@7000c500";
i2c3 = "/i2c@7000c700";
i2c4 = "/i2c@7000d000";
i2c5 = "/i2c@7000d100";
Based on the above, we would like to proceed as follows.
file tegra210-camera-rbpcv2-dual-imx219.dtsi
cam_i2cmux {
i2c_0: i2c@0 {
imx219_cam0: rbpcv2_imx219_a@10 {
compatible = "nvidia,imx219";
/* I2C device address */
reg = <0x10>;
/* V4L2 device node location */
devnode = "video0";
...
};
};
i2c@7000c000 {
i2c_1: i2c@1 {
imx219_cam1: rbpcv2_imx219_e@10 {
compatible = "nvidia,imx219";
/* I2C device address */
reg = <0x10>;
/* V4L2 device node location */
devnode = "video1";
...
};
};
Is the address of I2C0 0x7000c000 ?