path: root/arch/arm/boot/dts/imx6qdl-apalis.dtsi
diff options
authorStefan Agner <>2019-01-18 14:31:13 +0100
committerMarcel Ziswiler <>2020-02-09 22:45:41 +0100
commit08ad210e2b36204a7cac2f72526e0b0431679cc6 (patch)
tree4c1659eb377a6d405d334103cb07b15c20fc2929 /arch/arm/boot/dts/imx6qdl-apalis.dtsi
parent7dfcd6cfb8abe59c345a86aac11627bd15c5bab3 (diff)
ARM: dts: imx6*-apalis/-colibri: mark I2C recovery GPIOs as open drain
Since commit d2d0ad2aec4a ("i2c: imx: use open drain for recovery GPIO") GPIO lib expects this GPIO to be configured as open drain. Make sure we define this GPIO as open drain in the device tree. This gets rid of the following warning: gpio-81 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file Note that currently the i.MX pinctrl driver does not support enabling open drain directly, so this patch has no effect in practice. Open drain is enabled by the fixed pinmux entry. Signed-off-by: Stefan Agner <> Reviewed-by: Philippe Schenker <> Signed-off-by: Shawn Guo <> (cherry picked from commit d2b91ab1480618885fe0a7f240b7e7710344a066)
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-apalis.dtsi')
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi
index 88f1dc22346b..e46732b5e2f2 100644
--- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi
@@ -363,8 +363,8 @@
pinctrl-names = "default", "recovery";
pinctrl-0 = <&pinctrl_i2c3>;
pinctrl-1 = <&pinctrl_i2c3_recovery>;
- scl-gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
- sda-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
+ scl-gpios = <&gpio3 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio3 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "disabled";