summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-05-23 18:02:13 -0700
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-24 14:46:22 +0200
commit618d78d45d632801ef7fdba5e90778d2e43189c2 (patch)
tree6382777629926cdba53f8f51a8b92d6bdc4df2a7 /arch/arm/boot/dts
parent053c208cac8778fee589ef4f6b3a4ebe0d7a44d2 (diff)
ARM: dts: imx7d-colibri: Work around poweroff issue
The AD7879 interrupt GPIO is a wakeup pin. On poweroff, the external pull-up is not holding the GPIO high, hence causing a falling edge on the pad. Since the GPIO is a wakeup pin, this causes the SNVS Dumb PMIC to switch to on again (hence causing a reboot instead of a power- off). Make sure the interrupt line stays high during poweroff by configuring a pull-up on the IOMUXC LPSR GPR. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/imx7d-colibri.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-colibri.dts b/arch/arm/boot/dts/imx7d-colibri.dts
index 79797ce6f2b9..442bd4535e5f 100644
--- a/arch/arm/boot/dts/imx7d-colibri.dts
+++ b/arch/arm/boot/dts/imx7d-colibri.dts
@@ -811,6 +811,19 @@
};
};
+&iomuxc_lpsr_gpr {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2cint>;
+
+ imx7d-colibri {
+ pinctrl_i2cint: i2cintgrp {
+ fsl,pins = <
+ MX7D_PAD_GPIO1_IO13_GPR__GPIO1_I13 0xf000
+ >;
+ };
+ };
+};
+
&clks {
assigned-clocks = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
assigned-clock-rates = <884736000>;