Other Parts Discussed in Thread: AM67
Tool/software:
I'm using the device tree settings in the previous post but i2c4 still isn't enabling for me.
I noticed the other i2c devices on AM67 are using "ti,am64-i2c", "ti,omap4-i2c", not the one suggested?
I checked the latest dts but still don't see main_i2c4 enabled on the evm:
git.ti.com/.../k3-j722s-evm.dts
Here's my error:
omap_i2c: probe of bus@f0000:i2c@fe80000 failed with error -22
main_i2c4_pins_default: main_i2c4-default-pins {
pinctrl-single,pins = <
J722S_IOPAD(0x00a8, PIN_INPUT_PULLUP, 1) /* (R27) GPMC0_CSn0.I2C4_SCL */
J722S_IOPAD(0x00ac, PIN_INPUT_PULLUP, 1) /* (P21) GPMC0_CSn1.I2C4_SDA */
>;
};
&cbass_main {
main_i2c4: i2c@fe80000 {
compatible = "ti,j721e-i2c", "ti,omap4-i2c";
reg = <0x00 0x0fe80000 0x00 0x100>;
interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&k3_clks 257 2>;
clock-names = "fck";
power-domains = <&k3_pds 257 TI_SCI_PD_EXCLUSIVE>;
};
};
&main_i2c4 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_i2c4_pins_default>;
clock-frequency = <100000>;
};

