blob: fa85f58553f54459da1533f0421ddce4a454bc72 [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>;
69 };
70 };
71
Doug Anderson95e82942012-11-21 13:32:21 +090072 /*
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 {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090078 pinctrl-names = "default";
79 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
Doug Anderson95e82942012-11-21 13:32:21 +090080 };
81 };
Vivek Gautam13cbd1e2013-02-12 15:24:15 -080082
83 usb@12110000 {
84 samsung,vbus-gpio = <&gpx1 1 1 3 3>;
85 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +090086
87 fixed-rate-clocks {
88 xxti {
89 compatible = "samsung,clock-xxti";
90 clock-frequency = <24000000>;
91 };
92 };
Doug Anderson95e82942012-11-21 13:32:21 +090093};