I2c address

I find I2C0xx and I2C1xx on 40-Pin Expansion Header in NVIDIA Jetson Xavier NX Developer Kit Carrier Board P3509_A01.p579520-Jetson_Xavier_NX_DevKit_Carrier_Board_Specification_v1.0.pdf (1.3 MB)
If I want to use an audio codec which I2C is recommended?
How to confirm I2C’s address?

By the way, I find it dosen’t match with the Jetson Expansion Header Tool

sudo /opt/nvidia/jetson-io/jetson-io.py

I also find that there are several I2C bus:

user@Jetson-xavier-NX:~$ i2cdetect -l
i2c-3   i2c             3190000.i2c                             I2C adapter
i2c-1   i2c             c240000.i2c                             I2C adapter
i2c-8   i2c             31e0000.i2c                             I2C adapter
i2c-6   i2c             31c0000.i2c                             I2C adapter
i2c-4   i2c             Tegra BPMP I2C adapter                  I2C adapter
i2c-2   i2c             3180000.i2c                             I2C adapter
i2c-0   i2c             3160000.i2c                             I2C adapter
i2c-9   i2c             i2c-2-mux (chan_id 0)                   I2C adapter
i2c-10  i2c             i2c-2-mux (chan_id 1)                   I2C adapter
i2c-7   i2c             c250000.i2c                             I2C adapter
i2c-5   i2c             31b0000.i2c                             I2C adapter

So I guess i2c2 Pin shows above picture stands for i2c-2 with address 3180000?
What if I want to use i2c-8 or other i2c bus ?
Which spec can tell the way to configure i2c?


Check the pinmux table from download center.
The I2C0_SCL(pin header) map to i2c2_clk(SFIO) that tell it’s i2c2-1. i2c2 from HW and minus 1 to get software bus.

And the I2C1_XX is map to i2c9 aka i2c8(i2c@31e0000)