Commit b98807c7 authored by Vitor Soares's avatar Vitor Soares Committed by Shawn Guo

arm64: dts: freescale: verdin-imx8mp: enable Verdin I2C_3_HDMI interface

Enable Verdin I2C_3_HDMI interface on iMX8MP Toradex Verdin boards.
Signed-off-by: default avatarVitor Soares <vitor.soares@toradex.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 54c7a04e
...@@ -110,6 +110,11 @@ wm8904_1a: audio-codec@1a { ...@@ -110,6 +110,11 @@ wm8904_1a: audio-codec@1a {
}; };
}; };
/* Verdin I2C_3_HDMI */
&i2c5 {
status = "okay";
};
/* Verdin PCIE_1 */ /* Verdin PCIE_1 */
&pcie { &pcie {
status = "okay"; status = "okay";
......
...@@ -131,6 +131,11 @@ nau8822_1a: audio-codec@1a { ...@@ -131,6 +131,11 @@ nau8822_1a: audio-codec@1a {
}; };
}; };
/* Verdin I2C_3_HDMI */
&i2c5 {
status = "okay";
};
/* Verdin PCIE_1 */ /* Verdin PCIE_1 */
&pcie { &pcie {
status = "okay"; status = "okay";
......
...@@ -112,6 +112,11 @@ &i2c4 { ...@@ -112,6 +112,11 @@ &i2c4 {
status = "okay"; status = "okay";
}; };
/* Verdin I2C_3_HDMI */
&i2c5 {
status = "okay";
};
/* Verdin PCIE_1 */ /* Verdin PCIE_1 */
&pcie { &pcie {
status = "okay"; status = "okay";
......
...@@ -117,6 +117,11 @@ &i2c4 { ...@@ -117,6 +117,11 @@ &i2c4 {
status = "okay"; status = "okay";
}; };
/* Verdin I2C_3_HDMI */
&i2c5 {
status = "okay";
};
/* Verdin PCIE_1 */ /* Verdin PCIE_1 */
&pcie { &pcie {
status = "okay"; status = "okay";
......
...@@ -664,8 +664,6 @@ atmel_mxt_ts_mezzanine: touch-mezzanine@4a { ...@@ -664,8 +664,6 @@ atmel_mxt_ts_mezzanine: touch-mezzanine@4a {
}; };
}; };
/* TODO: Verdin I2C_3_HDMI */
/* Verdin I2C_4_CSI */ /* Verdin I2C_4_CSI */
&i2c3 { &i2c3 {
clock-frequency = <400000>; clock-frequency = <400000>;
...@@ -764,6 +762,16 @@ eeprom_carrier_board: eeprom@57 { ...@@ -764,6 +762,16 @@ eeprom_carrier_board: eeprom@57 {
}; };
}; };
/* Verdin I2C_3_HDMI */
&i2c5 {
clock-frequency = <100000>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c5>;
pinctrl-1 = <&pinctrl_i2c5_gpio>;
scl-gpios = <&gpio3 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio3 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
};
/* Verdin PCIE_1 */ /* Verdin PCIE_1 */
&pcie { &pcie {
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -1106,8 +1114,6 @@ pinctrl_gpio_keys: gpiokeysgrp { ...@@ -1106,8 +1114,6 @@ pinctrl_gpio_keys: gpiokeysgrp {
pinctrl_hdmi_hog: hdmihoggrp { pinctrl_hdmi_hog: hdmihoggrp {
fsl,pins = fsl,pins =
<MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000019>, /* SODIMM 63 */ <MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000019>, /* SODIMM 63 */
<MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c3>, /* SODIMM 59 */
<MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c3>, /* SODIMM 57 */
<MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000019>; /* SODIMM 61 */ <MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000019>; /* SODIMM 61 */
}; };
...@@ -1163,6 +1169,19 @@ pinctrl_i2c4_gpio: i2c4gpiogrp { ...@@ -1163,6 +1169,19 @@ pinctrl_i2c4_gpio: i2c4gpiogrp {
<MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001c6>; /* SODIMM 12 */ <MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001c6>; /* SODIMM 12 */
}; };
/* Verdin I2C_3_HDMI */
pinctrl_i2c5: i2c5grp {
fsl,pins =
<MX8MP_IOMUXC_HDMI_DDC_SCL__I2C5_SCL 0x400001c6>, /* SODIMM 59 */
<MX8MP_IOMUXC_HDMI_DDC_SDA__I2C5_SDA 0x400001c6>; /* SODIMM 57 */
};
pinctrl_i2c5_gpio: i2c5gpiogrp {
fsl,pins =
<MX8MP_IOMUXC_HDMI_DDC_SCL__GPIO3_IO26 0x400001c6>, /* SODIMM 59 */
<MX8MP_IOMUXC_HDMI_DDC_SDA__GPIO3_IO27 0x400001c6>; /* SODIMM 57 */
};
/* Verdin I2S_2_BCLK (TOUCH_RESET#) */ /* Verdin I2S_2_BCLK (TOUCH_RESET#) */
pinctrl_i2s_2_bclk_touch_reset: i2s2bclktouchresetgrp { pinctrl_i2s_2_bclk_touch_reset: i2s2bclktouchresetgrp {
fsl,pins = fsl,pins =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment