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	chosen {
22		stdout-path = "serial2:115200n8";
23	};
24
25	fin_pll: xxti {
26		compatible = "fixed-clock";
27		clock-frequency = <24000000>;
28		clock-output-names = "fin_pll";
29		#clock-cells = <0>;
30	};
31
32	ioclk_pcm: clock-pcm-ext {
33		compatible = "fixed-clock";
34		clock-frequency = <2048000>;
35		clock-output-names = "ioclk_pcm_extclk";
36		#clock-cells = <0>;
37	};
38
39	ioclk_i2s: clock-i2s-cd {
40		compatible = "fixed-clock";
41		clock-frequency = <147456000>;
42		clock-output-names = "ioclk_i2s_cdclk";
43		#clock-cells = <0>;
44	};
45
46	ioclk_spdif: clock-spdif-ext {
47		compatible = "fixed-clock";
48		clock-frequency = <49152000>;
49		clock-output-names = "ioclk_spdif_extclk";
50		#clock-cells = <0>;
51	};
52
53	xrtcxti: xrtcxti {
54		compatible = "fixed-clock";
55		clock-frequency = <32768>;
56		clock-output-names = "xrtcxti";
57		#clock-cells = <0>;
58	};
59};
60
61&pinctrl_0 {
62	hdmi_hpd_irq: hdmi-hpd-irq-pins {
63		samsung,pins = "gpx3-7";
64		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
65		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
66		samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
67	};
68};
69
70&uart0 {
71	status = "okay";
72};
73
74&uart1 {
75	status = "okay";
76};
77
78&uart2 {
79	status = "okay";
80};
81
82&uart3 {
83	status = "okay";
84};
85
86&mmc_0 {
87	status = "okay";
88	broken-cd;
89	cap-mmc-highspeed;
90	supports-hs200-mode; /* 200 MHz */
91	card-detect-delay = <200>;
92	samsung,dw-mshc-ciu-div = <3>;
93	samsung,dw-mshc-sdr-timing = <0 4>;
94	samsung,dw-mshc-ddr-timing = <0 2>;
95	pinctrl-names = "default";
96	pinctrl-0 = <&sd0_rdqs &sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
97	bus-width = <8>;
98};
99
100&mmc_2 {
101	status = "okay";
102	cap-sd-highspeed;
103	card-detect-delay = <200>;
104	samsung,dw-mshc-ciu-div = <3>;
105	samsung,dw-mshc-sdr-timing = <2 3>;
106	samsung,dw-mshc-ddr-timing = <1 2>;
107	pinctrl-names = "default";
108	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
109	bus-width = <4>;
110	disable-wp;
111};
112