]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/exynos5250-cros-common.dtsi
ARM: dts: tx6: add enet_out clock for FEC
[karo-tx-linux.git] / arch / arm / boot / dts / exynos5250-cros-common.dtsi
1 /*
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
22         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                 max77686_irq: max77686-irq {
32                         samsung,pins = "gpx3-2";
33                         samsung,pin-function = <0>;
34                         samsung,pin-pud = <0>;
35                         samsung,pin-drv = <0>;
36                 };
37         };
38
39         i2c@12C60000 {
40                 status = "okay";
41                 samsung,i2c-sda-delay = <100>;
42                 samsung,i2c-max-bus-freq = <378000>;
43
44                 max77686@09 {
45                         compatible = "maxim,max77686";
46                         interrupt-parent = <&gpx3>;
47                         interrupts = <2 0>;
48                         pinctrl-names = "default";
49                         pinctrl-0 = <&max77686_irq>;
50                         wakeup-source;
51                         reg = <0x09>;
52                         #clock-cells = <1>;
53
54                         voltage-regulators {
55                                 ldo1_reg: LDO1 {
56                                         regulator-name = "P1.0V_LDO_OUT1";
57                                         regulator-min-microvolt = <1000000>;
58                                         regulator-max-microvolt = <1000000>;
59                                         regulator-always-on;
60                                 };
61
62                                 ldo2_reg: LDO2 {
63                                         regulator-name = "P1.8V_LDO_OUT2";
64                                         regulator-min-microvolt = <1800000>;
65                                         regulator-max-microvolt = <1800000>;
66                                         regulator-always-on;
67                                 };
68
69                                 ldo3_reg: LDO3 {
70                                         regulator-name = "P1.8V_LDO_OUT3";
71                                         regulator-min-microvolt = <1800000>;
72                                         regulator-max-microvolt = <1800000>;
73                                         regulator-always-on;
74                                 };
75
76                                 ldo7_reg: LDO7 {
77                                         regulator-name = "P1.1V_LDO_OUT7";
78                                         regulator-min-microvolt = <1100000>;
79                                         regulator-max-microvolt = <1100000>;
80                                         regulator-always-on;
81                                 };
82
83                                 ldo8_reg: LDO8 {
84                                         regulator-name = "P1.0V_LDO_OUT8";
85                                         regulator-min-microvolt = <1000000>;
86                                         regulator-max-microvolt = <1000000>;
87                                         regulator-always-on;
88                                 };
89
90                                 ldo10_reg: LDO10 {
91                                         regulator-name = "P1.8V_LDO_OUT10";
92                                         regulator-min-microvolt = <1800000>;
93                                         regulator-max-microvolt = <1800000>;
94                                         regulator-always-on;
95                                 };
96
97                                 ldo12_reg: LDO12 {
98                                         regulator-name = "P3.0V_LDO_OUT12";
99                                         regulator-min-microvolt = <3000000>;
100                                         regulator-max-microvolt = <3000000>;
101                                         regulator-always-on;
102                                 };
103
104                                 ldo14_reg: LDO14 {
105                                         regulator-name = "P1.8V_LDO_OUT14";
106                                         regulator-min-microvolt = <1800000>;
107                                         regulator-max-microvolt = <1800000>;
108                                         regulator-always-on;
109                                 };
110
111                                 ldo15_reg: LDO15 {
112                                         regulator-name = "P1.0V_LDO_OUT15";
113                                         regulator-min-microvolt = <1000000>;
114                                         regulator-max-microvolt = <1000000>;
115                                         regulator-always-on;
116                                 };
117
118                                 ldo16_reg: LDO16 {
119                                         regulator-name = "P1.8V_LDO_OUT16";
120                                         regulator-min-microvolt = <1800000>;
121                                         regulator-max-microvolt = <1800000>;
122                                         regulator-always-on;
123                                 };
124
125                                 buck1_reg: BUCK1 {
126                                         regulator-name = "vdd_mif";
127                                         regulator-min-microvolt = <950000>;
128                                         regulator-max-microvolt = <1300000>;
129                                         regulator-always-on;
130                                         regulator-boot-on;
131                                 };
132
133                                 buck2_reg: BUCK2 {
134                                         regulator-name = "vdd_arm";
135                                         regulator-min-microvolt = <850000>;
136                                         regulator-max-microvolt = <1350000>;
137                                         regulator-always-on;
138                                         regulator-boot-on;
139                                 };
140
141                                 buck3_reg: BUCK3 {
142                                         regulator-name = "vdd_int";
143                                         regulator-min-microvolt = <900000>;
144                                         regulator-max-microvolt = <1200000>;
145                                         regulator-always-on;
146                                         regulator-boot-on;
147                                 };
148
149                                 buck4_reg: BUCK4 {
150                                         regulator-name = "vdd_g3d";
151                                         regulator-min-microvolt = <850000>;
152                                         regulator-max-microvolt = <1300000>;
153                                         regulator-always-on;
154                                         regulator-boot-on;
155                                 };
156
157                                 buck5_reg: BUCK5 {
158                                         regulator-name = "P1.8V_BUCK_OUT5";
159                                         regulator-min-microvolt = <1800000>;
160                                         regulator-max-microvolt = <1800000>;
161                                         regulator-always-on;
162                                         regulator-boot-on;
163                                 };
164
165                                 buck6_reg: BUCK6 {
166                                         regulator-name = "P1.35V_BUCK_OUT6";
167                                         regulator-min-microvolt = <1350000>;
168                                         regulator-max-microvolt = <1350000>;
169                                         regulator-always-on;
170                                 };
171
172                                 buck7_reg: BUCK7 {
173                                         regulator-name = "P2.0V_BUCK_OUT7";
174                                         regulator-min-microvolt = <2000000>;
175                                         regulator-max-microvolt = <2000000>;
176                                         regulator-always-on;
177                                 };
178
179                                 buck8_reg: BUCK8 {
180                                         regulator-name = "P2.85V_BUCK_OUT8";
181                                         regulator-min-microvolt = <2850000>;
182                                         regulator-max-microvolt = <2850000>;
183                                         regulator-always-on;
184                                 };
185                         };
186                 };
187         };
188
189         i2c@12C70000 {
190                 status = "okay";
191                 samsung,i2c-sda-delay = <100>;
192                 samsung,i2c-max-bus-freq = <378000>;
193
194                 trackpad {
195                         reg = <0x67>;
196                         compatible = "cypress,cyapa";
197                         interrupts = <2 0>;
198                         interrupt-parent = <&gpx1>;
199                         wakeup-source;
200                 };
201         };
202
203         i2c@12C80000 {
204                 status = "okay";
205                 samsung,i2c-sda-delay = <100>;
206                 samsung,i2c-max-bus-freq = <66000>;
207
208                 hdmiddc@50 {
209                         compatible = "samsung,exynos4210-hdmiddc";
210                         reg = <0x50>;
211                 };
212         };
213
214         i2c@12C90000 {
215                 status = "okay";
216                 samsung,i2c-sda-delay = <100>;
217                 samsung,i2c-max-bus-freq = <66000>;
218         };
219
220         i2c@12CA0000 {
221                 status = "okay";
222                 samsung,i2c-sda-delay = <100>;
223                 samsung,i2c-max-bus-freq = <66000>;
224         };
225
226         i2c@12CB0000 {
227                 status = "okay";
228                 samsung,i2c-sda-delay = <100>;
229                 samsung,i2c-max-bus-freq = <66000>;
230         };
231
232         i2c@12CD0000 {
233                 status = "okay";
234                 samsung,i2c-sda-delay = <100>;
235                 samsung,i2c-max-bus-freq = <66000>;
236         };
237
238         i2c@12CE0000 {
239                 status = "okay";
240                 samsung,i2c-sda-delay = <100>;
241                 samsung,i2c-max-bus-freq = <378000>;
242
243                 hdmiphy: hdmiphy@38 {
244                         compatible = "samsung,exynos4212-hdmiphy";
245                         reg = <0x38>;
246                 };
247         };
248
249         mmc@12200000 {
250                 num-slots = <1>;
251                 supports-highspeed;
252                 broken-cd;
253                 card-detect-delay = <200>;
254                 samsung,dw-mshc-ciu-div = <3>;
255                 samsung,dw-mshc-sdr-timing = <2 3>;
256                 samsung,dw-mshc-ddr-timing = <1 2>;
257                 pinctrl-names = "default";
258                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
259
260                 slot@0 {
261                         reg = <0>;
262                         bus-width = <8>;
263                 };
264         };
265
266         mmc@12220000 {
267                 num-slots = <1>;
268                 supports-highspeed;
269                 card-detect-delay = <200>;
270                 samsung,dw-mshc-ciu-div = <3>;
271                 samsung,dw-mshc-sdr-timing = <2 3>;
272                 samsung,dw-mshc-ddr-timing = <1 2>;
273                 pinctrl-names = "default";
274                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
275
276                 slot@0 {
277                         reg = <0>;
278                         bus-width = <4>;
279                         wp-gpios = <&gpc2 1 0>;
280                 };
281         };
282
283         mmc@12230000 {
284                 num-slots = <1>;
285                 supports-highspeed;
286                 broken-cd;
287                 card-detect-delay = <200>;
288                 samsung,dw-mshc-ciu-div = <3>;
289                 samsung,dw-mshc-sdr-timing = <2 3>;
290                 samsung,dw-mshc-ddr-timing = <1 2>;
291                 /* See board-specific dts files for pin setup */
292
293                 slot@0 {
294                         reg = <0>;
295                         bus-width = <4>;
296                 };
297         };
298
299         spi_1: spi@12d30000 {
300                 status = "okay";
301                 samsung,spi-src-clk = <0>;
302                 num-cs = <1>;
303         };
304
305         hdmi {
306                 hpd-gpio = <&gpx3 7 0>;
307                 pinctrl-names = "default";
308                 pinctrl-0 = <&hdmi_hpd_irq>;
309                 phy = <&hdmiphy>;
310                 ddc = <&i2c_2>;
311         };
312
313         gpio-keys {
314                 compatible = "gpio-keys";
315
316                 power {
317                         label = "Power";
318                         gpios = <&gpx1 3 1>;
319                         linux,code = <116>; /* KEY_POWER */
320                         gpio-key,wakeup;
321                 };
322         };
323 };