Skip to content

Commit daf12be

Browse files
mszyprowkhilman
authored andcommitted
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: 326e575 ("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
1 parent 19f6fe9 commit daf12be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
regulator-min-microvolt = <3300000>;
5353
regulator-max-microvolt = <3300000>;
5454

55-
gpio = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
55+
gpio = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>;
5656
enable-active-high;
5757
regulator-always-on;
5858
};

0 commit comments

Comments
 (0)