]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/cros5250-common.dtsi
ARM: dts: Leave Exynos5250 SPI controller disabled by default
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / cros5250-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 samsung,i2c-sda-delay = <100>;
34 samsung,i2c-max-bus-freq = <378000>;
35
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 };
173 };
174
175 i2c@12C70000 {
176 samsung,i2c-sda-delay = <100>;
177 samsung,i2c-max-bus-freq = <378000>;
178
179 trackpad {
180 reg = <0x67>;
181 compatible = "cypress,cyapa";
182 interrupts = <2 0>;
183 interrupt-parent = <&gpx1>;
184 wakeup-source;
185 };
186 };
187
188 i2c@12C80000 {
189 samsung,i2c-sda-delay = <100>;
190 samsung,i2c-max-bus-freq = <66000>;
191
192 hdmiddc@50 {
193 compatible = "samsung,exynos4210-hdmiddc";
194 reg = <0x50>;
195 };
196 };
197
198 i2c@12C90000 {
199 samsung,i2c-sda-delay = <100>;
200 samsung,i2c-max-bus-freq = <66000>;
201 };
202
203 i2c@12CA0000 {
204 samsung,i2c-sda-delay = <100>;
205 samsung,i2c-max-bus-freq = <66000>;
206 };
207
208 i2c@12CB0000 {
209 samsung,i2c-sda-delay = <100>;
210 samsung,i2c-max-bus-freq = <66000>;
211 };
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>;
220 };
221
222 i2c@12CE0000 {
223 samsung,i2c-sda-delay = <100>;
224 samsung,i2c-max-bus-freq = <378000>;
225
226 hdmiphy@38 {
227 compatible = "samsung,exynos4212-hdmiphy";
228 reg = <0x38>;
229 };
230 };
231
232 mmc@12200000 {
233 num-slots = <1>;
234 supports-highspeed;
235 broken-cd;
236 card-detect-delay = <200>;
237 samsung,dw-mshc-ciu-div = <3>;
238 samsung,dw-mshc-sdr-timing = <2 3>;
239 samsung,dw-mshc-ddr-timing = <1 2>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
242
243 slot@0 {
244 reg = <0>;
245 bus-width = <8>;
246 };
247 };
248
249 mmc@12220000 {
250 num-slots = <1>;
251 supports-highspeed;
252 card-detect-delay = <200>;
253 samsung,dw-mshc-ciu-div = <3>;
254 samsung,dw-mshc-sdr-timing = <2 3>;
255 samsung,dw-mshc-ddr-timing = <1 2>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
258
259 slot@0 {
260 reg = <0>;
261 bus-width = <4>;
262 wp-gpios = <&gpc2 1 0>;
263 };
264 };
265
266 mmc@12230000 {
267 num-slots = <1>;
268 supports-highspeed;
269 broken-cd;
270 card-detect-delay = <200>;
271 samsung,dw-mshc-ciu-div = <3>;
272 samsung,dw-mshc-sdr-timing = <2 3>;
273 samsung,dw-mshc-ddr-timing = <1 2>;
274 /* See board-specific dts files for pin setup */
275
276 slot@0 {
277 reg = <0>;
278 bus-width = <4>;
279 };
280 };
281
282 spi_1: spi@12d30000 {
283 status = "okay";
284 samsung,spi-src-clk = <0>;
285 num-cs = <1>;
286 };
287
288 hdmi {
289 hpd-gpio = <&gpx3 7 0>;
290 };
291
292 gpio-keys {
293 compatible = "gpio-keys";
294
295 power {
296 label = "Power";
297 gpios = <&gpx1 3 1>;
298 linux,code = <116>; /* KEY_POWER */
299 gpio-key,wakeup;
300 };
301 };
302 };