Doug Anderson | 95e8294 | 2012-11-21 13:32:21 +0900 | [diff] [blame] | 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 | |
Doug Anderson | 97a4a1b | 2013-04-16 16:29:01 +0000 | [diff] [blame^] | 19 | aliases { |
| 20 | i2c104 = &i2c_104; |
| 21 | }; |
| 22 | |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 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 | |
Doug Anderson | 95e8294 | 2012-11-21 13:32:21 +0900 | [diff] [blame] | 38 | gpio-keys { |
| 39 | compatible = "gpio-keys"; |
| 40 | |
| 41 | lid-switch { |
| 42 | label = "Lid"; |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 43 | gpios = <&gpx3 5 1>; |
Doug Anderson | 95e8294 | 2012-11-21 13:32:21 +0900 | [diff] [blame] | 44 | linux,input-type = <5>; /* EV_SW */ |
| 45 | linux,code = <0>; /* SW_LID */ |
| 46 | debounce-interval = <1>; |
| 47 | gpio-key,wakeup; |
| 48 | }; |
| 49 | }; |
| 50 | |
Doug Anderson | 97a4a1b | 2013-04-16 16:29:01 +0000 | [diff] [blame^] | 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 | |
Doug Anderson | 95e8294 | 2012-11-21 13:32:21 +0900 | [diff] [blame] | 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 { |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 78 | pinctrl-names = "default"; |
| 79 | pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>; |
Doug Anderson | 95e8294 | 2012-11-21 13:32:21 +0900 | [diff] [blame] | 80 | }; |
| 81 | }; |
Vivek Gautam | 13cbd1e | 2013-02-12 15:24:15 -0800 | [diff] [blame] | 82 | |
| 83 | usb@12110000 { |
| 84 | samsung,vbus-gpio = <&gpx1 1 1 3 3>; |
| 85 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 86 | |
| 87 | fixed-rate-clocks { |
| 88 | xxti { |
| 89 | compatible = "samsung,clock-xxti"; |
| 90 | clock-frequency = <24000000>; |
| 91 | }; |
| 92 | }; |
Doug Anderson | 95e8294 | 2012-11-21 13:32:21 +0900 | [diff] [blame] | 93 | }; |