]>
Commit | Line | Data |
---|---|---|
2881e533 RS |
1 | /* |
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/; | |
6e8e0311 | 13 | /include/ "exynos5250.dtsi" |
2881e533 RS |
14 | |
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"; | |
b2f79412 SG |
33 | mmc0 = "/mmc@12200000"; |
34 | mmc1 = "/mmc@12210000"; | |
35 | mmc2 = "/mmc@12220000"; | |
36 | mmc3 = "/mmc@12230000"; | |
4603e8cf RS |
37 | serial0 = "/serial@12C30000"; |
38 | console = "/serial@12C30000"; | |
2881e533 RS |
39 | }; |
40 | ||
60744a11 HT |
41 | i2c4: i2c@12ca0000 { |
42 | cros-ec@1e { | |
43 | reg = <0x1e>; | |
44 | compatible = "google,cros-ec"; | |
45 | i2c-max-frequency = <100000>; | |
46 | ec-interrupt = <&gpio 782 1>; | |
47 | }; | |
48 | ||
49 | power-regulator@48 { | |
50 | compatible = "ti,tps65090"; | |
51 | reg = <0x48>; | |
52 | }; | |
53 | }; | |
54 | ||
55 | spi@131b0000 { | |
56 | spi-max-frequency = <1000000>; | |
57 | spi-deactivate-delay = <100>; | |
58 | cros-ec@0 { | |
59 | reg = <0>; | |
60 | compatible = "google,cros-ec"; | |
61 | spi-max-frequency = <5000000>; | |
62 | ec-interrupt = <&gpio 782 1>; | |
63 | optimise-flash-write; | |
64 | status = "disabled"; | |
65 | }; | |
66 | }; | |
67 | ||
2881e533 RS |
68 | sound@12d60000 { |
69 | samsung,i2s-epll-clock-frequency = <192000000>; | |
70 | samsung,i2s-sampling-rate = <48000>; | |
71 | samsung,i2s-bits-per-sample = <16>; | |
72 | samsung,i2s-channels = <2>; | |
73 | samsung,i2s-lr-clk-framesize = <256>; | |
74 | samsung,i2s-bit-clk-framesize = <32>; | |
75 | samsung,codec-type = "max98095"; | |
76 | }; | |
77 | ||
78 | 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 | }; | |
f2e8a873 | 91 | |
b2f79412 SG |
92 | 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 | ||
f2e8a873 SG |
112 | tmu@10060000 { |
113 | samsung,min-temp = <25>; | |
114 | samsung,max-temp = <125>; | |
115 | samsung,start-warning = <95>; | |
116 | samsung,start-tripping = <105>; | |
117 | samsung,hw-tripping = <110>; | |
118 | samsung,efuse-min-value = <40>; | |
119 | samsung,efuse-value = <55>; | |
120 | samsung,efuse-max-value = <100>; | |
121 | samsung,slope = <274761730>; | |
122 | samsung,dc-value = <25>; | |
123 | }; | |
124 | ||
60744a11 HT |
125 | cros-ec-keyb { |
126 | compatible = "google,cros-ec-keyb"; | |
127 | google,key-rows = <8>; | |
128 | google,key-columns = <13>; | |
129 | google,repeat-delay-ms = <240>; | |
130 | google,repeat-rate-ms = <30>; | |
131 | google,ghost-filter; | |
132 | /* | |
133 | * Keymap entries take the form of 0xRRCCKKKK where | |
134 | * RR=Row CC=Column KKKK=Key Code | |
135 | * The values below are for a US keyboard layout and | |
136 | * are taken from the Linux driver. Note that the | |
137 | * 102ND key is not used for US keyboards. | |
138 | */ | |
139 | linux,keymap = < | |
140 | /* CAPSLCK F1 B F10 */ | |
141 | 0x0001003a 0x0002003b 0x00030030 0x00040044 | |
142 | /* N = R_ALT ESC */ | |
143 | 0x00060031 0x0008000d 0x000a0064 0x01010001 | |
144 | /* F4 G F7 H */ | |
145 | 0x0102003e 0x01030022 0x01040041 0x01060023 | |
146 | /* ' F9 BKSPACE L_CTRL */ | |
147 | 0x01080028 0x01090043 0x010b000e 0x0200001d | |
148 | /* TAB F3 T F6 */ | |
149 | 0x0201000f 0x0202003d 0x02030014 0x02040040 | |
150 | /* ] Y 102ND [ */ | |
151 | 0x0205001b 0x02060015 0x02070056 0x0208001a | |
152 | /* F8 GRAVE F2 5 */ | |
153 | 0x02090042 0x03010029 0x0302003c 0x03030006 | |
154 | /* F5 6 - \ */ | |
155 | 0x0304003f 0x03060007 0x0308000c 0x030b002b | |
156 | /* R_CTRL A D F */ | |
157 | 0x04000061 0x0401001e 0x04020020 0x04030021 | |
158 | /* S K J ; */ | |
159 | 0x0404001f 0x04050025 0x04060024 0x04080027 | |
160 | /* L ENTER Z C */ | |
161 | 0x04090026 0x040b001c 0x0501002c 0x0502002e | |
162 | /* V X , M */ | |
163 | 0x0503002f 0x0504002d 0x05050033 0x05060032 | |
164 | /* L_SHIFT / . SPACE */ | |
165 | 0x0507002a 0x05080035 0x05090034 0x050B0039 | |
166 | /* 1 3 4 2 */ | |
167 | 0x06010002 0x06020004 0x06030005 0x06040003 | |
168 | /* 8 7 0 9 */ | |
169 | 0x06050009 0x06060008 0x0608000b 0x0609000a | |
170 | /* L_ALT DOWN RIGHT Q */ | |
171 | 0x060a0038 0x060b006c 0x060c006a 0x07010010 | |
172 | /* E R W I */ | |
173 | 0x07020012 0x07030013 0x07040011 0x07050017 | |
174 | /* U R_SHIFT P O */ | |
175 | 0x07060016 0x07070036 0x07080019 0x07090018 | |
176 | /* UP LEFT */ | |
177 | 0x070b0067 0x070c0069>; | |
178 | }; | |
2881e533 | 179 | }; |