1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-02 07:51:17 +02:00
Files
u-boot-megous/arch/arm/dts/rk3566-quartz64-a-u-boot.dtsi
Jonas Karlman ebe293bae7 rockchip: rk35xx: Remove use of eMMC DDR52 mode
Testing has shown that writing to eMMC using DDR52 mode does not seem to
work on RK356x and RK3588 boards.

A simple test of writing a single block to e.g. sector 0x4000 fails:

  # Rescan using DDR52 mode
  => mmc rescan 4

  # Write a single block to sector 0x4000 fails with ERROR
  => mmc write 20000000 4000 1

With the MMC_SPEED_MODE_SET Kconfig option enabled.

Fix this by removing the mmc-ddr-1_8v prop from sdhci nodes in affected
board u-boot.dtsi files.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2024-02-05 15:00:51 +08:00

39 lines
551 B
Plaintext

// SPDX-License-Identifier: GPL-2.0+
#include "rk356x-u-boot.dtsi"
&gpio0 {
bootph-all;
};
&sdhci {
cap-mmc-highspeed;
pinctrl-names = "default";
pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
};
&sfc {
bootph-pre-ram;
u-boot,spl-sfc-no-dma;
flash@0 {
bootph-pre-ram;
};
};
/*
* U-Boot does not support multiple regulators using the same gpio,
* use vcc5v0_usb20_host to fix use of USB 2.0 port
*/
&usb2phy0_otg {
phy-supply = <&vcc5v0_usb20_host>;
};
&vcc3v3_sd {
bootph-pre-ram;
};
&vcc_sd_h {
bootph-all;
};