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