Commit 2f321fd6 authored by Max Krummenacher's avatar Max Krummenacher Committed by Shawn Guo
Browse files

arm64: dts: verdin-imx8mp: fix ctrl_sleep_moci



The GPIO signaling ctrl_sleep_moci is currently handled as a gpio hog.
But the gpio-hog node is made a child of the wrong gpio controller.
Move it to the node representing gpio4 so that it actually works.

Without this carrier board components jumpered to use the signal are
unconditionally switched off.

Fixes: a39ed23b ("arm64: dts: freescale: add initial support for verdin imx8m plus")
Signed-off-by: default avatarMax Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent f23f1a1e
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -354,16 +354,6 @@
			  "SODIMM_82",
			  "SODIMM_70",
			  "SODIMM_72";

	ctrl-sleep-moci-hog {
		gpio-hog;
		/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
		gpios = <29 GPIO_ACTIVE_HIGH>;
		line-name = "CTRL_SLEEP_MOCI#";
		output-high;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_ctrl_sleep_moci>;
	};
};

&gpio3 {
@@ -432,6 +422,16 @@
			  "SODIMM_256",
			  "SODIMM_48",
			  "SODIMM_44";

	ctrl-sleep-moci-hog {
		gpio-hog;
		/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
		gpios = <29 GPIO_ACTIVE_HIGH>;
		line-name = "CTRL_SLEEP_MOCI#";
		output-high;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_ctrl_sleep_moci>;
	};
};

/* On-module I2C */