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-tqma6a.dtsi | |
parent | fff5ea96659a96e0cbbbf092f6ddf77a06386e08 (diff) | |
download | linux-33b424c684853933c7267363f4b1ae21e735b41f.tar.bz2 |
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-tqma6a.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-tqma6a.dtsi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi b/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi index bfb67da64b96..7dc3f0005b0f 100644 --- a/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi +++ b/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi @@ -4,6 +4,8 @@ * Copyright 2013-2017 Markus Niebel <Markus.Niebel@tq-group.com> */ +#include <dt-bindings/gpio/gpio.h> + &fec { interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>, <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; @@ -11,8 +13,11 @@ }; &i2c1 { - 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)>; clock-frequency = <100000>; status = "okay"; |