]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: verdin-imx8mm: add ctrl_sleep_moci# hog
authorAndrejs Cainikovs <andrejs.cainikovs@toradex.com>
Tue, 11 Jul 2023 09:09:16 +0000 (11:09 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:41 +0000 (11:29 +0200)
Drive CTRL_SLEEP_MOCI# high at boot (SPL) using a GPIO hog, this signal
may be used to control some power-rails on the carrier board, therefore
it should be set to high when the module is booting.

To do this as early as possible is generally a good idea and the issue
was noticed on the Yavia carrier board where it is needed to power the
I2C EEPROM on the carrier board.

Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi

index 494229e4e62a020f0b00a0bc7207fe9ac374f2cd..2b268f55cb9566c702027bb8dbc3a7aad3432544 100644 (file)
 
 &gpio5 {
        bootph-pre-ram;
+
+       ctrl-sleep-moci-hog {
+               bootph-pre-ram;
+       };
 };
 
 &i2c1 {
        };
 };
 
+&pinctrl_ctrl_sleep_moci {
+       bootph-pre-ram;
+};
+
 &pinctrl_i2c1 {
        bootph-pre-ram;
 };