Commit | Line | Data |
---|---|---|
d105f0b1 TF |
1 | /* |
2 | * Samsung's Exynos4210 based Trats board device tree source | |
3 | * | |
4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * | |
7 | * Device tree source file for Samsung's Trats board which is based on | |
8 | * Samsung's Exynos4210 SoC. | |
9 | * | |
10 | * This program is free software; you can redistribute it and/or modify | |
11 | * it under the terms of the GNU General Public License version 2 as | |
12 | * published by the Free Software Foundation. | |
13 | */ | |
14 | ||
15 | /dts-v1/; | |
3799279f | 16 | #include "exynos4210.dtsi" |
d105f0b1 TF |
17 | |
18 | / { | |
19 | model = "Samsung Trats based on Exynos4210"; | |
20 | compatible = "samsung,trats", "samsung,exynos4210"; | |
21 | ||
22 | memory { | |
59cf19a4 TF |
23 | reg = <0x40000000 0x10000000 |
24 | 0x50000000 0x10000000 | |
25 | 0x60000000 0x10000000 | |
26 | 0x70000000 0x10000000>; | |
d105f0b1 TF |
27 | }; |
28 | ||
29 | chosen { | |
30 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; | |
31 | }; | |
32 | ||
33 | vemmc_reg: voltage-regulator@0 { | |
34 | compatible = "regulator-fixed"; | |
35 | regulator-name = "VMEM_VDD_2.8V"; | |
36 | regulator-min-microvolt = <2800000>; | |
37 | regulator-max-microvolt = <2800000>; | |
e9250126 | 38 | gpio = <&gpk0 2 0>; |
d105f0b1 TF |
39 | enable-active-high; |
40 | }; | |
41 | ||
42 | sdhci_emmc: sdhci@12510000 { | |
43 | bus-width = <8>; | |
44 | non-removable; | |
e9250126 TF |
45 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>; |
46 | pinctrl-names = "default"; | |
d105f0b1 TF |
47 | vmmc-supply = <&vemmc_reg>; |
48 | status = "okay"; | |
49 | }; | |
50 | ||
51 | serial@13800000 { | |
52 | status = "okay"; | |
53 | }; | |
54 | ||
55 | serial@13810000 { | |
56 | status = "okay"; | |
57 | }; | |
58 | ||
59 | serial@13820000 { | |
60 | status = "okay"; | |
61 | }; | |
62 | ||
63 | serial@13830000 { | |
64 | status = "okay"; | |
65 | }; | |
66 | ||
9eb61020 TF |
67 | gpio-keys { |
68 | compatible = "gpio-keys"; | |
69 | ||
70 | vol-down-key { | |
71 | gpios = <&gpx2 1 1>; | |
72 | linux,code = <114>; | |
73 | label = "volume down"; | |
74 | debounce-interval = <10>; | |
75 | }; | |
76 | ||
77 | vol-up-key { | |
78 | gpios = <&gpx2 0 1>; | |
79 | linux,code = <115>; | |
80 | label = "volume up"; | |
81 | debounce-interval = <10>; | |
82 | }; | |
83 | ||
84 | power-key { | |
85 | gpios = <&gpx2 7 1>; | |
86 | linux,code = <116>; | |
87 | label = "power"; | |
88 | debounce-interval = <10>; | |
89 | gpio-key,wakeup; | |
90 | }; | |
91 | ||
92 | ok-key { | |
93 | gpios = <&gpx3 5 1>; | |
94 | linux,code = <352>; | |
95 | label = "ok"; | |
96 | debounce-interval = <10>; | |
97 | }; | |
98 | }; | |
99 | ||
50528aa1 TF |
100 | tsp_reg: voltage-regulator { |
101 | compatible = "regulator-fixed"; | |
102 | regulator-name = "TSP_FIXED_VOLTAGES"; | |
103 | regulator-min-microvolt = <2800000>; | |
104 | regulator-max-microvolt = <2800000>; | |
105 | gpio = <&gpl0 3 0>; | |
106 | enable-active-high; | |
107 | }; | |
108 | ||
b74cbbc7 TF |
109 | i2c@13890000 { |
110 | samsung,i2c-sda-delay = <100>; | |
111 | samsung,i2c-slave-addr = <0x10>; | |
112 | samsung,i2c-max-bus-freq = <400000>; | |
113 | pinctrl-0 = <&i2c3_bus>; | |
114 | pinctrl-names = "default"; | |
115 | status = "okay"; | |
0d09bf69 TF |
116 | |
117 | mms114-touchscreen@48 { | |
118 | compatible = "melfas,mms114"; | |
119 | reg = <0x48>; | |
120 | interrupt-parent = <&gpx0>; | |
121 | interrupts = <4 2>; | |
122 | x-size = <720>; | |
123 | y-size = <1280>; | |
124 | avdd-supply = <&tsp_reg>; | |
125 | vdd-supply = <&tsp_reg>; | |
126 | }; | |
b74cbbc7 TF |
127 | }; |
128 | ||
d105f0b1 TF |
129 | i2c@138B0000 { |
130 | samsung,i2c-sda-delay = <100>; | |
131 | samsung,i2c-slave-addr = <0x10>; | |
132 | samsung,i2c-max-bus-freq = <100000>; | |
e9250126 TF |
133 | pinctrl-0 = <&i2c5_bus>; |
134 | pinctrl-names = "default"; | |
d105f0b1 TF |
135 | status = "okay"; |
136 | ||
137 | max8997_pmic@66 { | |
138 | compatible = "maxim,max8997-pmic"; | |
139 | ||
140 | reg = <0x66>; | |
141 | ||
142 | max8997,pmic-buck1-uses-gpio-dvs; | |
143 | max8997,pmic-buck2-uses-gpio-dvs; | |
144 | max8997,pmic-buck5-uses-gpio-dvs; | |
145 | ||
146 | max8997,pmic-ignore-gpiodvs-side-effect; | |
147 | max8997,pmic-buck125-default-dvs-idx = <0>; | |
148 | ||
e9250126 TF |
149 | max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>, |
150 | <&gpx0 6 0>, | |
151 | <&gpl0 0 0>; | |
d105f0b1 TF |
152 | |
153 | max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>, | |
154 | <1250000>, <1200000>, | |
155 | <1150000>, <1100000>, | |
156 | <1000000>, <950000>; | |
157 | ||
158 | max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>, | |
159 | <950000>, <900000>, | |
160 | <1100000>, <1000000>, | |
161 | <950000>, <900000>; | |
162 | ||
163 | max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>, | |
164 | <1200000>, <1200000>, | |
165 | <1200000>, <1200000>, | |
166 | <1200000>, <1200000>; | |
167 | ||
168 | regulators { | |
169 | valive_reg: LDO2 { | |
170 | regulator-name = "VALIVE_1.1V_C210"; | |
171 | regulator-min-microvolt = <1100000>; | |
172 | regulator-max-microvolt = <1100000>; | |
173 | regulator-always-on; | |
174 | }; | |
175 | ||
176 | vusb_reg: LDO3 { | |
177 | regulator-name = "VUSB_1.1V_C210"; | |
178 | regulator-min-microvolt = <1100000>; | |
179 | regulator-max-microvolt = <1100000>; | |
180 | }; | |
181 | ||
182 | vmipi_reg: LDO4 { | |
183 | regulator-name = "VMIPI_1.8V"; | |
184 | regulator-min-microvolt = <1800000>; | |
185 | regulator-max-microvolt = <1800000>; | |
186 | }; | |
187 | ||
188 | vpda_reg: LDO6 { | |
189 | regulator-name = "VCC_1.8V_PDA"; | |
190 | regulator-min-microvolt = <1800000>; | |
191 | regulator-max-microvolt = <1800000>; | |
192 | regulator-always-on; | |
193 | }; | |
194 | ||
195 | vcam_reg: LDO7 { | |
196 | regulator-name = "CAM_ISP_1.8V"; | |
197 | regulator-min-microvolt = <1800000>; | |
198 | regulator-max-microvolt = <1800000>; | |
199 | }; | |
200 | ||
201 | vusbdac_reg: LDO8 { | |
202 | regulator-name = "VUSB/VDAC_3.3V_C210"; | |
203 | regulator-min-microvolt = <3300000>; | |
204 | regulator-max-microvolt = <3300000>; | |
205 | }; | |
206 | ||
207 | vccpda_reg: LDO9 { | |
208 | regulator-name = "VCC_2.8V_PDA"; | |
209 | regulator-min-microvolt = <2800000>; | |
210 | regulator-max-microvolt = <2800000>; | |
211 | regulator-always-on; | |
212 | }; | |
213 | ||
214 | vpll_reg: LDO10 { | |
215 | regulator-name = "VPLL_1.1V_C210"; | |
216 | regulator-min-microvolt = <1100000>; | |
217 | regulator-max-microvolt = <1100000>; | |
218 | regulator-always-on; | |
219 | }; | |
220 | ||
221 | vcclcd_reg: LDO13 { | |
222 | regulator-name = "VCC_3.3V_LCD"; | |
223 | regulator-min-microvolt = <3300000>; | |
224 | regulator-max-microvolt = <3300000>; | |
225 | }; | |
226 | ||
227 | vlcd_reg: LDO15 { | |
228 | regulator-name = "VLCD_2.2V"; | |
229 | regulator-min-microvolt = <2200000>; | |
230 | regulator-max-microvolt = <2200000>; | |
231 | }; | |
232 | ||
233 | camsensor_reg: LDO16 { | |
234 | regulator-name = "CAM_SENSOR_IO_1.8V"; | |
235 | regulator-min-microvolt = <1800000>; | |
236 | regulator-max-microvolt = <1800000>; | |
237 | }; | |
238 | ||
239 | vddq_reg: LDO21 { | |
240 | regulator-name = "VDDQ_M1M2_1.2V"; | |
241 | regulator-min-microvolt = <1200000>; | |
242 | regulator-max-microvolt = <1200000>; | |
243 | regulator-always-on; | |
244 | }; | |
245 | ||
246 | varm_breg: BUCK1 { | |
247 | regulator-name = "VARM_1.2V_C210"; | |
248 | regulator-min-microvolt = <900000>; | |
249 | regulator-max-microvolt = <1350000>; | |
250 | regulator-always-on; | |
251 | }; | |
252 | ||
253 | vint_breg: BUCK2 { | |
254 | regulator-name = "VINT_1.1V_C210"; | |
255 | regulator-min-microvolt = <900000>; | |
256 | regulator-max-microvolt = <1100000>; | |
257 | regulator-always-on; | |
258 | }; | |
259 | ||
260 | camisp_breg: BUCK4 { | |
261 | regulator-name = "CAM_ISP_CORE_1.2V"; | |
262 | regulator-min-microvolt = <1200000>; | |
263 | regulator-max-microvolt = <1200000>; | |
264 | }; | |
265 | ||
266 | vmem_breg: BUCK5 { | |
267 | regulator-name = "VMEM_1.2V_C210"; | |
268 | regulator-min-microvolt = <1200000>; | |
269 | regulator-max-microvolt = <1200000>; | |
270 | regulator-always-on; | |
271 | }; | |
272 | ||
273 | vccsub_breg: BUCK7 { | |
274 | regulator-name = "VCC_SUB_2.0V"; | |
275 | regulator-min-microvolt = <2000000>; | |
276 | regulator-max-microvolt = <2000000>; | |
277 | regulator-always-on; | |
278 | }; | |
279 | ||
280 | safe1_sreg: ESAFEOUT1 { | |
281 | regulator-name = "SAFEOUT1"; | |
282 | regulator-always-on; | |
283 | }; | |
284 | ||
285 | safe2_sreg: ESAFEOUT2 { | |
286 | regulator-name = "SAFEOUT2"; | |
287 | regulator-boot-on; | |
288 | }; | |
289 | }; | |
290 | }; | |
291 | }; | |
8b6076d4 TA |
292 | |
293 | fixed-rate-clocks { | |
294 | xxti { | |
295 | compatible = "samsung,clock-xxti"; | |
296 | clock-frequency = <0>; | |
297 | }; | |
298 | ||
299 | xusbxti { | |
300 | compatible = "samsung,clock-xusbxti"; | |
301 | clock-frequency = <24000000>; | |
302 | }; | |
303 | }; | |
d105f0b1 | 304 | }; |