OSDN Git Service

fa85f58553f54459da1533f0421ddce4a454bc72
[android-x86/kernel.git] / arch / arm / boot / dts / exynos5250-snow.dts
1 /*
2  * Google Snow board device tree source
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 /dts-v1/;
12 /include/ "exynos5250.dtsi"
13 /include/ "cros5250-common.dtsi"
14
15 / {
16         model = "Google Snow";
17         compatible = "google,snow", "samsung,exynos5250";
18
19         aliases {
20                 i2c104 = &i2c_104;
21         };
22
23         pinctrl@11400000 {
24                 sd3_clk: sd3-clk {
25                         samsung,pin-drv = <0>;
26                 };
27
28                 sd3_cmd: sd3-cmd {
29                         samsung,pin-pud = <3>;
30                         samsung,pin-drv = <0>;
31                 };
32
33                 sd3_bus4: sd3-bus-width4 {
34                         samsung,pin-drv = <0>;
35                 };
36         };
37
38         gpio-keys {
39                 compatible = "gpio-keys";
40
41                 lid-switch {
42                         label = "Lid";
43                         gpios = <&gpx3 5 1>;
44                         linux,input-type = <5>; /* EV_SW */
45                         linux,code = <0>; /* SW_LID */
46                         debounce-interval = <1>;
47                         gpio-key,wakeup;
48                 };
49         };
50
51         i2c-arbitrator {
52                 compatible = "i2c-arb-gpio-challenge";
53                 #address-cells = <1>;
54                 #size-cells = <0>;
55
56                 i2c-parent = <&{/i2c@12CA0000}>;
57
58                 our-claim-gpio = <&gpf0 3 1>;
59                 their-claim-gpios = <&gpe0 4 1>;
60                 slew-delay-us = <10>;
61                 wait-retry-us = <3000>;
62                 wait-free-us = <50000>;
63
64                 /* Use ID 104 as a hint that we're on physical bus 4 */
65                 i2c_104: i2c@0 {
66                         reg = <0>;
67                         #address-cells = <1>;
68                         #size-cells = <0>;
69                 };
70         };
71
72         /*
73          * On Snow we've got SIP WiFi and so can keep drive strengths low to
74          * reduce EMI.
75          */
76         dwmmc3@12230000 {
77                 slot@0 {
78                         pinctrl-names = "default";
79                         pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
80                 };
81         };
82
83         usb@12110000 {
84                 samsung,vbus-gpio = <&gpx1 1 1 3 3>;
85         };
86
87         fixed-rate-clocks {
88                 xxti {
89                         compatible = "samsung,clock-xxti";
90                         clock-frequency = <24000000>;
91                 };
92         };
93 };