Other Parts Discussed in Thread: TMDS64EVM
Tool/software:
We have been using AM64x linux SDK 8 for our custom board and am64b-skevm boards. The i2c busses all were avaliable from linux using the old kernel. We are attempting to upgrade the kernel using sdk9 or sdk 10. The i2c-1 bus is the only one being initialized by the kernel using the newer SDKs.
We have the following in our dts:
&main_pmx0 {
.
.
.
main_i2c0_pins_default: main-i2c0-default-pins {
pinctrl-single,pins = <
AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
>;
};
};
&main_i2c0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_i2c0_pins_default>;
clock-frequency = <400000>;
eeprom@51 {
compatible = "atmel,24c512";
reg = <0x51>;
};
};
The kernel prints this message for the i2c-0 bus:
[ 19.593992] platform 20000000.i2c: deferred probe pending
20000000.i2c is the i2c-0 bus.