diff options
author | Olof Johansson <olof@lixom.net> | 2013-12-23 21:54:04 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-12-23 21:54:04 -0500 |
commit | 954e198eac14f6c34157bbf053149f3c2917cbbd (patch) | |
tree | 62f9dd9a8d4a2fa7d2ec6477549f1dc167e98df3 /arch/arm/boot/dts/exynos5250-cros-common.dtsi | |
parent | f2edbadefd1a528f313da9027a4cf3ccf6f89ebf (diff) | |
parent | a22d060e3299ce672258d00070fa0ed398c035c5 (diff) |
Merge tag 'samsung-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/dt
From Kukjin Kim:
Samsung DT 2nd updates for v3.14
- add DMA controller, SPI, and TMU DT nodes for exynos5420
- add PWM DT nodes for exynos5250 and exynos5420
- drop interrupt controller properties from MCT nodes
because MCT is not an interrupt controller
- move MCT nodes to exynos4x12 from board because it is
a per-processor interrupt and same 4212 and 4412
- use one cell for MCT interrupt map for exynos4 SoCs
- update Exynos MCT DT bindings accordingly
- fix missing spaces after labels for exynos
- fix mmc status property for exynos5250-snow
- add MCLK for codec for exynos5250-smdk5250
- disable SPI and I2C by default for exynos5250 SoC
and enable into requiring some boards
- rename cros5250-common to exynos5250-cros-common
* tag 'samsung-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: (27 commits)
ARM: dts: Rename Exynos5250 ChromeOS common file to have exynos prefix
ARM: dts: Disable I2C controllers by default on Exynos5250
ARM: dts: Leave Exynos5250 SPI controller disabled by default
ARM: dts: Add CODEC MCLK for SMDK5250
ARM: dts: Add device nodes for TMU blocks for exynos5420
ARM: dts: Fix status property of mmc nodes for snow board
ARM: dts: Fix missing spaces after labels for exynos
ARM: dts: Simplify MCT interrupt map for exynos4 SoCs
ARM: dts: Move MCT node to exynos4x12.dtsi
ARM: dts: Drop interrupt controller properties from MCT nodes for exynos4 SoCs
Documentation: devicetree: Update Exynos MCT bindings description
ARM: dts: add pwm DT nodes to Exynos5250 and Exynos5420
ARM: dts: Add SPI nodes to the exynos5420 device tree file
ARM: dts: Add DMA controller node info on Exynos5420
ARM: dts: Use MSHC controller for eMMC memory for exynos4412-trats2
ARM: dts: Fix definition of MSHC device tree nodes for exynos4x12
ARM: dts: add clock provider for mshc node for Exynos4412 SOC
clk: samsung: exynos4: Fix definition of div_mmc_pre4 divider
ARM: dts: Fix exynos5250-snow's search key to be L_META
ARM: dts: Add the missing "\" key in non-US keyboards for exynos5250-snow
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-cros-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/exynos5250-cros-common.dtsi | 318 |
1 files changed, 318 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi b/arch/arm/boot/dts/exynos5250-cros-common.dtsi new file mode 100644 index 000000000000..9a61494f45f5 --- /dev/null +++ b/arch/arm/boot/dts/exynos5250-cros-common.dtsi | |||
@@ -0,0 +1,318 @@ | |||
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 | |||
53 | voltage-regulators { | ||
54 | ldo1_reg: LDO1 { | ||
55 | regulator-name = "P1.0V_LDO_OUT1"; | ||
56 | regulator-min-microvolt = <1000000>; | ||
57 | regulator-max-microvolt = <1000000>; | ||
58 | regulator-always-on; | ||
59 | }; | ||
60 | |||
61 | ldo2_reg: LDO2 { | ||
62 | regulator-name = "P1.8V_LDO_OUT2"; | ||
63 | regulator-min-microvolt = <1800000>; | ||
64 | regulator-max-microvolt = <1800000>; | ||
65 | regulator-always-on; | ||
66 | }; | ||
67 | |||
68 | ldo3_reg: LDO3 { | ||
69 | regulator-name = "P1.8V_LDO_OUT3"; | ||
70 | regulator-min-microvolt = <1800000>; | ||
71 | regulator-max-microvolt = <1800000>; | ||
72 | regulator-always-on; | ||
73 | }; | ||
74 | |||
75 | ldo7_reg: LDO7 { | ||
76 | regulator-name = "P1.1V_LDO_OUT7"; | ||
77 | regulator-min-microvolt = <1100000>; | ||
78 | regulator-max-microvolt = <1100000>; | ||
79 | regulator-always-on; | ||
80 | }; | ||
81 | |||
82 | ldo8_reg: LDO8 { | ||
83 | regulator-name = "P1.0V_LDO_OUT8"; | ||
84 | regulator-min-microvolt = <1000000>; | ||
85 | regulator-max-microvolt = <1000000>; | ||
86 | regulator-always-on; | ||
87 | }; | ||
88 | |||
89 | ldo10_reg: LDO10 { | ||
90 | regulator-name = "P1.8V_LDO_OUT10"; | ||
91 | regulator-min-microvolt = <1800000>; | ||
92 | regulator-max-microvolt = <1800000>; | ||
93 | regulator-always-on; | ||
94 | }; | ||
95 | |||
96 | ldo12_reg: LDO12 { | ||
97 | regulator-name = "P3.0V_LDO_OUT12"; | ||
98 | regulator-min-microvolt = <3000000>; | ||
99 | regulator-max-microvolt = <3000000>; | ||
100 | regulator-always-on; | ||
101 | }; | ||
102 | |||
103 | ldo14_reg: LDO14 { | ||
104 | regulator-name = "P1.8V_LDO_OUT14"; | ||
105 | regulator-min-microvolt = <1800000>; | ||
106 | regulator-max-microvolt = <1800000>; | ||
107 | regulator-always-on; | ||
108 | }; | ||
109 | |||
110 | ldo15_reg: LDO15 { | ||
111 | regulator-name = "P1.0V_LDO_OUT15"; | ||
112 | regulator-min-microvolt = <1000000>; | ||
113 | regulator-max-microvolt = <1000000>; | ||
114 | regulator-always-on; | ||
115 | }; | ||
116 | |||
117 | ldo16_reg: LDO16 { | ||
118 | regulator-name = "P1.8V_LDO_OUT16"; | ||
119 | regulator-min-microvolt = <1800000>; | ||
120 | regulator-max-microvolt = <1800000>; | ||
121 | regulator-always-on; | ||
122 | }; | ||
123 | |||
124 | buck1_reg: BUCK1 { | ||
125 | regulator-name = "vdd_mif"; | ||
126 | regulator-min-microvolt = <950000>; | ||
127 | regulator-max-microvolt = <1300000>; | ||
128 | regulator-always-on; | ||
129 | regulator-boot-on; | ||
130 | }; | ||
131 | |||
132 | buck2_reg: BUCK2 { | ||
133 | regulator-name = "vdd_arm"; | ||
134 | regulator-min-microvolt = <850000>; | ||
135 | regulator-max-microvolt = <1350000>; | ||
136 | regulator-always-on; | ||
137 | regulator-boot-on; | ||
138 | }; | ||
139 | |||
140 | buck3_reg: BUCK3 { | ||
141 | regulator-name = "vdd_int"; | ||
142 | regulator-min-microvolt = <900000>; | ||
143 | regulator-max-microvolt = <1200000>; | ||
144 | regulator-always-on; | ||
145 | regulator-boot-on; | ||
146 | }; | ||
147 | |||
148 | buck4_reg: BUCK4 { | ||
149 | regulator-name = "vdd_g3d"; | ||
150 | regulator-min-microvolt = <850000>; | ||
151 | regulator-max-microvolt = <1300000>; | ||
152 | regulator-always-on; | ||
153 | regulator-boot-on; | ||
154 | }; | ||
155 | |||
156 | buck5_reg: BUCK5 { | ||
157 | regulator-name = "P1.8V_BUCK_OUT5"; | ||
158 | regulator-min-microvolt = <1800000>; | ||
159 | regulator-max-microvolt = <1800000>; | ||
160 | regulator-always-on; | ||
161 | regulator-boot-on; | ||
162 | }; | ||
163 | |||
164 | buck6_reg: BUCK6 { | ||
165 | regulator-name = "P1.35V_BUCK_OUT6"; | ||
166 | regulator-min-microvolt = <1350000>; | ||
167 | regulator-max-microvolt = <1350000>; | ||
168 | regulator-always-on; | ||
169 | }; | ||
170 | |||
171 | buck7_reg: BUCK7 { | ||
172 | regulator-name = "P2.0V_BUCK_OUT7"; | ||
173 | regulator-min-microvolt = <2000000>; | ||
174 | regulator-max-microvolt = <2000000>; | ||
175 | regulator-always-on; | ||
176 | }; | ||
177 | |||
178 | buck8_reg: BUCK8 { | ||
179 | regulator-name = "P2.85V_BUCK_OUT8"; | ||
180 | regulator-min-microvolt = <2850000>; | ||
181 | regulator-max-microvolt = <2850000>; | ||
182 | regulator-always-on; | ||
183 | }; | ||
184 | }; | ||
185 | }; | ||
186 | }; | ||
187 | |||
188 | i2c@12C70000 { | ||
189 | status = "okay"; | ||
190 | samsung,i2c-sda-delay = <100>; | ||
191 | samsung,i2c-max-bus-freq = <378000>; | ||
192 | |||
193 | trackpad { | ||
194 | reg = <0x67>; | ||
195 | compatible = "cypress,cyapa"; | ||
196 | interrupts = <2 0>; | ||
197 | interrupt-parent = <&gpx1>; | ||
198 | wakeup-source; | ||
199 | }; | ||
200 | }; | ||
201 | |||
202 | i2c@12C80000 { | ||
203 | status = "okay"; | ||
204 | samsung,i2c-sda-delay = <100>; | ||
205 | samsung,i2c-max-bus-freq = <66000>; | ||
206 | |||
207 | hdmiddc@50 { | ||
208 | compatible = "samsung,exynos4210-hdmiddc"; | ||
209 | reg = <0x50>; | ||
210 | }; | ||
211 | }; | ||
212 | |||
213 | i2c@12C90000 { | ||
214 | status = "okay"; | ||
215 | samsung,i2c-sda-delay = <100>; | ||
216 | samsung,i2c-max-bus-freq = <66000>; | ||
217 | }; | ||
218 | |||
219 | i2c@12CA0000 { | ||
220 | status = "okay"; | ||
221 | samsung,i2c-sda-delay = <100>; | ||
222 | samsung,i2c-max-bus-freq = <66000>; | ||
223 | }; | ||
224 | |||
225 | i2c@12CB0000 { | ||
226 | status = "okay"; | ||
227 | samsung,i2c-sda-delay = <100>; | ||
228 | samsung,i2c-max-bus-freq = <66000>; | ||
229 | }; | ||
230 | |||
231 | i2c@12CD0000 { | ||
232 | status = "okay"; | ||
233 | samsung,i2c-sda-delay = <100>; | ||
234 | samsung,i2c-max-bus-freq = <66000>; | ||
235 | }; | ||
236 | |||
237 | i2c@12CE0000 { | ||
238 | status = "okay"; | ||
239 | samsung,i2c-sda-delay = <100>; | ||
240 | samsung,i2c-max-bus-freq = <378000>; | ||
241 | |||
242 | hdmiphy@38 { | ||
243 | compatible = "samsung,exynos4212-hdmiphy"; | ||
244 | reg = <0x38>; | ||
245 | }; | ||
246 | }; | ||
247 | |||
248 | mmc@12200000 { | ||
249 | num-slots = <1>; | ||
250 | supports-highspeed; | ||
251 | broken-cd; | ||
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 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>; | ||
258 | |||
259 | slot@0 { | ||
260 | reg = <0>; | ||
261 | bus-width = <8>; | ||
262 | }; | ||
263 | }; | ||
264 | |||
265 | mmc@12220000 { | ||
266 | num-slots = <1>; | ||
267 | supports-highspeed; | ||
268 | card-detect-delay = <200>; | ||
269 | samsung,dw-mshc-ciu-div = <3>; | ||
270 | samsung,dw-mshc-sdr-timing = <2 3>; | ||
271 | samsung,dw-mshc-ddr-timing = <1 2>; | ||
272 | pinctrl-names = "default"; | ||
273 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | ||
274 | |||
275 | slot@0 { | ||
276 | reg = <0>; | ||
277 | bus-width = <4>; | ||
278 | wp-gpios = <&gpc2 1 0>; | ||
279 | }; | ||
280 | }; | ||
281 | |||
282 | mmc@12230000 { | ||
283 | num-slots = <1>; | ||
284 | supports-highspeed; | ||
285 | broken-cd; | ||
286 | card-detect-delay = <200>; | ||
287 | samsung,dw-mshc-ciu-div = <3>; | ||
288 | samsung,dw-mshc-sdr-timing = <2 3>; | ||
289 | samsung,dw-mshc-ddr-timing = <1 2>; | ||
290 | /* See board-specific dts files for pin setup */ | ||
291 | |||
292 | slot@0 { | ||
293 | reg = <0>; | ||
294 | bus-width = <4>; | ||
295 | }; | ||
296 | }; | ||
297 | |||
298 | spi_1: spi@12d30000 { | ||
299 | status = "okay"; | ||
300 | samsung,spi-src-clk = <0>; | ||
301 | num-cs = <1>; | ||
302 | }; | ||
303 | |||
304 | hdmi { | ||
305 | hpd-gpio = <&gpx3 7 0>; | ||
306 | }; | ||
307 | |||
308 | gpio-keys { | ||
309 | compatible = "gpio-keys"; | ||
310 | |||
311 | power { | ||
312 | label = "Power"; | ||
313 | gpios = <&gpx1 3 1>; | ||
314 | linux,code = <116>; /* KEY_POWER */ | ||
315 | gpio-key,wakeup; | ||
316 | }; | ||
317 | }; | ||
318 | }; | ||