Commit 908bfeb6 authored by Alexander Stein's avatar Alexander Stein Committed by Shawn Guo

ARM: dts: imx7-tqma7: Add i2c bus recovery

Add the pin muxing and GPIO settings for SCL/SDA for i2c1.
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 1c8b4df7
......@@ -30,8 +30,11 @@ qspi-reset-hog {
};
&i2c1 {
pinctrl-names = "default";
pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c1>;
pinctrl-1 = <&pinctrl_i2c1_recovery>;
scl-gpios = <&gpio4 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio4 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
clock-frequency = <100000>;
status = "okay";
......@@ -168,6 +171,12 @@ pinctrl_i2c1: i2c1grp {
<MX7D_PAD_I2C1_SCL__I2C1_SCL 0x40000078>;
};
pinctrl_i2c1_recovery: i2c1recoverygrp {
fsl,pins =
<MX7D_PAD_I2C1_SDA__GPIO4_IO9 0x40000078>,
<MX7D_PAD_I2C1_SCL__GPIO4_IO8 0x40000078>;
};
pinctrl_pmic1: pmic1grp {
fsl,pins =
<MX7D_PAD_SD2_RESET_B__GPIO5_IO11 0x4000005C>;
......
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