1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Samsung XYREF5260 board device tree source
4 *
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 *		http://www.samsung.com
7 */
8
9/dts-v1/;
10#include "exynos5260.dtsi"
11
12/ {
13	model = "Samsung XYREF5260 board based on Exynos5260";
14	compatible = "samsung,xyref5260", "samsung,exynos5260", "samsung,exynos5";
15
16	memory@20000000 {
17		device_type = "memory";
18		reg = <0x20000000 0x80000000>;
19	};
20
21	aliases {
22		mmc0 = &mmc_0;
23		mmc1 = &mmc_2;
24	};
25
26	chosen {
27		stdout-path = "serial2:115200n8";
28	};
29
30	fin_pll: xxti {
31		compatible = "fixed-clock";
32		clock-frequency = <24000000>;
33		clock-output-names = "fin_pll";
34		#clock-cells = <0>;
35	};
36
37	ioclk_pcm: clock-pcm-ext {
38		compatible = "fixed-clock";
39		clock-frequency = <2048000>;
40		clock-output-names = "ioclk_pcm_extclk";
41		#clock-cells = <0>;
42	};
43
44	ioclk_i2s: clock-i2s-cd {
45		compatible = "fixed-clock";
46		clock-frequency = <147456000>;
47		clock-output-names = "ioclk_i2s_cdclk";
48		#clock-cells = <0>;
49	};
50
51	ioclk_spdif: clock-spdif-ext {
52		compatible = "fixed-clock";
53		clock-frequency = <49152000>;
54		clock-output-names = "ioclk_spdif_extclk";
55		#clock-cells = <0>;
56	};
57
58	xrtcxti: xrtcxti {
59		compatible = "fixed-clock";
60		clock-frequency = <32768>;
61		clock-output-names = "xrtcxti";
62		#clock-cells = <0>;
63	};
64};
65
66&pinctrl_0 {
67	hdmi_hpd_irq: hdmi-hpd-irq-pins {
68		samsung,pins = "gpx3-7";
69		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
70		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
71		samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
72	};
73};
74
75&uart0 {
76	status = "okay";
77};
78
79&uart1 {
80	status = "okay";
81};
82
83&uart2 {
84	status = "okay";
85};
86
87&uart3 {
88	status = "okay";
89};
90
91&mmc_0 {
92	status = "okay";
93	broken-cd;
94	cap-mmc-highspeed;
95	mmc-hs200-1_8v;
96	card-detect-delay = <200>;
97	mmc-ddr-1_8v;
98	samsung,dw-mshc-ciu-div = <3>;
99	samsung,dw-mshc-sdr-timing = <0 4>;
100	samsung,dw-mshc-ddr-timing = <0 2>;
101	pinctrl-names = "default";
102	pinctrl-0 = <&sd0_rdqs &sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
103	bus-width = <8>;
104};
105
106&mmc_2 {
107	status = "okay";
108	cap-sd-highspeed;
109	card-detect-delay = <200>;
110	samsung,dw-mshc-ciu-div = <3>;
111	samsung,dw-mshc-sdr-timing = <2 3>;
112	samsung,dw-mshc-ddr-timing = <1 2>;
113	pinctrl-names = "default";
114	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
115	bus-width = <4>;
116	disable-wp;
117};
118