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