blob: bac501516fd257861f69c2b645553d0f2f920a33 [file] [log] [blame]
Rajeshwari Shinde2881e532013-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/;
Simon Glass2fdd7d92014-10-20 19:48:29 -060013#include "exynos5250.dtsi"
Rajeshwari Shinde2881e532013-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 Glassb2f79412013-05-10 20:24:00 -070033 mmc0 = "/mmc@12200000";
34 mmc1 = "/mmc@12210000";
35 mmc2 = "/mmc@12220000";
36 mmc3 = "/mmc@12230000";
Rajeshwari Shinde4603e8c2013-06-24 16:47:21 +053037 serial0 = "/serial@12C30000";
38 console = "/serial@12C30000";
Dani Krishna Mohanb7006a72013-09-11 16:38:47 +053039 i2s = "/sound@3830000";
Rajeshwari Shinde2881e532013-02-28 01:40:41 +000040 };
41
Hung-ying Tyan60744a12013-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>;
Simon Glass63e62672014-05-20 06:01:32 -060047 ec-interrupt = <&gpio 182 1>;
Hung-ying Tyan60744a12013-05-15 18:27:33 +080048 };
49
50 power-regulator@48 {
51 compatible = "ti,tps65090";
52 reg = <0x48>;
53 };
54 };
55
Simon Glass73186c92014-10-13 23:42:01 -060056 spi@12d30000 {
57 spi-max-frequency = <50000000>;
58 firmware_storage_spi: flash@0 {
59 compatible = "spi-flash";
60 reg = <0>;
61 };
62 };
63
Hung-ying Tyan60744a12013-05-15 18:27:33 +080064 spi@131b0000 {
65 spi-max-frequency = <1000000>;
66 spi-deactivate-delay = <100>;
Sjoerd Simons93322742014-11-27 16:34:08 +010067 cros_ec: cros-ec@0 {
Hung-ying Tyan60744a12013-05-15 18:27:33 +080068 reg = <0>;
69 compatible = "google,cros-ec";
70 spi-max-frequency = <5000000>;
Simon Glass63e62672014-05-20 06:01:32 -060071 ec-interrupt = <&gpio 182 1>;
Hung-ying Tyan60744a12013-05-15 18:27:33 +080072 optimise-flash-write;
73 status = "disabled";
74 };
75 };
76
Dani Krishna Mohanb7006a72013-09-11 16:38:47 +053077 sound@3830000 {
Rajeshwari Shinde2881e532013-02-28 01:40:41 +000078 samsung,codec-type = "max98095";
Dani Krishna Mohanb7006a72013-09-11 16:38:47 +053079 codec-enable-gpio = <&gpio 0xb7 0>;
Rajeshwari Shinde2881e532013-02-28 01:40:41 +000080 };
81
Wolfgang Denk93e14592013-10-04 17:43:24 +020082 sound@12d60000 {
83 status = "disabled";
84 };
Dani Krishna Mohanb7006a72013-09-11 16:38:47 +053085
Rajeshwari Shinde2881e532013-02-28 01:40:41 +000086 i2c@12cd0000 {
87 soundcodec@22 {
88 reg = <0x22>;
89 compatible = "maxim,max98095-codec";
90 };
Simon Glass14ccc302014-05-20 06:01:41 -060091
92 ptn3460-bridge@20 {
93 compatible = "nxp,ptn3460";
94 reg = <0x20>;
95 /*
96 * TODO(sjg@chromium.org): Use GPIOs here
97 * powerdown-gpio = <&gpy2 5 0>;
98 * reset-gpio = <&gpx1 5 0>;
99 * edid-emulation = <5>;
100 * pinctrl-names = "default";
101 * pinctrl-0 = <&ptn3460_gpios>;
102 */
103 };
Rajeshwari Shinde2881e532013-02-28 01:40:41 +0000104 };
105
106 i2c@12c60000 {
107 pmic@9 {
108 reg = <0x9>;
109 compatible = "maxim,max77686_pmic";
110 };
111 };
Simon Glassf2e8a872013-04-13 04:26:42 +0000112
Simon Glassb2f79412013-05-10 20:24:00 -0700113 mmc@12200000 {
114 samsung,bus-width = <8>;
115 samsung,timing = <1 3 3>;
116 samsung,removable = <0>;
117 };
118
119 mmc@12210000 {
120 status = "disabled";
121 };
122
123 mmc@12220000 {
124 samsung,bus-width = <4>;
125 samsung,timing = <1 2 3>;
126 samsung,removable = <1>;
127 };
128
129 mmc@12230000 {
130 status = "disabled";
131 };
132
Julius Wernerec89e0a2013-09-14 14:02:53 +0530133 ehci@12110000 {
Sjoerd Simonsc2056152014-11-06 11:44:31 +0100134 samsung,vbus-gpio = <&gpio 0xb1 0>; /* X11 */
Julius Wernerec89e0a2013-09-14 14:02:53 +0530135 };
136
137 xhci@12000000 {
Sjoerd Simonsc2056152014-11-06 11:44:31 +0100138 samsung,vbus-gpio = <&gpio 0xbf 0>; /* X27 */
Julius Wernerec89e0a2013-09-14 14:02:53 +0530139 };
140
Simon Glassf2e8a872013-04-13 04:26:42 +0000141 tmu@10060000 {
142 samsung,min-temp = <25>;
143 samsung,max-temp = <125>;
144 samsung,start-warning = <95>;
145 samsung,start-tripping = <105>;
146 samsung,hw-tripping = <110>;
147 samsung,efuse-min-value = <40>;
148 samsung,efuse-value = <55>;
149 samsung,efuse-max-value = <100>;
150 samsung,slope = <274761730>;
151 samsung,dc-value = <25>;
152 };
153
Simon Glass14ccc302014-05-20 06:01:41 -0600154 fimd@14400000 {
155 samsung,vl-freq = <60>;
156 samsung,vl-col = <1366>;
157 samsung,vl-row = <768>;
158 samsung,vl-width = <1366>;
159 samsung,vl-height = <768>;
160
161 samsung,vl-clkp;
162 samsung,vl-dp;
163 samsung,vl-hsp;
164 samsung,vl-vsp;
165
166 samsung,vl-bpix = <4>;
167
168 samsung,vl-hspw = <32>;
169 samsung,vl-hbpd = <80>;
170 samsung,vl-hfpd = <48>;
171 samsung,vl-vspw = <5>;
172 samsung,vl-vbpd = <14>;
173 samsung,vl-vfpd = <3>;
174 samsung,vl-cmd-allow-len = <0xf>;
175
176 samsung,winid = <0>;
177 samsung,interface-mode = <1>;
178 samsung,dp-enabled = <1>;
179 samsung,dual-lcd-enabled = <0>;
180 };
181
182 dp@145b0000 {
183 samsung,lt-status = <0>;
184
185 samsung,master-mode = <0>;
186 samsung,bist-mode = <0>;
187 samsung,bist-pattern = <0>;
188 samsung,h-sync-polarity = <0>;
189 samsung,v-sync-polarity = <0>;
190 samsung,interlaced = <0>;
191 samsung,color-space = <0>;
192 samsung,dynamic-range = <0>;
193 samsung,ycbcr-coeff = <0>;
194 samsung,color-depth = <1>;
195 };
196
Rajeshwari Shinde2881e532013-02-28 01:40:41 +0000197};
Sjoerd Simons93322742014-11-27 16:34:08 +0100198
199#include "cros-ec-keyboard.dtsi"