Eugen Hristev | 32f36cf | 2023-02-22 11:05:12 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2023 Collabora Ltd. |
| 4 | */ |
| 5 | |
| 6 | #include "rk3588-u-boot.dtsi" |
| 7 | |
| 8 | / { |
| 9 | aliases { |
Jonas Karlman | ced8be0 | 2023-04-18 16:46:41 +0000 | [diff] [blame] | 10 | mmc1 = &sdmmc; |
Eugen Hristev | 32f36cf | 2023-02-22 11:05:12 +0200 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | chosen { |
Jonas Karlman | ced8be0 | 2023-04-18 16:46:41 +0000 | [diff] [blame] | 14 | u-boot,spl-boot-order = "same-as-spl", &sdmmc, &sdhci; |
Eugen Hristev | 32f36cf | 2023-02-22 11:05:12 +0200 | [diff] [blame] | 15 | }; |
| 16 | }; |
| 17 | |
| 18 | &sdmmc { |
| 19 | bus-width = <4>; |
Eugen Hristev | 32f36cf | 2023-02-22 11:05:12 +0200 | [diff] [blame] | 20 | status = "okay"; |
| 21 | }; |
Jonas Karlman | ced8be0 | 2023-04-18 16:46:41 +0000 | [diff] [blame] | 22 | |
| 23 | &sdhci { |
| 24 | cap-mmc-highspeed; |
| 25 | mmc-ddr-1_8v; |
| 26 | mmc-hs200-1_8v; |
| 27 | pinctrl-names = "default"; |
| 28 | pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_data_strobe &emmc_rstnout>; |
| 29 | }; |