Commit b0a32b757958a4d898b61bda02514613f48f8d2d
1 parent
54b96f806b
Exists in
smarc-n7.1.2_2.0.0-ga
and in
2 other branches
MLK-16191 arm: dts: add i2c bus recovery for imx6qp-sdb board
Add i2c bus recovery support to recover i2c2 bus from dead lock status. Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Showing 1 changed file with 11 additions and 1 deletions Side-by-side Diff
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
... | ... | @@ -423,8 +423,11 @@ |
423 | 423 | |
424 | 424 | &i2c2 { |
425 | 425 | clock-frequency = <100000>; |
426 | - pinctrl-names = "default"; | |
426 | + pinctrl-names = "default", "gpio"; | |
427 | 427 | pinctrl-0 = <&pinctrl_i2c2>; |
428 | + pinctrl-1 = <&pinctrl_i2c2_gpio>; | |
429 | + scl-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; | |
430 | + sda-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>; | |
428 | 431 | status = "okay"; |
429 | 432 | |
430 | 433 | egalax_ts@04 { |
... | ... | @@ -725,6 +728,13 @@ |
725 | 728 | fsl,pins = < |
726 | 729 | MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 |
727 | 730 | MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 |
731 | + >; | |
732 | + }; | |
733 | + | |
734 | + pinctrl_i2c2_gpio: i2c2_gpio_grp { | |
735 | + fsl,pins = < | |
736 | + MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x1b0b0 | |
737 | + MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x1b0b0 | |
728 | 738 | >; |
729 | 739 | }; |
730 | 740 |