Jonas Karlman | f68c63d | 2023-08-21 22:30:29 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Minimal generic DT for RK3566/RK3568 with eMMC and SD-card enabled |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | #include "rk356x.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "Generic RK3566/RK3568"; |
| 11 | compatible = "rockchip,rk3568"; |
| 12 | |
Jonas Karlman | 04fb6f0 | 2024-01-31 22:07:14 +0000 | [diff] [blame] | 13 | aliases { |
| 14 | mmc0 = &sdhci; |
Jonas Karlman | 4acf606 | 2024-04-22 06:29:00 +0000 | [diff] [blame^] | 15 | mmc1 = &sdmmc0; |
Jonas Karlman | 04fb6f0 | 2024-01-31 22:07:14 +0000 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | chosen { |
Jonas Karlman | f68c63d | 2023-08-21 22:30:29 +0000 | [diff] [blame] | 19 | stdout-path = "serial2:1500000n8"; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &sdhci { |
| 24 | bus-width = <8>; |
| 25 | cap-mmc-highspeed; |
Jonas Karlman | 04fb6f0 | 2024-01-31 22:07:14 +0000 | [diff] [blame] | 26 | mmc-hs200-1_8v; |
| 27 | no-sd; |
| 28 | no-sdio; |
Jonas Karlman | f68c63d | 2023-08-21 22:30:29 +0000 | [diff] [blame] | 29 | non-removable; |
| 30 | pinctrl-names = "default"; |
Jonas Karlman | 4acf606 | 2024-04-22 06:29:00 +0000 | [diff] [blame^] | 31 | pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; |
Jonas Karlman | f68c63d | 2023-08-21 22:30:29 +0000 | [diff] [blame] | 32 | status = "okay"; |
| 33 | }; |
| 34 | |
| 35 | &sdmmc0 { |
| 36 | bus-width = <4>; |
| 37 | cap-sd-highspeed; |
| 38 | disable-wp; |
Jonas Karlman | 04fb6f0 | 2024-01-31 22:07:14 +0000 | [diff] [blame] | 39 | no-mmc; |
| 40 | no-sdio; |
Jonas Karlman | f68c63d | 2023-08-21 22:30:29 +0000 | [diff] [blame] | 41 | pinctrl-names = "default"; |
Jonas Karlman | 4acf606 | 2024-04-22 06:29:00 +0000 | [diff] [blame^] | 42 | pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; |
Jonas Karlman | f68c63d | 2023-08-21 22:30:29 +0000 | [diff] [blame] | 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &uart2 { |
| 47 | status = "okay"; |
| 48 | }; |