Quentin Schulz | 14f731e | 2024-03-11 13:01:59 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2023 Theobroma Systems Design und Consulting GmbH |
| 4 | */ |
| 5 | |
| 6 | #include "rk3588-u-boot.dtsi" |
| 7 | |
| 8 | / { |
| 9 | chosen { |
| 10 | u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; |
| 11 | }; |
| 12 | }; |
| 13 | |
| 14 | &emmc_pwrseq { |
| 15 | bootph-pre-ram; |
| 16 | bootph-some-ram; |
| 17 | }; |
| 18 | |
| 19 | &emmc_reset { |
| 20 | bootph-pre-ram; |
| 21 | bootph-some-ram; |
| 22 | }; |
| 23 | |
| 24 | &gpio2 { |
| 25 | bootph-pre-ram; |
| 26 | bootph-some-ram; |
| 27 | }; |
| 28 | |
| 29 | &sdhci { |
| 30 | /* U-Boot currently cannot handle anything below HS200 for eMMC on RK3588 */ |
| 31 | /delete-property/ mmc-ddr-1_8v; |
| 32 | /delete-property/ cap-mmc-highspeed; |
| 33 | }; |