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