diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2022-02-08 13:32:45 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2022-02-13 10:30:52 +0800 |
commit | 33b424c684853933c7267363f4b1ae21e735b41f (patch) | |
tree | c2028030bf121877f4fcbfcbb0416eea28ad76f4 /arch/arm/boot/dts/imx6qdl-mba6b.dtsi | |
parent | fff5ea96659a96e0cbbbf092f6ddf77a06386e08 (diff) | |
download | linux-next-33b424c684853933c7267363f4b1ae21e735b41f.tar.gz |
ARM: dts: imx6qdl: tqma6: Add i2c bus recovery
Add the pinmuxing and GPIO settings for SCL/SDA for i2c1 & i2c3.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-mba6b.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-mba6b.dtsi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-mba6b.dtsi b/arch/arm/boot/dts/imx6qdl-mba6b.dtsi index 2e3407790963..7d1cd7454c7f 100644 --- a/arch/arm/boot/dts/imx6qdl-mba6b.dtsi +++ b/arch/arm/boot/dts/imx6qdl-mba6b.dtsi @@ -13,8 +13,11 @@ &i2c1 { clock-frequency = <100000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c1>; + pinctrl-1 = <&pinctrl_i2c1_recovery>; + scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; }; |