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