Skip to content

Commit

Permalink
LFU-638 imx95-Titan: Fix I2C address conflict and I2C7 speed
Browse files Browse the repository at this point in the history
The I2C address of typec controller is 0x50 which conflicts with
address of EEPROM on Verdin DSI to HDMI adapter. Once the adapter
is installed, typec can't work.

Toradex confirmed to remove R97 on carrier board to change typec
address to 0x52 to fix conflict. So update the address in board
codes and DTS.

Also the Verdin board does not support 1Mhz I2C speed. Have to
change the I2C7 speed to 400Khz in DTS

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
  • Loading branch information
Ye Li committed Jan 17, 2024
1 parent c1665b4 commit 3bdcde9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions arch/arm/dts/imx95-19x19-titan.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
};

&lpi2c7 {
clock-frequency = <400000>;

i2c7_pcal6524_23: i2c7-gpio@23 {
compatible = "nxp,pcal6524";
reg = <0x23>;
Expand All @@ -58,6 +60,10 @@
};
};

&ptn5110 {
reg = <0x52>;
};

&scmi_iomuxc {
pinctrl_enetc1: enetc1grp {
fsl,pins = <
Expand Down
2 changes: 1 addition & 1 deletion board/toradex/titan-imx95/titan-imx95.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int board_early_init_f(void)
struct tcpc_port port;
struct tcpc_port_config port_config = {
.i2c_bus = 6, /* i2c7 */
.addr = 0x50,
.addr = 0x52,
.port_type = TYPEC_PORT_DFP,
};
ulong tca_base;
Expand Down

0 comments on commit 3bdcde9

Please sign in to comment.