blob: 05989ee97e5b314739008db2306e81c6bcd4c9db [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Piotr Wilczekfe601642014-03-07 14:59:48 +01002/*
3 * Samsung's Exynos4210 based Trats board device tree source
4 *
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
Piotr Wilczekfe601642014-03-07 14:59:48 +01007 */
8
9/dts-v1/;
Simon Glassdd547392014-10-20 19:48:30 -060010#include "exynos4210.dtsi"
Piotr Wilczekfe601642014-03-07 14:59:48 +010011
12/ {
13 model = "Samsung Trats based on Exynos4210";
14 compatible = "samsung,trats", "samsung,exynos4210";
15
16 config {
17 samsung,dsim-device-name = "s6e8ax0";
18 };
19
20 aliases {
Piotr Wilczekfe601642014-03-07 14:59:48 +010021 serial0 = "/serial@13800000";
22 console = "/serial@13820000";
Jaehoon Chung57bbc372017-03-30 21:30:00 +090023 i2c8 = &i2c_fg;
Piotr Wilczekfe601642014-03-07 14:59:48 +010024 };
25
26 fimd@11c00000 {
27 compatible = "samsung,exynos-fimd";
28 reg = <0x11c00000 0xa4>;
29
30 samsung,vl-freq = <60>;
31 samsung,vl-col = <720>;
32 samsung,vl-row = <1280>;
33 samsung,vl-width = <720>;
34 samsung,vl-height = <1280>;
35
36 samsung,vl-clkp = <0>;
37 samsung,vl-oep = <0>;
38 samsung,vl-hsp = <1>;
39 samsung,vl-vsp = <1>;
40 samsung,vl-dp = <1>;
41 samsung,vl-bpix = <4>;
42
43 samsung,vl-hspw = <5>;
44 samsung,vl-hbpd = <10>;
45 samsung,vl-hfpd = <10>;
46 samsung,vl-vspw = <2>;
47 samsung,vl-vbpd = <1>;
48 samsung,vl-vfpd = <13>;
49 samsung,vl-cmd-allow-len = <0xf>;
50
51 samsung,winid = <3>;
52 samsung,power-on-delay = <30>;
53 samsung,interface-mode = <1>;
54 samsung,mipi-enabled = <1>;
55 samsung,dp-enabled;
56 samsung,dual-lcd-enabled;
57
58 samsung,logo-on = <1>;
59 samsung,resolution = <0>;
60 samsung,rgb-mode = <0>;
61 };
62
63 mipidsi@11c80000 {
64 compatible = "samsung,exynos-mipi-dsi";
65 reg = <0x11c80000 0x5c>;
66
67 samsung,dsim-config-e-interface = <1>;
68 samsung,dsim-config-e-virtual-ch = <0>;
69 samsung,dsim-config-e-pixel-format = <7>;
70 samsung,dsim-config-e-burst-mode = <1>;
71 samsung,dsim-config-e-no-data-lane = <3>;
72 samsung,dsim-config-e-byte-clk = <0>;
73 samsung,dsim-config-hfp = <1>;
74
75 samsung,dsim-config-p = <3>;
76 samsung,dsim-config-m = <120>;
77 samsung,dsim-config-s = <1>;
78
79 samsung,dsim-config-pll-stable-time = <500>;
80 samsung,dsim-config-esc-clk = <20000000>;
81 samsung,dsim-config-stop-holding-cnt = <0x7ff>;
82 samsung,dsim-config-bta-timeout = <0xff>;
83 samsung,dsim-config-rx-timeout = <0xffff>;
84
85 samsung,dsim-device-id = <0xffffffff>;
86 samsung,dsim-device-bus-id = <0>;
87
88 samsung,dsim-device-reverse-panel = <1>;
89 };
90
Jaehoon Chung57bbc372017-03-30 21:30:00 +090091 i2c_fg: fuel-gauge {
92 compatible = "i2c-gpio";
93 gpios = <&gpy4 1 0>, /* sda */
94 <&gpy4 0 0>; /* scl */
95 i2c-gpio,delay-us = <2>; /* ~100 kHz */
96 status = "okay";
97 };
Akshay Saraswatf6ae1ca2014-05-13 10:30:14 +053098};
Jaehoon Chung22940af2017-02-02 17:04:10 +090099
100&i2c_5 {
101 clock-frequency = <100000>;
102 status = "okay";
103
104 max8997-pmic@66 {
105 compatible = "maxim,max8997";
106 reg = <0x66 0 0>;
107 voltage-regulators {
108 valive_reg: LDO2 {
109 regulator-name = "VALIVE_1.1V_C210";
110 regulator-min-microvolt = <1100000>;
111 regulator-max-microvolt = <1100000>;
112 regulator-always-on;
113 };
114
115 vusb_reg: LDO3 {
116 regulator-name = "VUSB_1.1V_C210";
117 regulator-min-microvolt = <1100000>;
118 regulator-max-microvolt = <1100000>;
119 };
120
121 vmipi_reg: LDO4 {
122 regulator-name = "VMIPI_1.8V";
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <1800000>;
125 };
126
127 vpda_reg: LDO6 {
128 regulator-name = "VCC_1.8V_PDA";
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <1800000>;
131 regulator-always-on;
132 };
133
134 vcam_reg: LDO7 {
135 regulator-name = "CAM_ISP_1.8V";
136 regulator-min-microvolt = <1800000>;
137 regulator-max-microvolt = <1800000>;
138 };
139
140 vusbdac_reg: LDO8 {
141 regulator-name = "VUSB+VDAC_3.3V_C210";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
144 };
145
146 vccpda_reg: LDO9 {
147 regulator-name = "VCC_2.8V_PDA";
148 regulator-min-microvolt = <2800000>;
149 regulator-max-microvolt = <2800000>;
150 regulator-always-on;
151 };
152
153 vpll_reg: LDO10 {
154 regulator-name = "VPLL_1.1V_C210";
155 regulator-min-microvolt = <1100000>;
156 regulator-max-microvolt = <1100000>;
157 regulator-always-on;
158 };
159
160 vtcam_reg: LDO12 {
161 regulator-name = "VT_CAM_1.8V";
162 regulator-min-microvolt = <1800000>;
163 regulator-max-microvolt = <1800000>;
164 };
165
166 vcclcd_reg: LDO13 {
167 regulator-name = "VCC_3.3V_LCD";
168 regulator-min-microvolt = <3300000>;
169 regulator-max-microvolt = <3300000>;
170 };
171
172 vlcd_reg: LDO15 {
173 regulator-name = "VLCD_2.2V";
174 regulator-min-microvolt = <2200000>;
175 regulator-max-microvolt = <2200000>;
176 };
177
178 camsensor_reg: LDO16 {
179 regulator-name = "CAM_SENSOR_IO_1.8V";
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
182 };
183
184 vddq_reg: LDO21 {
185 regulator-name = "VDDQ_M1M2_1.2V";
186 regulator-min-microvolt = <1200000>;
187 regulator-max-microvolt = <1200000>;
188 regulator-always-on;
189 };
190
191 varm_breg: BUCK1 {
192 /*
193 * HACK: The real name is VARM_1.2V_C210,
194 * but exynos-cpufreq does not support
195 * DT-based regulator lookup yet.
196 */
197 regulator-name = "vdd_arm";
198 regulator-min-microvolt = <900000>;
199 regulator-max-microvolt = <1350000>;
200 regulator-always-on;
201 };
202
203 vint_breg: BUCK2 {
204 regulator-name = "VINT_1.1V_C210";
205 regulator-min-microvolt = <900000>;
206 regulator-max-microvolt = <1100000>;
207 regulator-always-on;
208 };
209
210 camisp_breg: BUCK4 {
211 regulator-name = "CAM_ISP_CORE_1.2V";
212 regulator-min-microvolt = <1200000>;
213 regulator-max-microvolt = <1200000>;
214 };
215
216 vmem_breg: BUCK5 {
217 regulator-name = "VMEM_1.2V_C210";
218 regulator-min-microvolt = <1200000>;
219 regulator-max-microvolt = <1200000>;
220 regulator-always-on;
221 };
222
223 vccsub_breg: BUCK7 {
224 regulator-name = "VCC_SUB_2.0V";
225 regulator-min-microvolt = <2000000>;
226 regulator-max-microvolt = <2000000>;
227 regulator-always-on;
228 };
229
230 safe1_sreg: ESAFEOUT1 {
231 regulator-name = "SAFEOUT1";
232 };
233
234 safe2_sreg: ESAFEOUT2 {
235 regulator-name = "SAFEOUT2";
236 regulator-boot-on;
237 };
238 };
239 };
240};
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900241
242&sdhci0 {
243 samsung,bus-width = <8>;
244 samsung,timing = <1 3 3>;
245 pwr-gpios = <&gpk0 2 0>;
246 status = "okay";
247};
248
249&sdhci2 {
250 samsung,bus-width = <4>;
251 samsung,timing = <1 2 3>;
252 cd-gpios = <&gpx3 4 0>;
253 status = "okay";
254};