blob: c1151431f0d13ba3821541916d507b7b20762027 [file] [log] [blame]
Doug Anderson95e82942012-11-21 13:32:21 +09001/*
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
Doug Anderson97a4a1b2013-04-16 16:29:01 +000019 aliases {
20 i2c104 = &i2c_104;
21 };
22
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090023 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
Doug Anderson95e82942012-11-21 13:32:21 +090038 gpio-keys {
39 compatible = "gpio-keys";
40
41 lid-switch {
42 label = "Lid";
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090043 gpios = <&gpx3 5 1>;
Doug Anderson95e82942012-11-21 13:32:21 +090044 linux,input-type = <5>; /* EV_SW */
45 linux,code = <0>; /* SW_LID */
46 debounce-interval = <1>;
47 gpio-key,wakeup;
48 };
49 };
50
Doug Anderson97a4a1b2013-04-16 16:29:01 +000051 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>;
Doug Anderson61d4f052013-04-16 16:29:02 +000069
70 battery: sbs-battery@b {
71 compatible = "sbs,sbs-battery";
72 reg = <0xb>;
73 sbs,poll-retry-count = <1>;
74 };
Doug Anderson97a4a1b2013-04-16 16:29:01 +000075 };
76 };
77
Doug Anderson95e82942012-11-21 13:32:21 +090078 /*
79 * On Snow we've got SIP WiFi and so can keep drive strengths low to
80 * reduce EMI.
81 */
82 dwmmc3@12230000 {
83 slot@0 {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090084 pinctrl-names = "default";
85 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
Doug Anderson95e82942012-11-21 13:32:21 +090086 };
87 };
Vivek Gautam13cbd1e2013-02-12 15:24:15 -080088
89 usb@12110000 {
90 samsung,vbus-gpio = <&gpx1 1 1 3 3>;
91 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +090092
93 fixed-rate-clocks {
94 xxti {
95 compatible = "samsung,clock-xxti";
96 clock-frequency = <24000000>;
97 };
98 };
Doug Anderson95e82942012-11-21 13:32:21 +090099};