blob: 9b48a0ccd859d227f8c380482c0be9c707c529b5 [file] [log] [blame]
Rajeshwari Shinde12236872013-02-28 01:40:41 +00001/*
2 * SAMSUNG Snow board device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/
11
12/dts-v1/;
Stephen Warren3f972cc2013-07-24 10:09:20 -070013/include/ "exynos5250.dtsi"
Rajeshwari Shinde12236872013-02-28 01:40:41 +000014
15/ {
16 model = "Google Snow";
17 compatible = "google,snow", "samsung,exynos5250";
18
19 aliases {
20 i2c0 = "/i2c@12c60000";
21 i2c1 = "/i2c@12c70000";
22 i2c2 = "/i2c@12c80000";
23 i2c3 = "/i2c@12c90000";
24 i2c4 = "/i2c@12ca0000";
25 i2c5 = "/i2c@12cb0000";
26 i2c6 = "/i2c@12cc0000";
27 i2c7 = "/i2c@12cd0000";
28 spi0 = "/spi@12d20000";
29 spi1 = "/spi@12d30000";
30 spi2 = "/spi@12d40000";
31 spi3 = "/spi@131a0000";
32 spi4 = "/spi@131b0000";
Simon Glasseac8faa2013-05-10 20:24:00 -070033 mmc0 = "/mmc@12200000";
34 mmc1 = "/mmc@12210000";
35 mmc2 = "/mmc@12220000";
36 mmc3 = "/mmc@12230000";
Rajeshwari Shindeba7495d2013-06-24 16:47:21 +053037 serial0 = "/serial@12C30000";
38 console = "/serial@12C30000";
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053039 i2s = "/sound@3830000";
Rajeshwari Shinde12236872013-02-28 01:40:41 +000040 };
41
Hung-ying Tyane55aadd2013-05-15 18:27:33 +080042 i2c4: i2c@12ca0000 {
43 cros-ec@1e {
44 reg = <0x1e>;
45 compatible = "google,cros-ec";
46 i2c-max-frequency = <100000>;
47 ec-interrupt = <&gpio 782 1>;
48 };
49
50 power-regulator@48 {
51 compatible = "ti,tps65090";
52 reg = <0x48>;
53 };
54 };
55
56 spi@131b0000 {
57 spi-max-frequency = <1000000>;
58 spi-deactivate-delay = <100>;
59 cros-ec@0 {
60 reg = <0>;
61 compatible = "google,cros-ec";
62 spi-max-frequency = <5000000>;
63 ec-interrupt = <&gpio 782 1>;
64 optimise-flash-write;
65 status = "disabled";
66 };
67 };
68
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053069 sound@3830000 {
Rajeshwari Shinde12236872013-02-28 01:40:41 +000070 samsung,codec-type = "max98095";
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053071 codec-enable-gpio = <&gpio 0xb7 0>;
Rajeshwari Shinde12236872013-02-28 01:40:41 +000072 };
73
Wolfgang Denkec7fbf52013-10-04 17:43:24 +020074 sound@12d60000 {
75 status = "disabled";
76 };
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053077
Rajeshwari Shinde12236872013-02-28 01:40:41 +000078 i2c@12cd0000 {
79 soundcodec@22 {
80 reg = <0x22>;
81 compatible = "maxim,max98095-codec";
82 };
83 };
84
85 i2c@12c60000 {
86 pmic@9 {
87 reg = <0x9>;
88 compatible = "maxim,max77686_pmic";
89 };
90 };
Simon Glass36558ca2013-04-13 04:26:42 +000091
Simon Glasseac8faa2013-05-10 20:24:00 -070092 mmc@12200000 {
93 samsung,bus-width = <8>;
94 samsung,timing = <1 3 3>;
95 samsung,removable = <0>;
96 };
97
98 mmc@12210000 {
99 status = "disabled";
100 };
101
102 mmc@12220000 {
103 samsung,bus-width = <4>;
104 samsung,timing = <1 2 3>;
105 samsung,removable = <1>;
106 };
107
108 mmc@12230000 {
109 status = "disabled";
110 };
111
Julius Werner5bbaa0d2013-09-14 14:02:53 +0530112 ehci@12110000 {
Vivek Gautam12c4d9f2014-01-03 16:10:52 +0530113 samsung,vbus-gpio = <&gpio 0x309 0>; /* X11 */
Julius Werner5bbaa0d2013-09-14 14:02:53 +0530114 };
115
116 xhci@12000000 {
Vivek Gautam12c4d9f2014-01-03 16:10:52 +0530117 samsung,vbus-gpio = <&gpio 0x317 0>; /* X27 */
Julius Werner5bbaa0d2013-09-14 14:02:53 +0530118 };
119
Simon Glass36558ca2013-04-13 04:26:42 +0000120 tmu@10060000 {
121 samsung,min-temp = <25>;
122 samsung,max-temp = <125>;
123 samsung,start-warning = <95>;
124 samsung,start-tripping = <105>;
125 samsung,hw-tripping = <110>;
126 samsung,efuse-min-value = <40>;
127 samsung,efuse-value = <55>;
128 samsung,efuse-max-value = <100>;
129 samsung,slope = <274761730>;
130 samsung,dc-value = <25>;
131 };
132
Hung-ying Tyane55aadd2013-05-15 18:27:33 +0800133 cros-ec-keyb {
134 compatible = "google,cros-ec-keyb";
135 google,key-rows = <8>;
136 google,key-columns = <13>;
137 google,repeat-delay-ms = <240>;
138 google,repeat-rate-ms = <30>;
139 google,ghost-filter;
140 /*
141 * Keymap entries take the form of 0xRRCCKKKK where
142 * RR=Row CC=Column KKKK=Key Code
143 * The values below are for a US keyboard layout and
144 * are taken from the Linux driver. Note that the
145 * 102ND key is not used for US keyboards.
146 */
147 linux,keymap = <
148 /* CAPSLCK F1 B F10 */
149 0x0001003a 0x0002003b 0x00030030 0x00040044
150 /* N = R_ALT ESC */
151 0x00060031 0x0008000d 0x000a0064 0x01010001
152 /* F4 G F7 H */
153 0x0102003e 0x01030022 0x01040041 0x01060023
154 /* ' F9 BKSPACE L_CTRL */
155 0x01080028 0x01090043 0x010b000e 0x0200001d
156 /* TAB F3 T F6 */
157 0x0201000f 0x0202003d 0x02030014 0x02040040
158 /* ] Y 102ND [ */
159 0x0205001b 0x02060015 0x02070056 0x0208001a
160 /* F8 GRAVE F2 5 */
161 0x02090042 0x03010029 0x0302003c 0x03030006
162 /* F5 6 - \ */
163 0x0304003f 0x03060007 0x0308000c 0x030b002b
164 /* R_CTRL A D F */
165 0x04000061 0x0401001e 0x04020020 0x04030021
166 /* S K J ; */
167 0x0404001f 0x04050025 0x04060024 0x04080027
168 /* L ENTER Z C */
169 0x04090026 0x040b001c 0x0501002c 0x0502002e
170 /* V X , M */
171 0x0503002f 0x0504002d 0x05050033 0x05060032
172 /* L_SHIFT / . SPACE */
173 0x0507002a 0x05080035 0x05090034 0x050B0039
174 /* 1 3 4 2 */
175 0x06010002 0x06020004 0x06030005 0x06040003
176 /* 8 7 0 9 */
177 0x06050009 0x06060008 0x0608000b 0x0609000a
178 /* L_ALT DOWN RIGHT Q */
179 0x060a0038 0x060b006c 0x060c006a 0x07010010
180 /* E R W I */
181 0x07020012 0x07030013 0x07040011 0x07050017
182 /* U R_SHIFT P O */
183 0x07060016 0x07070036 0x07080019 0x07090018
184 /* UP LEFT */
185 0x070b0067 0x070c0069>;
186 };
Rajeshwari Shinde12236872013-02-28 01:40:41 +0000187};