blob: a424f6b93f5d562f543cfd164b5c72eb503c5ac3 [file] [log] [blame]
Simon Glass791f61b2012-12-03 13:56:51 +00001/dts-v1/;
2
Simon Glass7be7f3e2016-03-11 22:07:12 -07003#include <dt-bindings/gpio/x86-gpio.h>
4
Bin Mengaea05d82014-12-24 13:06:39 +08005/include/ "skeleton.dtsi"
Simon Glass3356cad2015-11-11 10:05:43 -07006/include/ "keyboard.dtsi"
Bin Meng82db36c2014-12-24 13:06:38 +08007/include/ "serial.dtsi"
Bin Meng770fd332015-07-15 16:23:39 +08008/include/ "rtc.dtsi"
Bin Meng38de0202015-11-13 00:11:22 -08009/include/ "tsc_timer.dtsi"
Simon Glass791f61b2012-12-03 13:56:51 +000010
11/ {
Simon Glass791f61b2012-12-03 13:56:51 +000012 model = "Google Link";
13 compatible = "google,link", "intel,celeron-ivybridge";
14
Simon Glass7f9f6a92015-01-19 22:16:13 -070015 aliases {
Bin Meng4f8d4e92016-01-27 00:56:34 -080016 spi0 = &spi;
Simon Glass74a9e6a2016-01-17 16:11:55 -070017 usb0 = &usb_0;
18 usb1 = &usb_1;
Simon Glass7f9f6a92015-01-19 22:16:13 -070019 };
20
Simon Glass791f61b2012-12-03 13:56:51 +000021 config {
22 silent_console = <0>;
23 };
24
Simon Glassb4974c42016-01-17 16:11:23 -070025 cpus {
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 cpu@0 {
30 device_type = "cpu";
31 compatible = "intel,core-gen3";
32 reg = <0>;
33 intel,apic-id = <0>;
34 };
35
36 cpu@1 {
37 device_type = "cpu";
38 compatible = "intel,core-gen3";
39 reg = <1>;
40 intel,apic-id = <1>;
41 };
42
43 cpu@2 {
44 device_type = "cpu";
45 compatible = "intel,core-gen3";
46 reg = <2>;
47 intel,apic-id = <2>;
48 };
49
50 cpu@3 {
51 device_type = "cpu";
52 compatible = "intel,core-gen3";
53 reg = <3>;
54 intel,apic-id = <3>;
55 };
56
57 };
58
Bin Mengaea05d82014-12-24 13:06:39 +080059 chosen {
60 stdout-path = "/serial";
Simon Glass791f61b2012-12-03 13:56:51 +000061 };
62
Simon Glass3356cad2015-11-11 10:05:43 -070063 keyboard {
64 intel,duplicate-por;
65 };
66
Simon Glass7be7f3e2016-03-11 22:07:12 -070067 pch_pinctrl {
68 compatible = "intel,x86-pinctrl";
69 u-boot,dm-pre-reloc;
70 reg = <0 0>;
71
72 gpio_a0 {
73 gpio-offset = <0 0>;
74 mode-gpio;
75 direction = <PIN_INPUT>;
76 };
77
78 gpio_a1 {
79 gpio-offset = <0>;
80 mode-gpio;
81 direction = <PIN_OUTPUT>;
82 output-value = <1>;
83 };
84
85 gpio_a3 {
86 gpio-offset = <0 3>;
87 mode-gpio;
88 direction = <PIN_INPUT>;
89 };
90
91 gpio_a5 {
92 gpio-offset = <0 5>;
93 mode-gpio;
94 direction = <PIN_INPUT>;
95 };
96
97 gpio_a6 {
98 gpio-offset = <0 6>;
99 mode-gpio;
100 direction = <PIN_OUTPUT>;
101 output-value = <1>;
102 };
103
104 gpio_a7 {
105 gpio-offset = <0 7>;
106 mode-gpio;
107 direction = <PIN_INPUT>;
108 invert;
109 };
110
111 gpio_a8 {
112 gpio-offset = <0 8>;
113 mode-gpio;
114 direction = <PIN_INPUT>;
115 invert;
116 };
117
118 gpio_a9 {
119 gpio-offset = <0 9>;
120 mode-gpio;
121 direction = <PIN_INPUT>;
122 };
123
124 gpio_a10 {
125 u-boot,dm-pre-reloc;
126 gpio-offset = <0 10>;
127 mode-gpio;
128 direction = <PIN_INPUT>;
129 };
130
131 gpio_a11 {
132 gpio-offset = <0 11>;
133 mode-gpio;
134 direction = <PIN_INPUT>;
135 };
136
137 gpio_a12 {
138 gpio-offset = <0 12>;
139 mode-gpio;
140 direction = <PIN_INPUT>;
141 invert;
142 };
143
144 gpio_a14 {
145 gpio-offset = <0 14>;
146 mode-gpio;
147 direction = <PIN_INPUT>;
148 invert;
149 };
150
151 gpio_a15 {
152 gpio-offset = <0 15>;
153 mode-gpio;
154 direction = <PIN_INPUT>;
155 invert;
156 };
157
158 gpio_a21 {
159 gpio-offset = <0 21>;
160 mode-gpio;
161 direction = <PIN_INPUT>;
162 };
163
164 gpio_a24 {
165 gpio-offset = <0 24>;
166 mode-gpio;
167 output-value = <0>;
168 direction = <PIN_OUTPUT>;
169 };
170
171 gpio_a28 {
172 gpio-offset = <0 28>;
173 mode-gpio;
174 direction = <PIN_INPUT>;
175 };
176
177 gpio_b4 {
178 gpio-offset = <0x30 4>;
179 mode-gpio;
180 direction = <PIN_OUTPUT>;
181 output-value = <1>;
182 };
183
184 gpio_b9 {
185 u-boot,dm-pre-reloc;
186 gpio-offset = <0x30 9>;
187 mode-gpio;
188 direction = <PIN_INPUT>;
189 };
190
191 gpio_b10 {
192 u-boot,dm-pre-reloc;
193 gpio-offset = <0x30 10>;
194 mode-gpio;
195 direction = <PIN_INPUT>;
196 };
197
198 gpio_b11 {
199 u-boot,dm-pre-reloc;
200 gpio-offset = <0x30 11>;
201 mode-gpio;
202 direction = <PIN_INPUT>;
203 };
204
205 gpio_b25 {
206 gpio-offset = <0x30 25>;
207 mode-gpio;
208 direction = <PIN_INPUT>;
209 };
210
211 gpio_b28 {
212 gpio-offset = <0x30 28>;
213 mode-gpio;
214 direction = <PIN_OUTPUT>;
215 output-value = <1>;
216 };
217
218 };
219
Simon Glasseec39ba2014-11-14 18:18:36 -0700220 pci {
Simon Glass582075c2016-01-17 16:11:41 -0700221 compatible = "pci-x86";
Simon Glass3da658a2015-03-05 12:25:32 -0700222 #address-cells = <3>;
223 #size-cells = <2>;
224 u-boot,dm-pre-reloc;
225 ranges = <0x02000000 0x0 0xe0000000 0xe0000000 0 0x10000000
226 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
227 0x01000000 0x0 0x1000 0x1000 0 0xefff>;
Simon Glass061e9ea2016-01-17 16:11:15 -0700228
229 northbridge@0,0 {
230 reg = <0x00000000 0 0 0 0>;
231 compatible = "intel,bd82x6x-northbridge";
Simon Glassed5652c2016-03-06 19:28:12 -0700232 board-id-gpios = <&gpio_b 9 0>, <&gpio_b 10 0>,
233 <&gpio_b 11 0>, <&gpio_a 10 0>;
Simon Glass061e9ea2016-01-17 16:11:15 -0700234 u-boot,dm-pre-reloc;
Simon Glassd7729f82016-03-06 19:28:11 -0700235 spd {
236 compatible = "memory-spd";
237 #address-cells = <1>;
238 #size-cells = <0>;
239 elpida_4Gb_1600_x16 {
240 reg = <0>;
241 data = [92 10 0b 03 04 19 02 02
242 03 52 01 08 0a 00 fe 00
243 69 78 69 3c 69 11 18 81
244 20 08 3c 3c 01 40 83 81
245 00 00 00 00 00 00 00 00
246 00 00 00 00 00 00 00 00
247 00 00 00 00 00 00 00 00
248 00 00 00 00 0f 11 42 00
249 00 00 00 00 00 00 00 00
250 00 00 00 00 00 00 00 00
251 00 00 00 00 00 00 00 00
252 00 00 00 00 00 00 00 00
253 00 00 00 00 00 00 00 00
254 00 00 00 00 00 00 00 00
255 00 00 00 00 00 02 fe 00
256 11 52 00 00 00 07 7f 37
257 45 42 4a 32 30 55 47 36
258 45 42 55 30 2d 47 4e 2d
259 46 20 30 20 02 fe 00 00
260 00 00 00 00 00 00 00 00
261 00 00 00 00 00 00 00 00
262 00 00 00 00 00 00 00 00
263 00 00 00 00 00 00 00 00
264 00 00 00 00 00 00 00 00
265 00 00 00 00 00 00 00 00
266 00 00 00 00 00 00 00 00
267 00 00 00 00 00 00 00 00
268 00 00 00 00 00 00 00 00
269 00 00 00 00 00 00 00 00
270 00 00 00 00 00 00 00 00
271 00 00 00 00 00 00 00 00
272 00 00 00 00 00 00 00 00];
273 };
274 samsung_4Gb_1600_1.35v_x16 {
275 reg = <1>;
276 data = [92 11 0b 03 04 19 02 02
277 03 11 01 08 0a 00 fe 00
278 69 78 69 3c 69 11 18 81
279 f0 0a 3c 3c 01 40 83 01
280 00 80 00 00 00 00 00 00
281 00 00 00 00 00 00 00 00
282 00 00 00 00 00 00 00 00
283 00 00 00 00 0f 11 02 00
284 00 00 00 00 00 00 00 00
285 00 00 00 00 00 00 00 00
286 00 00 00 00 00 00 00 00
287 00 00 00 00 00 00 00 00
288 00 00 00 00 00 00 00 00
289 00 00 00 00 00 00 00 00
290 00 00 00 00 00 80 ce 01
291 00 00 00 00 00 00 6a 04
292 4d 34 37 31 42 35 36 37
293 34 42 48 30 2d 59 4b 30
294 20 20 00 00 80 ce 00 00
295 00 00 00 00 00 00 00 00
296 00 00 00 00 00 00 00 00
297 00 00 00 00 00 00 00 00
298 00 00 00 00 00 00 00 00
299 00 00 00 00 00 00 00 00
300 00 00 00 00 00 00 00 00
301 00 00 00 00 00 00 00 00
302 00 00 00 00 00 00 00 00
303 00 00 00 00 00 00 00 00
304 00 00 00 00 00 00 00 00
305 00 00 00 00 00 00 00 00
306 00 00 00 00 00 00 00 00
307 00 00 00 00 00 00 00 00];
308 };
309 micron_4Gb_1600_1.35v_x16 {
310 reg = <2>;
311 data = [92 11 0b 03 04 19 02 02
312 03 11 01 08 0a 00 fe 00
313 69 78 69 3c 69 11 18 81
314 20 08 3c 3c 01 40 83 05
315 00 00 00 00 00 00 00 00
316 00 00 00 00 00 00 00 00
317 00 00 00 00 00 00 00 00
318 00 00 00 00 0f 01 02 00
319 00 00 00 00 00 00 00 00
320 00 00 00 00 00 00 00 00
321 00 00 00 00 00 00 00 00
322 00 00 00 00 00 00 00 00
323 00 00 00 00 00 00 00 00
324 00 00 00 00 00 00 00 00
325 00 00 00 00 00 80 2c 00
326 00 00 00 00 00 00 ad 75
327 34 4b 54 46 32 35 36 36
328 34 48 5a 2d 31 47 36 45
329 31 20 45 31 80 2c 00 00
330 00 00 00 00 00 00 00 00
331 00 00 00 00 00 00 00 00
332 00 00 00 00 00 00 00 00
333 ff ff ff ff ff ff ff ff
334 ff ff ff ff ff ff ff ff
335 ff ff ff ff ff ff ff ff
336 ff ff ff ff ff ff ff ff
337 ff ff ff ff ff ff ff ff
338 ff ff ff ff ff ff ff ff
339 ff ff ff ff ff ff ff ff
340 ff ff ff ff ff ff ff ff
341 ff ff ff ff ff ff ff ff
342 ff ff ff ff ff ff ff ff];
343 };
344 };
Simon Glass061e9ea2016-01-17 16:11:15 -0700345 };
346
Simon Glassa75abeb2016-01-17 16:11:59 -0700347 gma@2,0 {
348 reg = <0x00001000 0 0 0 0>;
Simon Glass85ff0b12014-11-14 20:56:37 -0700349 compatible = "intel,gma";
350 intel,dp_hotplug = <0 0 0x06>;
351 intel,panel-port-select = <1>;
352 intel,panel-power-cycle-delay = <6>;
353 intel,panel-power-up-delay = <2000>;
354 intel,panel-power-down-delay = <500>;
355 intel,panel-power-backlight-on-delay = <2000>;
356 intel,panel-power-backlight-off-delay = <2000>;
357 intel,cpu-backlight = <0x00000200>;
358 intel,pch-backlight = <0x04000000>;
359 };
360
Simon Glass37a91ff2016-01-17 16:11:50 -0700361 me@16,0 {
362 reg = <0x0000b000 0 0 0 0>;
363 compatible = "intel,me";
364 u-boot,dm-pre-reloc;
365 };
366
Simon Glass74a9e6a2016-01-17 16:11:55 -0700367 usb_1: usb@1a,0 {
368 reg = <0x0000d000 0 0 0 0>;
369 compatible = "ehci-pci";
370 };
371
372 usb_0: usb@1d,0 {
373 reg = <0x0000e800 0 0 0 0>;
374 compatible = "ehci-pci";
375 };
376
Simon Glass32761632016-01-18 20:19:21 -0700377 pch@1f,0 {
Simon Glasse0e7b362015-03-05 12:25:33 -0700378 reg = <0x0000f800 0 0 0 0>;
Simon Glass32761632016-01-18 20:19:21 -0700379 compatible = "intel,bd82x6x", "intel,pch9";
Simon Glass06e694f2015-03-26 09:29:29 -0600380 u-boot,dm-pre-reloc;
Simon Glasse4e56272014-10-10 07:30:13 -0600381 #address-cells = <1>;
382 #size-cells = <1>;
Simon Glassc1fd69e2014-11-14 18:18:37 -0700383 intel,pirq-routing = <0x8b 0x8a 0x8b 0x8b
384 0x80 0x80 0x80 0x80>;
385 intel,gpi-routing = <0 0 0 0 0 0 0 2
386 1 0 0 0 0 0 0 0>;
387 /* Enable EC SMI source */
388 intel,alt-gp-smi-enable = <0x0100>;
Simon Glass32761632016-01-18 20:19:21 -0700389
Bin Meng4f8d4e92016-01-27 00:56:34 -0800390 spi: spi {
Simon Glass06e694f2015-03-26 09:29:29 -0600391 #address-cells = <1>;
392 #size-cells = <0>;
Bin Mengd9406672016-02-01 01:40:37 -0800393 compatible = "intel,ich9-spi";
Simon Glass06e694f2015-03-26 09:29:29 -0600394 spi-flash@0 {
395 #size-cells = <1>;
396 #address-cells = <1>;
397 reg = <0>;
398 compatible = "winbond,w25q64",
399 "spi-flash";
400 memory-map = <0xff800000 0x00800000>;
401 rw-mrc-cache {
402 label = "rw-mrc-cache";
403 reg = <0x003e0000 0x00010000>;
Simon Glass06e694f2015-03-26 09:29:29 -0600404 };
405 };
406 };
Simon Glasseec39ba2014-11-14 18:18:36 -0700407
Simon Glass8a307ee2016-03-06 19:28:10 -0700408 gpio_a: gpioa {
Bin Meng6e916cc2016-02-01 01:40:47 -0800409 compatible = "intel,ich6-gpio";
410 u-boot,dm-pre-reloc;
Simon Glass8a307ee2016-03-06 19:28:10 -0700411 #gpio-cells = <2>;
412 gpio-controller;
Bin Meng6e916cc2016-02-01 01:40:47 -0800413 reg = <0 0x10>;
414 bank-name = "A";
415 };
416
Simon Glass8a307ee2016-03-06 19:28:10 -0700417 gpio_b: gpiob {
Bin Meng6e916cc2016-02-01 01:40:47 -0800418 compatible = "intel,ich6-gpio";
419 u-boot,dm-pre-reloc;
Simon Glass8a307ee2016-03-06 19:28:10 -0700420 #gpio-cells = <2>;
421 gpio-controller;
Bin Meng6e916cc2016-02-01 01:40:47 -0800422 reg = <0x30 0x10>;
423 bank-name = "B";
424 };
425
Simon Glass8a307ee2016-03-06 19:28:10 -0700426 gpio_c: gpioc {
Bin Meng6e916cc2016-02-01 01:40:47 -0800427 compatible = "intel,ich6-gpio";
428 u-boot,dm-pre-reloc;
Simon Glass8a307ee2016-03-06 19:28:10 -0700429 #gpio-cells = <2>;
430 gpio-controller;
Bin Meng6e916cc2016-02-01 01:40:47 -0800431 reg = <0x40 0x10>;
432 bank-name = "C";
433 };
434
Simon Glass06e694f2015-03-26 09:29:29 -0600435 lpc {
436 compatible = "intel,bd82x6x-lpc";
Simon Glasseec39ba2014-11-14 18:18:36 -0700437 #address-cells = <1>;
Simon Glass06e694f2015-03-26 09:29:29 -0600438 #size-cells = <0>;
Simon Glass044f1a02016-01-17 16:11:10 -0700439 u-boot,dm-pre-reloc;
Simon Glass62b37172016-01-17 16:11:11 -0700440 intel,gen-dec = <0x800 0xfc 0x900 0xfc>;
Simon Glass06e694f2015-03-26 09:29:29 -0600441 cros-ec@200 {
442 compatible = "google,cros-ec";
443 reg = <0x204 1 0x200 1 0x880 0x80>;
444
445 /*
446 * Describes the flash memory within
447 * the EC
448 */
449 #address-cells = <1>;
450 #size-cells = <1>;
451 flash@8000000 {
452 reg = <0x08000000 0x20000>;
453 erase-value = <0xff>;
454 };
Simon Glasseec39ba2014-11-14 18:18:36 -0700455 };
Simon Glasse4e56272014-10-10 07:30:13 -0600456 };
457 };
Simon Glass5cc400b2016-01-17 16:11:35 -0700458
459 sata@1f,2 {
460 compatible = "intel,pantherpoint-ahci";
461 reg = <0x0000fa00 0 0 0 0>;
462 u-boot,dm-pre-reloc;
463 intel,sata-mode = "ahci";
464 intel,sata-port-map = <1>;
465 intel,sata-port0-gen3-tx = <0x00880a7f>;
466 };
Simon Glass9afcd962016-01-17 16:11:45 -0700467
468 smbus: smbus@1f,3 {
469 compatible = "intel,ich-i2c";
470 reg = <0x0000fb00 0 0 0 0>;
471 u-boot,dm-pre-reloc;
472 };
Simon Glasse4e56272014-10-10 07:30:13 -0600473 };
Simon Glass0c84eec2014-11-12 22:42:22 -0700474
Simon Glass11328532015-08-22 18:31:37 -0600475 tpm {
476 reg = <0xfed40000 0x5000>;
477 compatible = "infineon,slb9635lpc";
478 };
479
Simon Glass0c84eec2014-11-12 22:42:22 -0700480 microcode {
481 update@0 {
Simon Glass44679e72014-12-15 22:02:40 -0700482#include "microcode/m12306a9_0000001b.dtsi"
Simon Glass0c84eec2014-11-12 22:42:22 -0700483 };
484 };
485
Simon Glass791f61b2012-12-03 13:56:51 +0000486};