]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 22 Jan 2021 05:52:18 +0000 (06:52 +0100)
committerKevin Hilman <khilman@baylibre.com>
Wed, 27 Jan 2021 18:08:23 +0000 (10:08 -0800)
commit1eeac7c9919c74c67cd1a478ec5a1b27ec4f740b
treedb6ef4436aafa2465f051003ffd6174297edd2ad
parent4a361491bf61090bcb7cef5a6f3f4af7261d5217
arm64: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4

For the proper reboot Odroid-C4 board requires to switch TFLASH_VDD_EN
pin to the high impedance mode, otherwise the board is stuck in the
middle of loading early stages of the bootloader from SD card.

This can be achieved by using the OPEN_DRAIN flag instead of the
ACTIVE_HIGH, what will leave the pin in input mode to achieve high state
(pin has the pull-up) and solve the issue.

Suggested-by: Neil Armstrong <narmstrong@baylibre.com>
Fixes: 461376be058e ("arm64: dts: meson-sm1: add support for Hardkernel ODROID-C4")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20210122055218.27241-1-m.szyprowski@samsung.com
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts