From 618d78d45d632801ef7fdba5e90778d2e43189c2 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 23 May 2016 18:02:13 -0700 Subject: 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 Acked-by: Max Krummenacher --- arch/arm/boot/dts/imx7d-colibri.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'arch/arm') 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>; -- cgit v1.2.3