Commit 4e9ccbd6 authored by Oleksandr Suvorov's avatar Oleksandr Suvorov Committed by Shawn Guo

ARM: dts: imx7-colibri: add recovery for I2C for iMX7

- add recovery mode for applicable i2c buses for
  Colibri iMX7 module.
Signed-off-by: default avatarOleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: default avatarPhilippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 02200d29
...@@ -140,8 +140,12 @@ &gpmi { ...@@ -140,8 +140,12 @@ &gpmi {
&i2c1 { &i2c1 {
clock-frequency = <100000>; clock-frequency = <100000>;
pinctrl-names = "default"; pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c1 &pinctrl_i2c1_int>; pinctrl-0 = <&pinctrl_i2c1 &pinctrl_i2c1_int>;
pinctrl-1 = <&pinctrl_i2c1_recovery &pinctrl_i2c1_int>;
scl-gpios = <&gpio1 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio1 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay"; status = "okay";
codec: sgtl5000@a { codec: sgtl5000@a {
...@@ -242,8 +246,11 @@ reg_LDO5: LDO5 { /* PWR_EN_+V3.3 */ ...@@ -242,8 +246,11 @@ reg_LDO5: LDO5 { /* PWR_EN_+V3.3 */
&i2c4 { &i2c4 {
clock-frequency = <100000>; clock-frequency = <100000>;
pinctrl-names = "default"; pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c4>; pinctrl-0 = <&pinctrl_i2c4>;
pinctrl-1 = <&pinctrl_i2c4_recovery>;
scl-gpios = <&gpio7 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio7 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
}; };
&lcdif { &lcdif {
...@@ -536,6 +543,13 @@ MX7D_PAD_ENET1_RGMII_TD2__I2C4_SCL 0x4000007f ...@@ -536,6 +543,13 @@ MX7D_PAD_ENET1_RGMII_TD2__I2C4_SCL 0x4000007f
>; >;
}; };
pinctrl_i2c4_recovery: i2c4-recoverygrp {
fsl,pins = <
MX7D_PAD_ENET1_RGMII_TD2__GPIO7_IO8 0x4000007f
MX7D_PAD_ENET1_RGMII_TD3__GPIO7_IO9 0x4000007f
>;
};
pinctrl_lcdif_dat: lcdif-dat-grp { pinctrl_lcdif_dat: lcdif-dat-grp {
fsl,pins = < fsl,pins = <
MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79 MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79
...@@ -736,6 +750,13 @@ MX7D_PAD_LPSR_GPIO1_IO04__I2C1_SCL 0x4000007f ...@@ -736,6 +750,13 @@ MX7D_PAD_LPSR_GPIO1_IO04__I2C1_SCL 0x4000007f
>; >;
}; };
pinctrl_i2c1_recovery: i2c1-recoverygrp {
fsl,pins = <
MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4 0x4000007f
MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x4000007f
>;
};
pinctrl_cd_usdhc1: usdhc1-cd-grp { pinctrl_cd_usdhc1: usdhc1-cd-grp {
fsl,pins = < fsl,pins = <
MX7D_PAD_LPSR_GPIO1_IO00__GPIO1_IO0 0x59 /* CD */ MX7D_PAD_LPSR_GPIO1_IO00__GPIO1_IO0 0x59 /* CD */
......
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