ARM: dts: Add node for touchscreen voltage regulator for exynos4210-trats
[deliverable/linux.git] / arch / arm / boot / dts / exynos4210-trats.dts
CommitLineData
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/;
16/include/ "exynos4210.dtsi"
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;
45 broken-voltage;
e9250126
TF
46 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
47 pinctrl-names = "default";
d105f0b1
TF
48 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
9eb61020
TF
68 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
50528aa1
TF
101 tsp_reg: voltage-regulator {
102 compatible = "regulator-fixed";
103 regulator-name = "TSP_FIXED_VOLTAGES";
104 regulator-min-microvolt = <2800000>;
105 regulator-max-microvolt = <2800000>;
106 gpio = <&gpl0 3 0>;
107 enable-active-high;
108 };
109
b74cbbc7
TF
110 i2c@13890000 {
111 samsung,i2c-sda-delay = <100>;
112 samsung,i2c-slave-addr = <0x10>;
113 samsung,i2c-max-bus-freq = <400000>;
114 pinctrl-0 = <&i2c3_bus>;
115 pinctrl-names = "default";
116 status = "okay";
117 };
118
d105f0b1
TF
119 i2c@138B0000 {
120 samsung,i2c-sda-delay = <100>;
121 samsung,i2c-slave-addr = <0x10>;
122 samsung,i2c-max-bus-freq = <100000>;
e9250126
TF
123 pinctrl-0 = <&i2c5_bus>;
124 pinctrl-names = "default";
d105f0b1
TF
125 status = "okay";
126
127 max8997_pmic@66 {
128 compatible = "maxim,max8997-pmic";
129
130 reg = <0x66>;
131
132 max8997,pmic-buck1-uses-gpio-dvs;
133 max8997,pmic-buck2-uses-gpio-dvs;
134 max8997,pmic-buck5-uses-gpio-dvs;
135
136 max8997,pmic-ignore-gpiodvs-side-effect;
137 max8997,pmic-buck125-default-dvs-idx = <0>;
138
e9250126
TF
139 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>,
140 <&gpx0 6 0>,
141 <&gpl0 0 0>;
d105f0b1
TF
142
143 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
144 <1250000>, <1200000>,
145 <1150000>, <1100000>,
146 <1000000>, <950000>;
147
148 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
149 <950000>, <900000>,
150 <1100000>, <1000000>,
151 <950000>, <900000>;
152
153 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
154 <1200000>, <1200000>,
155 <1200000>, <1200000>,
156 <1200000>, <1200000>;
157
158 regulators {
159 valive_reg: LDO2 {
160 regulator-name = "VALIVE_1.1V_C210";
161 regulator-min-microvolt = <1100000>;
162 regulator-max-microvolt = <1100000>;
163 regulator-always-on;
164 };
165
166 vusb_reg: LDO3 {
167 regulator-name = "VUSB_1.1V_C210";
168 regulator-min-microvolt = <1100000>;
169 regulator-max-microvolt = <1100000>;
170 };
171
172 vmipi_reg: LDO4 {
173 regulator-name = "VMIPI_1.8V";
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
176 };
177
178 vpda_reg: LDO6 {
179 regulator-name = "VCC_1.8V_PDA";
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
182 regulator-always-on;
183 };
184
185 vcam_reg: LDO7 {
186 regulator-name = "CAM_ISP_1.8V";
187 regulator-min-microvolt = <1800000>;
188 regulator-max-microvolt = <1800000>;
189 };
190
191 vusbdac_reg: LDO8 {
192 regulator-name = "VUSB/VDAC_3.3V_C210";
193 regulator-min-microvolt = <3300000>;
194 regulator-max-microvolt = <3300000>;
195 };
196
197 vccpda_reg: LDO9 {
198 regulator-name = "VCC_2.8V_PDA";
199 regulator-min-microvolt = <2800000>;
200 regulator-max-microvolt = <2800000>;
201 regulator-always-on;
202 };
203
204 vpll_reg: LDO10 {
205 regulator-name = "VPLL_1.1V_C210";
206 regulator-min-microvolt = <1100000>;
207 regulator-max-microvolt = <1100000>;
208 regulator-always-on;
209 };
210
211 vcclcd_reg: LDO13 {
212 regulator-name = "VCC_3.3V_LCD";
213 regulator-min-microvolt = <3300000>;
214 regulator-max-microvolt = <3300000>;
215 };
216
217 vlcd_reg: LDO15 {
218 regulator-name = "VLCD_2.2V";
219 regulator-min-microvolt = <2200000>;
220 regulator-max-microvolt = <2200000>;
221 };
222
223 camsensor_reg: LDO16 {
224 regulator-name = "CAM_SENSOR_IO_1.8V";
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <1800000>;
227 };
228
229 vddq_reg: LDO21 {
230 regulator-name = "VDDQ_M1M2_1.2V";
231 regulator-min-microvolt = <1200000>;
232 regulator-max-microvolt = <1200000>;
233 regulator-always-on;
234 };
235
236 varm_breg: BUCK1 {
237 regulator-name = "VARM_1.2V_C210";
238 regulator-min-microvolt = <900000>;
239 regulator-max-microvolt = <1350000>;
240 regulator-always-on;
241 };
242
243 vint_breg: BUCK2 {
244 regulator-name = "VINT_1.1V_C210";
245 regulator-min-microvolt = <900000>;
246 regulator-max-microvolt = <1100000>;
247 regulator-always-on;
248 };
249
250 camisp_breg: BUCK4 {
251 regulator-name = "CAM_ISP_CORE_1.2V";
252 regulator-min-microvolt = <1200000>;
253 regulator-max-microvolt = <1200000>;
254 };
255
256 vmem_breg: BUCK5 {
257 regulator-name = "VMEM_1.2V_C210";
258 regulator-min-microvolt = <1200000>;
259 regulator-max-microvolt = <1200000>;
260 regulator-always-on;
261 };
262
263 vccsub_breg: BUCK7 {
264 regulator-name = "VCC_SUB_2.0V";
265 regulator-min-microvolt = <2000000>;
266 regulator-max-microvolt = <2000000>;
267 regulator-always-on;
268 };
269
270 safe1_sreg: ESAFEOUT1 {
271 regulator-name = "SAFEOUT1";
272 regulator-always-on;
273 };
274
275 safe2_sreg: ESAFEOUT2 {
276 regulator-name = "SAFEOUT2";
277 regulator-boot-on;
278 };
279 };
280 };
281 };
282};
This page took 0.047361 seconds and 5 git commands to generate.