mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 21:39:02 +00:00
parent
18cf7aff70
commit
ab9faf847a
1 changed files with 37 additions and 0 deletions
37
patch/u-boot/u-boot-meson64/odroidc4_TFLASH_VDD_EN_pin.patch
Normal file
37
patch/u-boot/u-boot-meson64/odroidc4_TFLASH_VDD_EN_pin.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
From 21a1bc6a900c33efe4da4cc1b33efcfa543fd9d0 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Szyprowski <m.szyprowski@samsung.com>
|
||||
Date: Fri, 18 Dec 2020 11:43:45 +0100
|
||||
Subject: [PATCH] ARM: 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 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 | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi
|
||||
index c431988075..fbcc8287c5 100644
|
||||
--- a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi
|
||||
+++ b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi
|
||||
@@ -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>;
|
||||
+};
|
||||
--
|
||||
GitLab
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue