1/*
2 * Samsung's Exynos4210 based Universal C210 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 "exynos4210.dtsi"
12
13/ {
14	model = "Samsung Universal C210 based on Exynos4210 rev0";
15	compatible = "samsung,universal_c210", "samsung,exynos4210";
16
17	aliases {
18		serial0 = "/serial@13800000";
19		console = "/serial@13820000";
20		mmc0 = "/sdhci@12510000";
21		mmc2 = "/sdhci@12530000";
22	};
23
24	sdhci@12510000 {
25		samsung,bus-width = <8>;
26		samsung,timing = <1 3 3>;
27		pwr-gpios = <&gpk0 2 0>;
28	};
29
30	sdhci@12520000 {
31		status = "disabled";
32	};
33
34	sdhci@12530000 {
35		samsung,bus-width = <4>;
36		samsung,timing = <1 2 3>;
37		cd-gpios = <&gpx3 4 0>;
38	};
39
40	sdhci@12540000 {
41		status = "disabled";
42	};
43
44	soft-spi {
45		compatible = "spi-gpio";
46		cs-gpios = <&gpy4 3 0>;
47		gpio-sck = <&gpy3 1 0>;
48		gpio-mosi = <&gpy3 3 0>;
49		gpio-miso = <&gpy3 0 0>;
50		spi-delay-us = <1>;
51		#address-cells = <1>;
52		#size-cells = <0>;
53		cs@0 {
54		};
55	};
56
57	fimd@11c00000 {
58		compatible = "samsung,exynos-fimd";
59		reg = <0x11c00000 0xa4>;
60
61		samsung,vl-freq = <60>;
62		samsung,vl-col = <480>;
63		samsung,vl-row = <800>;
64		samsung,vl-width = <480>;
65		samsung,vl-height = <800>;
66
67		samsung,vl-clkp = <0>;
68		samsung,vl-oep = <0>;
69		samsung,vl-hsp = <1>;
70		samsung,vl-vsp = <1>;
71		samsung,vl-dp = <1>;
72		samsung,vl-bpix = <4>;
73
74		samsung,vl-hspw = <2>;
75		samsung,vl-hbpd = <16>;
76		samsung,vl-hfpd = <16>;
77		samsung,vl-vspw = <2>;
78		samsung,vl-vbpd = <8>;
79		samsung,vl-vfpd = <8>;
80		samsung,vl-cmd-allow-len = <0xf>;
81
82		samsung,pclk_name = <1>;
83		samsung,sclk_div = <1>;
84
85		samsung,winid = <0>;
86		samsung,power-on-delay = <10000>;
87		samsung,interface-mode = <1>;
88		samsung,mipi-enabled = <0>;
89		samsung,dp-enabled;
90		samsung,dual-lcd-enabled;
91
92		samsung,logo-on = <1>;
93		samsung,resolution = <0>;
94		samsung,rgb-mode = <0>;
95	};
96};
97
98&i2c_5 {
99	clock-frequency = <100000>;
100	status = "okay";
101
102	max8998-pmic@66 {
103		compatible = "maxim,max8998";
104		reg = <0x66 0 0>;
105		voltage-regulators {
106			ldo2_reg: LDO2 {
107				regulator-name = "VALIVE_1.2V";
108				regulator-min-microvolt = <1200000>;
109				regulator-max-microvolt = <1200000>;
110				regulator-always-on;
111			};
112
113			ldo3_reg: LDO3 {
114				regulator-name = "VUSB+MIPI_1.1V";
115				regulator-min-microvolt = <1100000>;
116				regulator-max-microvolt = <1100000>;
117				regulator-always-on;
118			};
119
120			ldo4_reg: LDO4 {
121				regulator-name = "VADC_3.3V";
122				regulator-min-microvolt = <3300000>;
123				regulator-max-microvolt = <3300000>;
124			};
125
126			ldo5_reg: LDO5 {
127				regulator-name = "VTF_2.8V";
128				regulator-min-microvolt = <2800000>;
129				regulator-max-microvolt = <2800000>;
130			};
131
132			ldo6_reg: LDO6 {
133				regulator-name = "LDO6";
134				regulator-min-microvolt = <2000000>;
135				regulator-max-microvolt = <2000000>;
136			};
137
138			ldo7_reg: LDO7 {
139				regulator-name = "VLCD+VMIPI_1.8V";
140				regulator-min-microvolt = <1800000>;
141				regulator-max-microvolt = <1800000>;
142			};
143
144			ldo8_reg: LDO8 {
145				regulator-name = "VUSB+VDAC_3.3V";
146				regulator-min-microvolt = <3300000>;
147				regulator-max-microvolt = <3300000>;
148				regulator-always-on;
149			};
150
151			ldo9_reg: LDO9 {
152				regulator-name = "VCC_2.8V";
153				regulator-min-microvolt = <2800000>;
154				regulator-max-microvolt = <2800000>;
155				regulator-always-on;
156			};
157
158			ldo10_reg: LDO10 {
159				regulator-name = "VPLL_1.1V";
160				regulator-min-microvolt = <1100000>;
161				regulator-max-microvolt = <1100000>;
162				regulator-boot-on;
163				regulator-always-on;
164			};
165
166			ldo11_reg: LDO11 {
167				regulator-name = "CAM_AF_3.3V";
168				regulator-min-microvolt = <3300000>;
169				regulator-max-microvolt = <3300000>;
170			};
171
172			ldo12_reg: LDO12 {
173				regulator-name = "PS_2.8V";
174				regulator-min-microvolt = <2800000>;
175				regulator-max-microvolt = <2800000>;
176			};
177
178			ldo13_reg: LDO13 {
179				regulator-name = "VHIC_1.2V";
180				regulator-min-microvolt = <1200000>;
181				regulator-max-microvolt = <1200000>;
182			};
183
184			ldo14_reg: LDO14 {
185				regulator-name = "CAM_I_HOST_1.8V";
186				regulator-min-microvolt = <1800000>;
187				regulator-max-microvolt = <1800000>;
188			};
189
190			ldo15_reg: LDO15 {
191				regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
192				regulator-min-microvolt = <1200000>;
193				regulator-max-microvolt = <1200000>;
194			};
195
196			ldo16_reg: LDO16 {
197				regulator-name = "CAM_S_ANA_2.8V";
198				regulator-min-microvolt = <2800000>;
199				regulator-max-microvolt = <2800000>;
200			};
201
202			ldo17_reg: LDO17 {
203				regulator-name = "VCC_3.0V_LCD";
204				regulator-min-microvolt = <3000000>;
205				regulator-max-microvolt = <3000000>;
206			};
207
208			buck1_reg: BUCK1 {
209				regulator-name = "VINT_1.1V";
210				regulator-min-microvolt = <750000>;
211				regulator-max-microvolt = <1500000>;
212				regulator-boot-on;
213				regulator-always-on;
214			};
215
216			buck2_reg: BUCK2 {
217				regulator-name = "VG3D_1.1V";
218				regulator-min-microvolt = <750000>;
219				regulator-max-microvolt = <1500000>;
220				regulator-boot-on;
221			};
222
223			buck3_reg: BUCK3 {
224				regulator-name = "VCC_1.8V";
225				regulator-min-microvolt = <1800000>;
226				regulator-max-microvolt = <1800000>;
227				regulator-always-on;
228			};
229
230			buck4_reg: BUCK4 {
231				regulator-name = "VMEM_1.2V";
232				regulator-min-microvolt = <1200000>;
233				regulator-max-microvolt = <1200000>;
234				regulator-always-on;
235			};
236
237			ap32khz_reg: EN32KHz-AP {
238				regulator-name = "32KHz AP";
239				regulator-always-on;
240			};
241
242			cp32khz_reg: EN32KHz-CP {
243				regulator-name = "32KHz CP";
244			};
245
246			vichg_reg: ENVICHG {
247				regulator-name = "VICHG";
248			};
249
250			safeout1_reg: ESAFEOUT1 {
251				regulator-name = "SAFEOUT1";
252			};
253
254			safeout2_reg: ESAFEOUT2 {
255				regulator-name = "SAFEOUT2";
256				regulator-boot-on;
257			};
258		};
259	};
260};
261