1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Unisoc UMS512-1h10 boards DTS file
4 *
5 * Copyright (C) 2021, Unisoc Inc.
6 */
7
8/dts-v1/;
9
10#include "ums512.dtsi"
11
12/ {
13	model = "Unisoc UMS512-1H10 Board";
14
15	compatible = "sprd,ums512-1h10", "sprd,ums512";
16
17	aliases {
18		serial0 = &uart0;
19		serial1 = &uart1;
20	};
21
22	memory@80000000 {
23		device_type = "memory";
24		reg = <0x0 0x80000000 0x0 0x80000000>;
25	};
26
27	chosen {
28		stdout-path = "serial1:115200n8";
29	};
30};
31
32&uart0 {
33	status = "okay";
34};
35
36&uart1 {
37	status = "okay";
38};
39
40/* SD card */
41&sdio0 {
42	bus-width = <4>;
43	no-sdio;
44	no-mmc;
45	sprd,phy-delay-sd-uhs-sdr104 = <0x7f 0x73 0x72 0x72>;
46	sprd,phy-delay-sd-uhs-sdr50 = <0x6e 0x7f 0x01 0x01>;
47	sprd,phy-delay-sd-highspeed = <0x7f 0x1a 0x9a 0x9a>;
48	sprd,phy-delay-legacy = <0x7f 0x1a 0x9a 0x9a>;
49	sd-uhs-sdr104;
50	sd-uhs-sdr50;
51};
52
53/* EMMC storage */
54&sdio3 {
55	status = "okay";
56	bus-width = <8>;
57	no-sdio;
58	no-sd;
59	non-removable;
60	cap-mmc-hw-reset;
61};
62