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