Hi,
like to activate a second i2c on the BBAI with CPU AM5729.
This is how far I get:
i2cdetect -l
i2c-3 i2c OMAP I2C adapter I2C adapter
i2c-0 i2c OMAP I2C adapter I2C adapter
cd /boot/dtbs/4.14.108-ti-r143/
dtc -I dtb -O dts -o am5729-beagleboneai.dts am5729-beagleboneai.dtb
vi am5729-beagleboneai.dts
# activated i2c5 like this, but no clue how to assign the pins
i2c@4807c000 {
compatible = "ti,omap4-i2c";
reg = <0x4807c000 0x100>;
interrupts = <0x0 0x37 0x4>;
#address-cells = <0x1>;
#size-cells = <0x0>;
ti,hwmods = "i2c5";
#status = "disabled";
status = "okay";
clock-frequency = <100000>;
phandle = <0x1dd>;
};
dtc -I dts -O dtb -o am5729-beagleboneai.dtb am5729-beagleboneai.dts
reboot
i2cdetect -l
i2c-3 i2c OMAP I2C adapter I2C adapter
i2c-4 i2c OMAP I2C adapter I2C adapter
i2c-0 i2c OMAP I2C adapter I2C adapter
i2cdetect -y -a -r 4
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- ^C
Response is slow because pins are not assigned and dmesg contains the timeout messages
[ 139.014548] omap_i2c 4807c000.i2c: controller timed out
[ 140.070510] omap_i2c 4807c000.i2c: controller timed out
[ 141.126452] omap_i2c 4807c000.i2c: controller timed out
Any advise how to assign the pins for i2c4?