]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 18 Dec 2020 10:43:45 +0000 (11:43 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 18 Dec 2020 10:50:27 +0000 (11:50 +0100)
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 if the
ACTIVE_HIGH, what will leave the pin in input to achieve high state (pin
has the pull-up) and solve the issue.

Suggested-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi

index c4319880759fc4a2fb851475cd393b26a9a07f81..fbcc8287c56eba67a934fa76d882f3bd0b2ed602 100644 (file)
@@ -11,3 +11,7 @@
        snps,reset-delays-us = <0 10000 1000000>;
        snps,reset-active-low;
 };
+
+&tflash_vdd {
+       gpio = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>;
+};