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; |
| 15 | mmc1 = &sdmmc; |
| 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"; |
| 31 | pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>; |
| 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"; |
| 42 | pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd>; |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &uart2 { |
| 47 | status = "okay"; |
| 48 | }; |