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 "exynos4412.dtsi"
12
13/ {
14	model = "Odroid based on Exynos4412";
15	compatible = "samsung,odroid", "samsung,exynos4412";
16
17	aliases {
18		i2c0 = "/i2c@13860000";
19		i2c1 = "/i2c@13870000";
20		i2c2 = "/i2c@13880000";
21		i2c3 = "/i2c@13890000";
22		i2c4 = "/i2c@138a0000";
23		i2c5 = "/i2c@138b0000";
24		i2c6 = "/i2c@138c0000";
25		i2c7 = "/i2c@138d0000";
26		serial0 = "/serial@13800000";
27		console = "/serial@13810000";
28		mmc2 = "sdhci@12530000";
29		mmc4 = "dwmmc@12550000";
30	};
31
32	i2c@13860000 {
33		samsung,i2c-sda-delay = <100>;
34		samsung,i2c-slave-addr = <0x10>;
35		samsung,i2c-max-bus-freq = <100000>;
36		status = "okay";
37
38		max77686_pmic@09 {
39			compatible = "maxim,max77686_pmic";
40			interrupts = <7 0>;
41			reg = <0x09 0 0>;
42			#clock-cells = <1>;
43		};
44	};
45
46	serial@13810000 {
47		status = "okay";
48	};
49
50	sdhci@12510000 {
51		status = "disabled";
52	};
53
54	sdhci@12520000 {
55		status = "disabled";
56	};
57
58	sdhci@12530000 {
59		samsung,bus-width = <4>;
60		samsung,timing = <1 2 3>;
61		cd-gpios = <&gpk2 2 0>;
62	};
63
64	sdhci@12540000 {
65		status = "disabled";
66	};
67
68	dwmmc@12550000 {
69		samsung,bus-width = <8>;
70		samsung,timing = <2 1 0>;
71		samsung,removable = <0>;
72		fifoth_val = <0x203f0040>;
73		bus_hz = <400000000>;
74		div = <0x3>;
75		index = <4>;
76	};
77
78	ehci@12580000 {
79		compatible = "samsung,exynos-ehci";
80		reg = <0x12580000 0x100>;
81		#address-cells = <1>;
82		#size-cells = <1>;
83		phy {
84			compatible = "samsung,exynos-usb-phy";
85			reg = <0x125B0000 0x100>;
86		};
87	};
88};
89