1/*
2 * Odroid-U3/X2 board device tree source
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 *		http://www.samsung.com
6 *
7 * SPDX-License-Identifier:	GPL-2.0+
8 */
9
10/dts-v1/;
11#include "exynos4.dtsi"
12
13/ {
14	model = "Odroid based on Exynos4412";
15	compatible = "samsung,odroid", "samsung,exynos4412";
16
17	aliases {
18		i2c0 = "/i2c@13860000";
19		serial0 = "/serial@13800000";
20		console = "/serial@13810000";
21		mmc2 = "sdhci@12530000";
22		mmc4 = "dwmmc@12550000";
23	};
24
25	i2c@13860000 {
26		samsung,i2c-sda-delay = <100>;
27		samsung,i2c-slave-addr = <0x10>;
28		samsung,i2c-max-bus-freq = <100000>;
29		status = "okay";
30
31		max77686_pmic@09 {
32			compatible = "maxim,max77686_pmic";
33			interrupts = <7 0>;
34			reg = <0x09 0 0>;
35			#clock-cells = <1>;
36		};
37	};
38
39	serial@13810000 {
40		status = "okay";
41	};
42
43	sdhci@12510000 {
44		status = "disabled";
45	};
46
47	sdhci@12520000 {
48		status = "disabled";
49	};
50
51	sdhci@12530000 {
52		samsung,bus-width = <4>;
53		samsung,timing = <1 2 3>;
54		cd-gpios = <&gpio 0xC2 0>;
55	};
56
57	sdhci@12540000 {
58		status = "disabled";
59	};
60
61	dwmmc@12550000 {
62		samsung,bus-width = <8>;
63		samsung,timing = <2 1 0>;
64		samsung,removable = <0>;
65		fifoth_val = <0x203f0040>;
66		bus_hz = <400000000>;
67		div = <0x3>;
68		index = <4>;
69	};
70};
71