1/*
2 * Odroid XU3 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 "exynos54xx.dtsi"
12
13/ {
14	model = "Odroid XU3 based on EXYNOS5422";
15	compatible = "samsung,odroidxu3", "samsung,exynos5";
16
17	aliases {
18		serial0 = "/serial@12C00000";
19		console = "/serial@12C20000";
20	};
21
22	memory {
23		device_type = "memory";
24		reg =  <0x40000000 0x10000000
25			0x50000000 0x10000000
26			0x60000000 0x10000000
27			0x70000000 0x10000000
28			0x80000000 0x10000000
29			0x90000000 0x10000000
30			0xa0000000 0x10000000
31			0xb0000000 0xea00000>;
32	};
33
34	adc@12D10000 {
35		u-boot,dm-pre-reloc;
36		status = "okay";
37	};
38
39	i2c@12CA0000 {
40		s2mps11_pmic@66 {
41			compatible = "samsung,s2mps11-pmic";
42			reg = <0x66>;
43			voltage-regulators {
44				ldo1_reg: LDO1 {
45					regulator-name = "vdd_ldo1";
46					regulator-min-microvolt = <1000000>;
47					regulator-max-microvolt = <1000000>;
48					regulator-always-on;
49				};
50
51				ldo3_reg: LDO3 {
52					regulator-name = "vddq_mmc0";
53					regulator-min-microvolt = <1800000>;
54					regulator-max-microvolt = <1800000>;
55				};
56
57				ldo4_reg: LDO4 {
58					regulator-name = "vdd_adc";
59					regulator-min-microvolt = <1800000>;
60					regulator-max-microvolt = <1800000>;
61				};
62
63				ldo5_reg: LDO5 {
64					regulator-name = "vdd_ldo5";
65					regulator-min-microvolt = <1800000>;
66					regulator-max-microvolt = <1800000>;
67					regulator-always-on;
68				};
69
70				ldo6_reg: LDO6 {
71					regulator-name = "vdd_ldo6";
72					regulator-min-microvolt = <1000000>;
73					regulator-max-microvolt = <1000000>;
74					regulator-always-on;
75				};
76
77				ldo7_reg: LDO7 {
78					regulator-name = "vdd_ldo7";
79					regulator-min-microvolt = <1800000>;
80					regulator-max-microvolt = <1800000>;
81					regulator-always-on;
82				};
83
84				ldo8_reg: LDO8 {
85					regulator-name = "vdd_ldo8";
86					regulator-min-microvolt = <1800000>;
87					regulator-max-microvolt = <1800000>;
88					regulator-always-on;
89				};
90
91				ldo9_reg: LDO9 {
92					regulator-name = "vdd_ldo9";
93					regulator-min-microvolt = <3000000>;
94					regulator-max-microvolt = <3000000>;
95					regulator-always-on;
96				};
97
98				ldo10_reg: LDO10 {
99					regulator-name = "vdd_ldo10";
100					regulator-min-microvolt = <1800000>;
101					regulator-max-microvolt = <1800000>;
102					regulator-always-on;
103				};
104
105				ldo11_reg: LDO11 {
106					regulator-name = "vdd_ldo11";
107					regulator-min-microvolt = <1000000>;
108					regulator-max-microvolt = <1000000>;
109					regulator-always-on;
110				};
111
112				ldo12_reg: LDO12 {
113					regulator-name = "vdd_ldo12";
114					regulator-min-microvolt = <1800000>;
115					regulator-max-microvolt = <1800000>;
116					regulator-always-on;
117				};
118
119				ldo13_reg: LDO13 {
120					regulator-name = "vddq_mmc2";
121					regulator-min-microvolt = <2800000>;
122					regulator-max-microvolt = <2800000>;
123				};
124
125				ldo15_reg: LDO15 {
126					regulator-name = "vdd_ldo15";
127					regulator-min-microvolt = <3100000>;
128					regulator-max-microvolt = <3100000>;
129					regulator-always-on;
130				};
131
132				ldo16_reg: LDO16 {
133					regulator-name = "vdd_ldo16";
134					regulator-min-microvolt = <2200000>;
135					regulator-max-microvolt = <2200000>;
136					regulator-always-on;
137				};
138
139				ldo17_reg: LDO17 {
140					regulator-name = "tsp_avdd";
141					regulator-min-microvolt = <3300000>;
142					regulator-max-microvolt = <3300000>;
143					regulator-always-on;
144				};
145
146				ldo18_reg: LDO18 {
147					regulator-name = "vdd_emmc_1V8";
148					regulator-min-microvolt = <1800000>;
149					regulator-max-microvolt = <1800000>;
150				};
151
152				ldo19_reg: LDO19 {
153					regulator-name = "vdd_sd";
154					regulator-min-microvolt = <2800000>;
155					regulator-max-microvolt = <2800000>;
156				};
157
158				ldo24_reg: LDO24 {
159					regulator-name = "tsp_io";
160					regulator-min-microvolt = <2800000>;
161					regulator-max-microvolt = <2800000>;
162					regulator-always-on;
163				};
164
165				ldo26_reg: LDO26 {
166					regulator-name = "vdd_ldo26";
167					regulator-min-microvolt = <3000000>;
168					regulator-max-microvolt = <3000000>;
169					regulator-always-on;
170				};
171
172				buck1_reg: BUCK1 {
173					regulator-name = "vdd_mif";
174					regulator-min-microvolt = <800000>;
175					regulator-max-microvolt = <1300000>;
176					regulator-always-on;
177					regulator-boot-on;
178				};
179
180				buck2_reg: BUCK2 {
181					regulator-name = "vdd_arm";
182					regulator-min-microvolt = <800000>;
183					regulator-max-microvolt = <1500000>;
184					regulator-always-on;
185					regulator-boot-on;
186				};
187
188				buck3_reg: BUCK3 {
189					regulator-name = "vdd_int";
190					regulator-min-microvolt = <800000>;
191					regulator-max-microvolt = <1400000>;
192					regulator-always-on;
193					regulator-boot-on;
194				};
195
196				buck4_reg: BUCK4 {
197					regulator-name = "vdd_g3d";
198					regulator-min-microvolt = <800000>;
199					regulator-max-microvolt = <1400000>;
200					regulator-always-on;
201					regulator-boot-on;
202				};
203
204				buck5_reg: BUCK5 {
205					regulator-name = "vdd_mem";
206					regulator-min-microvolt = <800000>;
207					regulator-max-microvolt = <1400000>;
208					regulator-always-on;
209					regulator-boot-on;
210				};
211
212				buck6_reg: BUCK6 {
213					regulator-name = "vdd_kfc";
214					regulator-min-microvolt = <800000>;
215					regulator-max-microvolt = <1500000>;
216					regulator-always-on;
217					regulator-boot-on;
218				};
219
220				buck7_reg: BUCK7 {
221					regulator-name = "vdd_1.0v_ldo";
222					regulator-min-microvolt = <800000>;
223					regulator-max-microvolt = <1500000>;
224					regulator-always-on;
225					regulator-boot-on;
226				};
227
228				buck8_reg: BUCK8 {
229					regulator-name = "vdd_1.8v_ldo";
230					regulator-min-microvolt = <800000>;
231					regulator-max-microvolt = <1500000>;
232					regulator-always-on;
233					regulator-boot-on;
234				};
235
236				buck9_reg: BUCK9 {
237					regulator-name = "vdd_2.8v_ldo";
238					regulator-min-microvolt = <3000000>;
239					regulator-max-microvolt = <3750000>;
240					regulator-always-on;
241					regulator-boot-on;
242				};
243
244				buck10_reg: BUCK10 {
245					regulator-name = "vdd_vmem";
246					regulator-min-microvolt = <2850000>;
247					regulator-max-microvolt = <2850000>;
248					regulator-always-on;
249					regulator-boot-on;
250				};
251			};
252		};
253	};
254
255	ehci@12110000 {
256		samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
257	};
258
259	serial@12C20000 {
260		status="okay";
261	};
262
263	mmc@12200000 {
264		fifoth_val = <0x201f0020>;
265	};
266
267	mmc@12220000 {
268		fifoth_val = <0x201f0020>;
269	};
270
271	emmc-reset {
272		compatible = "samsung,emmc-reset";
273		reset-gpio = <&gpd1 0 0>;
274	};
275};
276