blob: 7d8be69d73b7d14c522451bcf9ad552e4a74a97e [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 Glassbd768262015-01-26 20:29:38 -070047 u-boot,i2c-offset-len = <0>;
Simon Glass6f755eb2015-01-05 20:05:42 -070048 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
Hung-ying Tyan60744a12013-05-15 18:27:33 +080049 };
50
51 power-regulator@48 {
52 compatible = "ti,tps65090";
53 reg = <0x48>;
54 };
55 };
56
Simon Glass73186c92014-10-13 23:42:01 -060057 spi@12d30000 {
58 spi-max-frequency = <50000000>;
59 firmware_storage_spi: flash@0 {
60 compatible = "spi-flash";
61 reg = <0>;
62 };
63 };
64
Hung-ying Tyan60744a12013-05-15 18:27:33 +080065 spi@131b0000 {
66 spi-max-frequency = <1000000>;
67 spi-deactivate-delay = <100>;
Sjoerd Simons93322742014-11-27 16:34:08 +010068 cros_ec: cros-ec@0 {
Hung-ying Tyan60744a12013-05-15 18:27:33 +080069 reg = <0>;
70 compatible = "google,cros-ec";
71 spi-max-frequency = <5000000>;
Simon Glass6f755eb2015-01-05 20:05:42 -070072 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
Hung-ying Tyan60744a12013-05-15 18:27:33 +080073 optimise-flash-write;
74 status = "disabled";
75 };
76 };
77
Dani Krishna Mohanb7006a72013-09-11 16:38:47 +053078 sound@3830000 {
Rajeshwari Shinde2881e532013-02-28 01:40:41 +000079 samsung,codec-type = "max98095";
Simon Glass6f755eb2015-01-05 20:05:42 -070080 codec-enable-gpio = <&gpx1 7 GPIO_ACTIVE_HIGH>;
Rajeshwari Shinde2881e532013-02-28 01:40:41 +000081 };
82
Wolfgang Denk93e14592013-10-04 17:43:24 +020083 sound@12d60000 {
84 status = "disabled";
85 };
Dani Krishna Mohanb7006a72013-09-11 16:38:47 +053086
Rajeshwari Shinde2881e532013-02-28 01:40:41 +000087 i2c@12cd0000 {
88 soundcodec@22 {
89 reg = <0x22>;
90 compatible = "maxim,max98095-codec";
91 };
Simon Glass14ccc302014-05-20 06:01:41 -060092
93 ptn3460-bridge@20 {
94 compatible = "nxp,ptn3460";
95 reg = <0x20>;
96 /*
97 * TODO(sjg@chromium.org): Use GPIOs here
98 * powerdown-gpio = <&gpy2 5 0>;
99 * reset-gpio = <&gpx1 5 0>;
100 * edid-emulation = <5>;
101 * pinctrl-names = "default";
102 * pinctrl-0 = <&ptn3460_gpios>;
103 */
104 };
Rajeshwari Shinde2881e532013-02-28 01:40:41 +0000105 };
106
107 i2c@12c60000 {
108 pmic@9 {
109 reg = <0x9>;
110 compatible = "maxim,max77686_pmic";
111 };
112 };
Simon Glassf2e8a872013-04-13 04:26:42 +0000113
Simon Glassb2f79412013-05-10 20:24:00 -0700114 mmc@12200000 {
115 samsung,bus-width = <8>;
116 samsung,timing = <1 3 3>;
117 samsung,removable = <0>;
118 };
119
120 mmc@12210000 {
121 status = "disabled";
122 };
123
124 mmc@12220000 {
125 samsung,bus-width = <4>;
126 samsung,timing = <1 2 3>;
127 samsung,removable = <1>;
128 };
129
130 mmc@12230000 {
131 status = "disabled";
132 };
133
Julius Wernerec89e0a2013-09-14 14:02:53 +0530134 ehci@12110000 {
Simon Glass6f755eb2015-01-05 20:05:42 -0700135 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
Julius Wernerec89e0a2013-09-14 14:02:53 +0530136 };
137
138 xhci@12000000 {
Simon Glass6f755eb2015-01-05 20:05:42 -0700139 samsung,vbus-gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
Julius Wernerec89e0a2013-09-14 14:02:53 +0530140 };
141
Simon Glassf2e8a872013-04-13 04:26:42 +0000142 tmu@10060000 {
143 samsung,min-temp = <25>;
144 samsung,max-temp = <125>;
145 samsung,start-warning = <95>;
146 samsung,start-tripping = <105>;
147 samsung,hw-tripping = <110>;
148 samsung,efuse-min-value = <40>;
149 samsung,efuse-value = <55>;
150 samsung,efuse-max-value = <100>;
151 samsung,slope = <274761730>;
152 samsung,dc-value = <25>;
153 };
154
Simon Glass14ccc302014-05-20 06:01:41 -0600155 fimd@14400000 {
156 samsung,vl-freq = <60>;
157 samsung,vl-col = <1366>;
158 samsung,vl-row = <768>;
159 samsung,vl-width = <1366>;
160 samsung,vl-height = <768>;
161
162 samsung,vl-clkp;
163 samsung,vl-dp;
164 samsung,vl-hsp;
165 samsung,vl-vsp;
166
167 samsung,vl-bpix = <4>;
168
169 samsung,vl-hspw = <32>;
170 samsung,vl-hbpd = <80>;
171 samsung,vl-hfpd = <48>;
172 samsung,vl-vspw = <5>;
173 samsung,vl-vbpd = <14>;
174 samsung,vl-vfpd = <3>;
175 samsung,vl-cmd-allow-len = <0xf>;
176
177 samsung,winid = <0>;
178 samsung,interface-mode = <1>;
179 samsung,dp-enabled = <1>;
180 samsung,dual-lcd-enabled = <0>;
181 };
182
183 dp@145b0000 {
184 samsung,lt-status = <0>;
185
186 samsung,master-mode = <0>;
187 samsung,bist-mode = <0>;
188 samsung,bist-pattern = <0>;
189 samsung,h-sync-polarity = <0>;
190 samsung,v-sync-polarity = <0>;
191 samsung,interlaced = <0>;
192 samsung,color-space = <0>;
193 samsung,dynamic-range = <0>;
194 samsung,ycbcr-coeff = <0>;
195 samsung,color-depth = <1>;
196 };
197
Rajeshwari Shinde2881e532013-02-28 01:40:41 +0000198};
Sjoerd Simons93322742014-11-27 16:34:08 +0100199
200#include "cros-ec-keyboard.dtsi"