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