blob: 1d502bdd5303926c7004a7e681859235e970e3c0 [file] [log] [blame]
Tomasz Figad105f0b2012-09-21 10:50:16 +09001/*
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/;
16/include/ "exynos4210.dtsi"
17
18/ {
19 model = "Samsung Trats based on Exynos4210";
20 compatible = "samsung,trats", "samsung,exynos4210";
21
22 memory {
Tomasz Figa59cf19a2012-10-17 18:10:34 +090023 reg = <0x40000000 0x10000000
24 0x50000000 0x10000000
25 0x60000000 0x10000000
26 0x70000000 0x10000000>;
Tomasz Figad105f0b2012-09-21 10:50:16 +090027 };
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>;
Tomasz Figae9250122012-11-20 16:26:17 +090038 gpio = <&gpk0 2 0>;
Tomasz Figad105f0b2012-09-21 10:50:16 +090039 enable-active-high;
40 };
41
42 sdhci_emmc: sdhci@12510000 {
43 bus-width = <8>;
44 non-removable;
45 broken-voltage;
Tomasz Figae9250122012-11-20 16:26:17 +090046 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
47 pinctrl-names = "default";
Tomasz Figad105f0b2012-09-21 10:50:16 +090048 vmmc-supply = <&vemmc_reg>;
49 status = "okay";
50 };
51
52 serial@13800000 {
53 status = "okay";
54 };
55
56 serial@13810000 {
57 status = "okay";
58 };
59
60 serial@13820000 {
61 status = "okay";
62 };
63
64 serial@13830000 {
65 status = "okay";
66 };
67
Tomasz Figa9eb61022012-11-20 16:26:17 +090068 gpio-keys {
69 compatible = "gpio-keys";
70
71 vol-down-key {
72 gpios = <&gpx2 1 1>;
73 linux,code = <114>;
74 label = "volume down";
75 debounce-interval = <10>;
76 };
77
78 vol-up-key {
79 gpios = <&gpx2 0 1>;
80 linux,code = <115>;
81 label = "volume up";
82 debounce-interval = <10>;
83 };
84
85 power-key {
86 gpios = <&gpx2 7 1>;
87 linux,code = <116>;
88 label = "power";
89 debounce-interval = <10>;
90 gpio-key,wakeup;
91 };
92
93 ok-key {
94 gpios = <&gpx3 5 1>;
95 linux,code = <352>;
96 label = "ok";
97 debounce-interval = <10>;
98 };
99 };
100
Tomasz Figab74cbbc2012-11-20 16:26:17 +0900101 i2c@13890000 {
102 samsung,i2c-sda-delay = <100>;
103 samsung,i2c-slave-addr = <0x10>;
104 samsung,i2c-max-bus-freq = <400000>;
105 pinctrl-0 = <&i2c3_bus>;
106 pinctrl-names = "default";
107 status = "okay";
108 };
109
Tomasz Figad105f0b2012-09-21 10:50:16 +0900110 i2c@138B0000 {
111 samsung,i2c-sda-delay = <100>;
112 samsung,i2c-slave-addr = <0x10>;
113 samsung,i2c-max-bus-freq = <100000>;
Tomasz Figae9250122012-11-20 16:26:17 +0900114 pinctrl-0 = <&i2c5_bus>;
115 pinctrl-names = "default";
Tomasz Figad105f0b2012-09-21 10:50:16 +0900116 status = "okay";
117
118 max8997_pmic@66 {
119 compatible = "maxim,max8997-pmic";
120
121 reg = <0x66>;
122
123 max8997,pmic-buck1-uses-gpio-dvs;
124 max8997,pmic-buck2-uses-gpio-dvs;
125 max8997,pmic-buck5-uses-gpio-dvs;
126
127 max8997,pmic-ignore-gpiodvs-side-effect;
128 max8997,pmic-buck125-default-dvs-idx = <0>;
129
Tomasz Figae9250122012-11-20 16:26:17 +0900130 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>,
131 <&gpx0 6 0>,
132 <&gpl0 0 0>;
Tomasz Figad105f0b2012-09-21 10:50:16 +0900133
134 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
135 <1250000>, <1200000>,
136 <1150000>, <1100000>,
137 <1000000>, <950000>;
138
139 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
140 <950000>, <900000>,
141 <1100000>, <1000000>,
142 <950000>, <900000>;
143
144 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
145 <1200000>, <1200000>,
146 <1200000>, <1200000>,
147 <1200000>, <1200000>;
148
149 regulators {
150 valive_reg: LDO2 {
151 regulator-name = "VALIVE_1.1V_C210";
152 regulator-min-microvolt = <1100000>;
153 regulator-max-microvolt = <1100000>;
154 regulator-always-on;
155 };
156
157 vusb_reg: LDO3 {
158 regulator-name = "VUSB_1.1V_C210";
159 regulator-min-microvolt = <1100000>;
160 regulator-max-microvolt = <1100000>;
161 };
162
163 vmipi_reg: LDO4 {
164 regulator-name = "VMIPI_1.8V";
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
167 };
168
169 vpda_reg: LDO6 {
170 regulator-name = "VCC_1.8V_PDA";
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <1800000>;
173 regulator-always-on;
174 };
175
176 vcam_reg: LDO7 {
177 regulator-name = "CAM_ISP_1.8V";
178 regulator-min-microvolt = <1800000>;
179 regulator-max-microvolt = <1800000>;
180 };
181
182 vusbdac_reg: LDO8 {
183 regulator-name = "VUSB/VDAC_3.3V_C210";
184 regulator-min-microvolt = <3300000>;
185 regulator-max-microvolt = <3300000>;
186 };
187
188 vccpda_reg: LDO9 {
189 regulator-name = "VCC_2.8V_PDA";
190 regulator-min-microvolt = <2800000>;
191 regulator-max-microvolt = <2800000>;
192 regulator-always-on;
193 };
194
195 vpll_reg: LDO10 {
196 regulator-name = "VPLL_1.1V_C210";
197 regulator-min-microvolt = <1100000>;
198 regulator-max-microvolt = <1100000>;
199 regulator-always-on;
200 };
201
202 vcclcd_reg: LDO13 {
203 regulator-name = "VCC_3.3V_LCD";
204 regulator-min-microvolt = <3300000>;
205 regulator-max-microvolt = <3300000>;
206 };
207
208 vlcd_reg: LDO15 {
209 regulator-name = "VLCD_2.2V";
210 regulator-min-microvolt = <2200000>;
211 regulator-max-microvolt = <2200000>;
212 };
213
214 camsensor_reg: LDO16 {
215 regulator-name = "CAM_SENSOR_IO_1.8V";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
218 };
219
220 vddq_reg: LDO21 {
221 regulator-name = "VDDQ_M1M2_1.2V";
222 regulator-min-microvolt = <1200000>;
223 regulator-max-microvolt = <1200000>;
224 regulator-always-on;
225 };
226
227 varm_breg: BUCK1 {
228 regulator-name = "VARM_1.2V_C210";
229 regulator-min-microvolt = <900000>;
230 regulator-max-microvolt = <1350000>;
231 regulator-always-on;
232 };
233
234 vint_breg: BUCK2 {
235 regulator-name = "VINT_1.1V_C210";
236 regulator-min-microvolt = <900000>;
237 regulator-max-microvolt = <1100000>;
238 regulator-always-on;
239 };
240
241 camisp_breg: BUCK4 {
242 regulator-name = "CAM_ISP_CORE_1.2V";
243 regulator-min-microvolt = <1200000>;
244 regulator-max-microvolt = <1200000>;
245 };
246
247 vmem_breg: BUCK5 {
248 regulator-name = "VMEM_1.2V_C210";
249 regulator-min-microvolt = <1200000>;
250 regulator-max-microvolt = <1200000>;
251 regulator-always-on;
252 };
253
254 vccsub_breg: BUCK7 {
255 regulator-name = "VCC_SUB_2.0V";
256 regulator-min-microvolt = <2000000>;
257 regulator-max-microvolt = <2000000>;
258 regulator-always-on;
259 };
260
261 safe1_sreg: ESAFEOUT1 {
262 regulator-name = "SAFEOUT1";
263 regulator-always-on;
264 };
265
266 safe2_sreg: ESAFEOUT2 {
267 regulator-name = "SAFEOUT2";
268 regulator-boot-on;
269 };
270 };
271 };
272 };
273};