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