ARM: mm: Fix ifdef around cpu_*_do_[suspend, resume] ops
[sfrench/cifs-2.6.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
32         i2c@12C60000 {
33                 status = "okay";
34                 samsung,i2c-sda-delay = <100>;
35                 samsung,i2c-max-bus-freq = <378000>;
36         };
37
38         i2c@12C70000 {
39                 status = "okay";
40                 samsung,i2c-sda-delay = <100>;
41                 samsung,i2c-max-bus-freq = <378000>;
42         };
43
44         i2c@12C80000 {
45                 status = "okay";
46                 samsung,i2c-sda-delay = <100>;
47                 samsung,i2c-max-bus-freq = <66000>;
48
49                 hdmiddc@50 {
50                         compatible = "samsung,exynos4210-hdmiddc";
51                         reg = <0x50>;
52                 };
53         };
54
55         i2c@12C90000 {
56                 status = "okay";
57                 samsung,i2c-sda-delay = <100>;
58                 samsung,i2c-max-bus-freq = <66000>;
59         };
60
61         i2c@12CA0000 {
62                 status = "okay";
63                 samsung,i2c-sda-delay = <100>;
64                 samsung,i2c-max-bus-freq = <66000>;
65         };
66
67         i2c@12CB0000 {
68                 status = "okay";
69                 samsung,i2c-sda-delay = <100>;
70                 samsung,i2c-max-bus-freq = <66000>;
71         };
72
73         i2c@12CD0000 {
74                 status = "okay";
75                 samsung,i2c-sda-delay = <100>;
76                 samsung,i2c-max-bus-freq = <66000>;
77         };
78
79         i2c@12CE0000 {
80                 status = "okay";
81                 samsung,i2c-sda-delay = <100>;
82                 samsung,i2c-max-bus-freq = <378000>;
83
84                 hdmiphy: hdmiphy@38 {
85                         compatible = "samsung,exynos4212-hdmiphy";
86                         reg = <0x38>;
87                 };
88         };
89
90         mmc@12200000 {
91                 num-slots = <1>;
92                 supports-highspeed;
93                 broken-cd;
94                 card-detect-delay = <200>;
95                 samsung,dw-mshc-ciu-div = <3>;
96                 samsung,dw-mshc-sdr-timing = <2 3>;
97                 samsung,dw-mshc-ddr-timing = <1 2>;
98                 pinctrl-names = "default";
99                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
100
101                 slot@0 {
102                         reg = <0>;
103                         bus-width = <8>;
104                 };
105         };
106
107         mmc@12220000 {
108                 num-slots = <1>;
109                 supports-highspeed;
110                 card-detect-delay = <200>;
111                 samsung,dw-mshc-ciu-div = <3>;
112                 samsung,dw-mshc-sdr-timing = <2 3>;
113                 samsung,dw-mshc-ddr-timing = <1 2>;
114                 pinctrl-names = "default";
115                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
116
117                 slot@0 {
118                         reg = <0>;
119                         bus-width = <4>;
120                         wp-gpios = <&gpc2 1 0>;
121                 };
122         };
123
124         mmc@12230000 {
125                 num-slots = <1>;
126                 supports-highspeed;
127                 broken-cd;
128                 card-detect-delay = <200>;
129                 samsung,dw-mshc-ciu-div = <3>;
130                 samsung,dw-mshc-sdr-timing = <2 3>;
131                 samsung,dw-mshc-ddr-timing = <1 2>;
132                 /* See board-specific dts files for pin setup */
133
134                 slot@0 {
135                         reg = <0>;
136                         bus-width = <4>;
137                 };
138         };
139
140         spi_1: spi@12d30000 {
141                 status = "okay";
142                 samsung,spi-src-clk = <0>;
143                 num-cs = <1>;
144         };
145
146         hdmi {
147                 hpd-gpio = <&gpx3 7 0>;
148                 pinctrl-names = "default";
149                 pinctrl-0 = <&hdmi_hpd_irq>;
150                 phy = <&hdmiphy>;
151                 ddc = <&i2c_2>;
152         };
153
154         gpio-keys {
155                 compatible = "gpio-keys";
156
157                 power {
158                         label = "Power";
159                         gpios = <&gpx1 3 1>;
160                         linux,code = <116>; /* KEY_POWER */
161                         gpio-key,wakeup;
162                 };
163         };
164 };