blob: dc259e8b8a73a8630dc9698295e662f0ab66e43d [file] [log] [blame]
Doug Anderson95e82942012-11-21 13:32:21 +09001/*
2 * Common device tree include for all Exynos 5250 boards based off of Daisy.
3 *
4 * Copyright (c) 2012 Google, Inc
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9*/
10
11/ {
12 aliases {
13 };
14
15 memory {
16 reg = <0x40000000 0x80000000>;
17 };
18
19 chosen {
20 };
21
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090022 pinctrl@11400000 {
23 /*
24 * Disabled pullups since external part has its own pullups and
25 * double-pulling gets us out of spec in some cases.
26 */
27 i2c2_bus: i2c2-bus {
28 samsung,pin-pud = <0>;
29 };
30 };
31
Doug Anderson95e82942012-11-21 13:32:21 +090032 i2c@12C60000 {
33 samsung,i2c-sda-delay = <100>;
34 samsung,i2c-max-bus-freq = <378000>;
Abhilash Kesavanc8775332013-02-12 21:24:08 -080035
36 max77686@09 {
37 compatible = "maxim,max77686";
38 reg = <0x09>;
39
40 voltage-regulators {
41 ldo1_reg: LDO1 {
42 regulator-name = "P1.0V_LDO_OUT1";
43 regulator-min-microvolt = <1000000>;
44 regulator-max-microvolt = <1000000>;
45 regulator-always-on;
46 };
47
48 ldo2_reg: LDO2 {
49 regulator-name = "P1.8V_LDO_OUT2";
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
52 regulator-always-on;
53 };
54
55 ldo3_reg: LDO3 {
56 regulator-name = "P1.8V_LDO_OUT3";
57 regulator-min-microvolt = <1800000>;
58 regulator-max-microvolt = <1800000>;
59 regulator-always-on;
60 };
61
62 ldo7_reg: LDO7 {
63 regulator-name = "P1.1V_LDO_OUT7";
64 regulator-min-microvolt = <1100000>;
65 regulator-max-microvolt = <1100000>;
66 regulator-always-on;
67 };
68
69 ldo8_reg: LDO8 {
70 regulator-name = "P1.0V_LDO_OUT8";
71 regulator-min-microvolt = <1000000>;
72 regulator-max-microvolt = <1000000>;
73 regulator-always-on;
74 };
75
76 ldo10_reg: LDO10 {
77 regulator-name = "P1.8V_LDO_OUT10";
78 regulator-min-microvolt = <1800000>;
79 regulator-max-microvolt = <1800000>;
80 regulator-always-on;
81 };
82
83 ldo12_reg: LDO12 {
84 regulator-name = "P3.0V_LDO_OUT12";
85 regulator-min-microvolt = <3000000>;
86 regulator-max-microvolt = <3000000>;
87 regulator-always-on;
88 };
89
90 ldo14_reg: LDO14 {
91 regulator-name = "P1.8V_LDO_OUT14";
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
94 regulator-always-on;
95 };
96
97 ldo15_reg: LDO15 {
98 regulator-name = "P1.0V_LDO_OUT15";
99 regulator-min-microvolt = <1000000>;
100 regulator-max-microvolt = <1000000>;
101 regulator-always-on;
102 };
103
104 ldo16_reg: LDO16 {
105 regulator-name = "P1.8V_LDO_OUT16";
106 regulator-min-microvolt = <1800000>;
107 regulator-max-microvolt = <1800000>;
108 regulator-always-on;
109 };
110
111 buck1_reg: BUCK1 {
112 regulator-name = "vdd_mif";
113 regulator-min-microvolt = <950000>;
114 regulator-max-microvolt = <1300000>;
115 regulator-always-on;
116 regulator-boot-on;
117 };
118
119 buck2_reg: BUCK2 {
120 regulator-name = "vdd_arm";
121 regulator-min-microvolt = <850000>;
122 regulator-max-microvolt = <1350000>;
123 regulator-always-on;
124 regulator-boot-on;
125 };
126
127 buck3_reg: BUCK3 {
128 regulator-name = "vdd_int";
129 regulator-min-microvolt = <900000>;
130 regulator-max-microvolt = <1200000>;
131 regulator-always-on;
132 regulator-boot-on;
133 };
134
135 buck4_reg: BUCK4 {
136 regulator-name = "vdd_g3d";
137 regulator-min-microvolt = <850000>;
138 regulator-max-microvolt = <1300000>;
139 regulator-always-on;
140 regulator-boot-on;
141 };
142
143 buck5_reg: BUCK5 {
144 regulator-name = "P1.8V_BUCK_OUT5";
145 regulator-min-microvolt = <1800000>;
146 regulator-max-microvolt = <1800000>;
147 regulator-always-on;
148 regulator-boot-on;
149 };
150
151 buck6_reg: BUCK6 {
152 regulator-name = "P1.35V_BUCK_OUT6";
153 regulator-min-microvolt = <1350000>;
154 regulator-max-microvolt = <1350000>;
155 regulator-always-on;
156 };
157
158 buck7_reg: BUCK7 {
159 regulator-name = "P2.0V_BUCK_OUT7";
160 regulator-min-microvolt = <2000000>;
161 regulator-max-microvolt = <2000000>;
162 regulator-always-on;
163 };
164
165 buck8_reg: BUCK8 {
166 regulator-name = "P2.85V_BUCK_OUT8";
167 regulator-min-microvolt = <2850000>;
168 regulator-max-microvolt = <2850000>;
169 regulator-always-on;
170 };
171 };
172 };
Doug Anderson95e82942012-11-21 13:32:21 +0900173 };
174
175 i2c@12C70000 {
176 samsung,i2c-sda-delay = <100>;
177 samsung,i2c-max-bus-freq = <378000>;
Olof Johanssonee99ce82013-04-26 16:41:21 -0700178
179 trackpad {
180 reg = <0x67>;
181 compatible = "cypress,cyapa";
182 interrupts = <2 0>;
183 interrupt-parent = <&gpx1>;
184 wakeup-source;
185 };
Doug Anderson95e82942012-11-21 13:32:21 +0900186 };
187
188 i2c@12C80000 {
189 samsung,i2c-sda-delay = <100>;
190 samsung,i2c-max-bus-freq = <66000>;
191
Doug Anderson95e82942012-11-21 13:32:21 +0900192 hdmiddc@50 {
Rahul Sharma0d1fc822013-06-19 18:21:09 +0530193 compatible = "samsung,exynos4210-hdmiddc";
Doug Anderson95e82942012-11-21 13:32:21 +0900194 reg = <0x50>;
195 };
196 };
197
198 i2c@12C90000 {
199 samsung,i2c-sda-delay = <100>;
200 samsung,i2c-max-bus-freq = <66000>;
Doug Anderson95e82942012-11-21 13:32:21 +0900201 };
202
203 i2c@12CA0000 {
Doug Anderson97a4a1b2013-04-16 16:29:01 +0000204 samsung,i2c-sda-delay = <100>;
205 samsung,i2c-max-bus-freq = <66000>;
Doug Anderson95e82942012-11-21 13:32:21 +0900206 };
207
208 i2c@12CB0000 {
209 samsung,i2c-sda-delay = <100>;
210 samsung,i2c-max-bus-freq = <66000>;
Doug Anderson95e82942012-11-21 13:32:21 +0900211 };
212
213 i2c@12CC0000 {
214 status = "disabled";
215 };
216
217 i2c@12CD0000 {
218 samsung,i2c-sda-delay = <100>;
219 samsung,i2c-max-bus-freq = <66000>;
Doug Anderson95e82942012-11-21 13:32:21 +0900220 };
221
222 i2c@12CE0000 {
223 samsung,i2c-sda-delay = <100>;
224 samsung,i2c-max-bus-freq = <378000>;
225
226 hdmiphy@38 {
Rahul Sharma0d1fc822013-06-19 18:21:09 +0530227 compatible = "samsung,exynos4212-hdmiphy";
Doug Anderson95e82942012-11-21 13:32:21 +0900228 reg = <0x38>;
229 };
230 };
231
232 dwmmc0@12200000 {
233 num-slots = <1>;
234 supports-highspeed;
235 broken-cd;
236 fifo-depth = <0x80>;
237 card-detect-delay = <200>;
238 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800239 samsung,dw-mshc-sdr-timing = <2 3>;
240 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900241 pinctrl-names = "default";
242 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
Doug Anderson95e82942012-11-21 13:32:21 +0900243
244 slot@0 {
245 reg = <0>;
246 bus-width = <8>;
Doug Anderson95e82942012-11-21 13:32:21 +0900247 };
248 };
249
250 dwmmc1@12210000 {
251 status = "disabled";
252 };
253
254 dwmmc2@12220000 {
255 num-slots = <1>;
256 supports-highspeed;
257 fifo-depth = <0x80>;
258 card-detect-delay = <200>;
259 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800260 samsung,dw-mshc-sdr-timing = <2 3>;
261 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900262 pinctrl-names = "default";
263 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
Doug Anderson95e82942012-11-21 13:32:21 +0900264
265 slot@0 {
266 reg = <0>;
267 bus-width = <4>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900268 wp-gpios = <&gpc2 1 0>;
Doug Anderson95e82942012-11-21 13:32:21 +0900269 };
270 };
271
272 dwmmc3@12230000 {
273 num-slots = <1>;
274 supports-highspeed;
275 broken-cd;
276 fifo-depth = <0x80>;
277 card-detect-delay = <200>;
278 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800279 samsung,dw-mshc-sdr-timing = <2 3>;
280 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900281 /* See board-specific dts files for pin setup */
Doug Anderson95e82942012-11-21 13:32:21 +0900282
283 slot@0 {
284 reg = <0>;
285 bus-width = <4>;
Doug Anderson95e82942012-11-21 13:32:21 +0900286 };
287 };
288
289 spi_0: spi@12d20000 {
290 status = "disabled";
291 };
292
293 spi_1: spi@12d30000 {
Doug Anderson95e82942012-11-21 13:32:21 +0900294 samsung,spi-src-clk = <0>;
295 num-cs = <1>;
296 };
297
298 spi_2: spi@12d40000 {
299 status = "disabled";
300 };
301
302 hdmi {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900303 hpd-gpio = <&gpx3 7 0>;
Doug Anderson95e82942012-11-21 13:32:21 +0900304 };
305
306 gpio-keys {
307 compatible = "gpio-keys";
308
309 power {
310 label = "Power";
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900311 gpios = <&gpx1 3 1>;
Doug Anderson95e82942012-11-21 13:32:21 +0900312 linux,code = <116>; /* KEY_POWER */
313 gpio-key,wakeup;
314 };
315 };
316};