I2C-1 LS Expansion Bus is supported?

I am using the current 15.09 release

I connected an I2C sensor on i2c-1 bus on the LS Expansion connector.

When I run sudo I2cdetect -r 1, my Sensor is not enumerating the address. Is I2C Bus 1 is supported on Latest 15.09


The logic level of I2C/SPI/GPIO on LS connector is 1.8V.

Contrary most of the devices such as I2C sensors works only on 3.3V and/or 5V.
So you need to have Logic level shifting chip between the pins on the LS connector and your I2C sensor.

We are planning to have Mezzanine board which has a level shifting chips to convert 1.8V to 3.3/5V but not ready at the moment.

I have not tried by myself but at the mean time adding level shifting chips on the I2C lines by yourself might work.
I searched the Google for such boards and found this one.

I can not guarantee whether the above will work for you without any modification or tweaking but I just listed for explaining what kind of work needed to attach I2C devices on LS connector.

Trying out adding Logic level converter by yourself might fun and good chance to play and study.
Also you could wait for the such Mezzanine board to be sold.

Thank you for pointing out critical information about LS connector.

Thanks for the reply.

I have Temp sensor which works on 1.8V. Which works fine on I2C-0 bus. But when I connect it to I2C-1, Sudo I2Cdetect -r 1 is not detecting the sensor. I mean It is not enumerating the address of the sensor.

Basically my question is

Is I2C-1 Bus is supported on Linaro flavor on DragonBoard 410C? I am not getting waveform in I2C-1 Bus.


Hi Karthik,
AFAIK, both the I2Cs on LS expansion are functional.
You might be actually using wrong bus in your tests. I2C0 bus on LS is mapped to i2c-0 on linux side and I2C1 bus on LS is mapped to i2c-2 on linux side.
Am in a process to fix correctly to match with naming on schematics. But for now you can use bus 2 for test till it gets fixed properly.

Here is the log from my board to confirm it works.

root@linaro-alip:~# i2cdetect -l
i2c-0 i2c QUP I2C adapter I2C adapter
i2c-1 i2c QUP I2C adapter I2C adapter
i2c-2 i2c QUP I2C adapter I2C adapter
root@linaro-alip:~# i2cdetect -r 2 0x70 0x70
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-2 using read byte commands.
I will probe address range 0x70-0x70.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
70: 70


Hi Karhik,
This patch should fix the issue of matching bus numbers from schematics to linux:

I will make sure that this patch would appear in next release.

commit fe99f84e6609c7e2753052364faf959dc0ebdde9
Author: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Date: Mon Nov 16 09:53:30 2015 +0000

arm64: dts: fix the i2c aliasing to match to schematics.

This patch fixes the i2c bus number aliasing so that it matches with the
schematics bus naming.

Without this patch the user might would get bus numbers depending on
the order the devices are probed.

Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index 6b895b2…bc9760f 100644
— a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -22,6 +22,9 @@
aliases {
serial0 = &blsp1_uart2;
serial1 = &blsp1_uart1;

  •           i2c0    = &amp;blsp_i2c2;
  •           i2c1    = &amp;blsp_i2c6;
  •           i2c3    = &amp;blsp_i2c4;
      chosen {