blob: 26b9f85a5dae6a4c2e80d1bb1f8891df969b3f94 [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"
Bin Menga4470172016-10-09 04:14:18 -070010/include/ "coreboot_fb.dtsi"
Simon Glass791f61b2012-12-03 13:56:51 +000011
12/ {
Simon Glass791f61b2012-12-03 13:56:51 +000013 model = "Google Link";
14 compatible = "google,link", "intel,celeron-ivybridge";
15
Simon Glass7f9f6a92015-01-19 22:16:13 -070016 aliases {
Bin Meng4f8d4e92016-01-27 00:56:34 -080017 spi0 = &spi;
Simon Glass74a9e6a2016-01-17 16:11:55 -070018 usb0 = &usb_0;
19 usb1 = &usb_1;
Simon Glass7f9f6a92015-01-19 22:16:13 -070020 };
21
Simon Glass791f61b2012-12-03 13:56:51 +000022 config {
23 silent_console = <0>;
24 };
25
Simon Glassb4974c42016-01-17 16:11:23 -070026 cpus {
27 #address-cells = <1>;
28 #size-cells = <0>;
29
30 cpu@0 {
31 device_type = "cpu";
32 compatible = "intel,core-gen3";
33 reg = <0>;
34 intel,apic-id = <0>;
35 };
36
37 cpu@1 {
38 device_type = "cpu";
39 compatible = "intel,core-gen3";
40 reg = <1>;
41 intel,apic-id = <1>;
42 };
43
44 cpu@2 {
45 device_type = "cpu";
46 compatible = "intel,core-gen3";
47 reg = <2>;
48 intel,apic-id = <2>;
49 };
50
51 cpu@3 {
52 device_type = "cpu";
53 compatible = "intel,core-gen3";
54 reg = <3>;
55 intel,apic-id = <3>;
56 };
57
58 };
59
Bin Mengaea05d82014-12-24 13:06:39 +080060 chosen {
61 stdout-path = "/serial";
Simon Glass791f61b2012-12-03 13:56:51 +000062 };
63
Simon Glass3356cad2015-11-11 10:05:43 -070064 keyboard {
65 intel,duplicate-por;
66 };
67
Simon Glass7be7f3e2016-03-11 22:07:12 -070068 pch_pinctrl {
69 compatible = "intel,x86-pinctrl";
70 u-boot,dm-pre-reloc;
71 reg = <0 0>;
72
73 gpio_a0 {
74 gpio-offset = <0 0>;
75 mode-gpio;
76 direction = <PIN_INPUT>;
77 };
78
79 gpio_a1 {
80 gpio-offset = <0>;
81 mode-gpio;
82 direction = <PIN_OUTPUT>;
83 output-value = <1>;
84 };
85
86 gpio_a3 {
87 gpio-offset = <0 3>;
88 mode-gpio;
89 direction = <PIN_INPUT>;
90 };
91
92 gpio_a5 {
93 gpio-offset = <0 5>;
94 mode-gpio;
95 direction = <PIN_INPUT>;
96 };
97
98 gpio_a6 {
99 gpio-offset = <0 6>;
100 mode-gpio;
101 direction = <PIN_OUTPUT>;
102 output-value = <1>;
103 };
104
105 gpio_a7 {
106 gpio-offset = <0 7>;
107 mode-gpio;
108 direction = <PIN_INPUT>;
109 invert;
110 };
111
112 gpio_a8 {
113 gpio-offset = <0 8>;
114 mode-gpio;
115 direction = <PIN_INPUT>;
116 invert;
117 };
118
119 gpio_a9 {
120 gpio-offset = <0 9>;
121 mode-gpio;
122 direction = <PIN_INPUT>;
123 };
124
125 gpio_a10 {
126 u-boot,dm-pre-reloc;
127 gpio-offset = <0 10>;
128 mode-gpio;
129 direction = <PIN_INPUT>;
130 };
131
132 gpio_a11 {
133 gpio-offset = <0 11>;
134 mode-gpio;
135 direction = <PIN_INPUT>;
136 };
137
138 gpio_a12 {
139 gpio-offset = <0 12>;
140 mode-gpio;
141 direction = <PIN_INPUT>;
142 invert;
143 };
144
145 gpio_a14 {
146 gpio-offset = <0 14>;
147 mode-gpio;
148 direction = <PIN_INPUT>;
149 invert;
150 };
151
152 gpio_a15 {
153 gpio-offset = <0 15>;
154 mode-gpio;
155 direction = <PIN_INPUT>;
156 invert;
157 };
158
159 gpio_a21 {
160 gpio-offset = <0 21>;
161 mode-gpio;
162 direction = <PIN_INPUT>;
163 };
164
165 gpio_a24 {
166 gpio-offset = <0 24>;
167 mode-gpio;
168 output-value = <0>;
169 direction = <PIN_OUTPUT>;
170 };
171
172 gpio_a28 {
173 gpio-offset = <0 28>;
174 mode-gpio;
175 direction = <PIN_INPUT>;
176 };
177
178 gpio_b4 {
179 gpio-offset = <0x30 4>;
180 mode-gpio;
181 direction = <PIN_OUTPUT>;
182 output-value = <1>;
183 };
184
185 gpio_b9 {
186 u-boot,dm-pre-reloc;
187 gpio-offset = <0x30 9>;
188 mode-gpio;
189 direction = <PIN_INPUT>;
190 };
191
192 gpio_b10 {
193 u-boot,dm-pre-reloc;
194 gpio-offset = <0x30 10>;
195 mode-gpio;
196 direction = <PIN_INPUT>;
197 };
198
199 gpio_b11 {
200 u-boot,dm-pre-reloc;
201 gpio-offset = <0x30 11>;
202 mode-gpio;
203 direction = <PIN_INPUT>;
204 };
205
206 gpio_b25 {
207 gpio-offset = <0x30 25>;
208 mode-gpio;
209 direction = <PIN_INPUT>;
210 };
211
212 gpio_b28 {
213 gpio-offset = <0x30 28>;
214 mode-gpio;
215 direction = <PIN_OUTPUT>;
216 output-value = <1>;
217 };
218
219 };
220
Simon Glasseec39ba2014-11-14 18:18:36 -0700221 pci {
Simon Glass582075c2016-01-17 16:11:41 -0700222 compatible = "pci-x86";
Simon Glass3da658a2015-03-05 12:25:32 -0700223 #address-cells = <3>;
224 #size-cells = <2>;
225 u-boot,dm-pre-reloc;
226 ranges = <0x02000000 0x0 0xe0000000 0xe0000000 0 0x10000000
227 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
228 0x01000000 0x0 0x1000 0x1000 0 0xefff>;
Simon Glass061e9ea2016-01-17 16:11:15 -0700229
230 northbridge@0,0 {
231 reg = <0x00000000 0 0 0 0>;
Simon Glassfc1e11c2017-01-16 07:04:24 -0700232 u-boot,dm-pre-reloc;
Simon Glass061e9ea2016-01-17 16:11:15 -0700233 compatible = "intel,bd82x6x-northbridge";
Simon Glassed5652c2016-03-06 19:28:12 -0700234 board-id-gpios = <&gpio_b 9 0>, <&gpio_b 10 0>,
235 <&gpio_b 11 0>, <&gpio_a 10 0>;
Simon Glassd7729f82016-03-06 19:28:11 -0700236 spd {
Simon Glassfc1e11c2017-01-16 07:04:24 -0700237 u-boot,dm-pre-reloc;
Simon Glassd7729f82016-03-06 19:28:11 -0700238 #address-cells = <1>;
239 #size-cells = <0>;
240 elpida_4Gb_1600_x16 {
Simon Glassfc1e11c2017-01-16 07:04:24 -0700241 u-boot,dm-pre-reloc;
Simon Glassd7729f82016-03-06 19:28:11 -0700242 reg = <0>;
243 data = [92 10 0b 03 04 19 02 02
244 03 52 01 08 0a 00 fe 00
245 69 78 69 3c 69 11 18 81
246 20 08 3c 3c 01 40 83 81
247 00 00 00 00 00 00 00 00
248 00 00 00 00 00 00 00 00
249 00 00 00 00 00 00 00 00
250 00 00 00 00 0f 11 42 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 00 00 00
256 00 00 00 00 00 00 00 00
257 00 00 00 00 00 02 fe 00
258 11 52 00 00 00 07 7f 37
259 45 42 4a 32 30 55 47 36
260 45 42 55 30 2d 47 4e 2d
261 46 20 30 20 02 fe 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 00 00 00 00 00 00 00 00
274 00 00 00 00 00 00 00 00];
275 };
276 samsung_4Gb_1600_1.35v_x16 {
Simon Glassfc1e11c2017-01-16 07:04:24 -0700277 u-boot,dm-pre-reloc;
Simon Glassd7729f82016-03-06 19:28:11 -0700278 reg = <1>;
279 data = [92 11 0b 03 04 19 02 02
280 03 11 01 08 0a 00 fe 00
281 69 78 69 3c 69 11 18 81
282 f0 0a 3c 3c 01 40 83 01
283 00 80 00 00 00 00 00 00
284 00 00 00 00 00 00 00 00
285 00 00 00 00 00 00 00 00
286 00 00 00 00 0f 11 02 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 00 00 00
291 00 00 00 00 00 00 00 00
292 00 00 00 00 00 00 00 00
293 00 00 00 00 00 80 ce 01
294 00 00 00 00 00 00 6a 04
295 4d 34 37 31 42 35 36 37
296 34 42 48 30 2d 59 4b 30
297 20 20 00 00 80 ce 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 00 00 00 00 00 00 00 00
309 00 00 00 00 00 00 00 00
310 00 00 00 00 00 00 00 00];
311 };
312 micron_4Gb_1600_1.35v_x16 {
313 reg = <2>;
314 data = [92 11 0b 03 04 19 02 02
315 03 11 01 08 0a 00 fe 00
316 69 78 69 3c 69 11 18 81
317 20 08 3c 3c 01 40 83 05
318 00 00 00 00 00 00 00 00
319 00 00 00 00 00 00 00 00
320 00 00 00 00 00 00 00 00
321 00 00 00 00 0f 01 02 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 00 00 00
326 00 00 00 00 00 00 00 00
327 00 00 00 00 00 00 00 00
328 00 00 00 00 00 80 2c 00
329 00 00 00 00 00 00 ad 75
330 34 4b 54 46 32 35 36 36
331 34 48 5a 2d 31 47 36 45
332 31 20 45 31 80 2c 00 00
333 00 00 00 00 00 00 00 00
334 00 00 00 00 00 00 00 00
335 00 00 00 00 00 00 00 00
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 ff ff ff ff ff ff ff ff
344 ff ff ff ff ff ff ff ff
345 ff ff ff ff ff ff ff ff];
346 };
347 };
Simon Glass061e9ea2016-01-17 16:11:15 -0700348 };
349
Simon Glassa75abeb2016-01-17 16:11:59 -0700350 gma@2,0 {
351 reg = <0x00001000 0 0 0 0>;
Simon Glass85ff0b12014-11-14 20:56:37 -0700352 compatible = "intel,gma";
353 intel,dp_hotplug = <0 0 0x06>;
354 intel,panel-port-select = <1>;
355 intel,panel-power-cycle-delay = <6>;
356 intel,panel-power-up-delay = <2000>;
357 intel,panel-power-down-delay = <500>;
358 intel,panel-power-backlight-on-delay = <2000>;
359 intel,panel-power-backlight-off-delay = <2000>;
360 intel,cpu-backlight = <0x00000200>;
361 intel,pch-backlight = <0x04000000>;
362 };
363
Simon Glass37a91ff2016-01-17 16:11:50 -0700364 me@16,0 {
365 reg = <0x0000b000 0 0 0 0>;
366 compatible = "intel,me";
367 u-boot,dm-pre-reloc;
368 };
369
Simon Glass74a9e6a2016-01-17 16:11:55 -0700370 usb_1: usb@1a,0 {
371 reg = <0x0000d000 0 0 0 0>;
372 compatible = "ehci-pci";
373 };
374
375 usb_0: usb@1d,0 {
376 reg = <0x0000e800 0 0 0 0>;
377 compatible = "ehci-pci";
378 };
379
Simon Glass32761632016-01-18 20:19:21 -0700380 pch@1f,0 {
Simon Glasse0e7b362015-03-05 12:25:33 -0700381 reg = <0x0000f800 0 0 0 0>;
Simon Glass32761632016-01-18 20:19:21 -0700382 compatible = "intel,bd82x6x", "intel,pch9";
Simon Glass06e694f2015-03-26 09:29:29 -0600383 u-boot,dm-pre-reloc;
Simon Glasse4e56272014-10-10 07:30:13 -0600384 #address-cells = <1>;
385 #size-cells = <1>;
Simon Glassc1fd69e2014-11-14 18:18:37 -0700386 intel,pirq-routing = <0x8b 0x8a 0x8b 0x8b
387 0x80 0x80 0x80 0x80>;
388 intel,gpi-routing = <0 0 0 0 0 0 0 2
389 1 0 0 0 0 0 0 0>;
390 /* Enable EC SMI source */
391 intel,alt-gp-smi-enable = <0x0100>;
Simon Glass32761632016-01-18 20:19:21 -0700392
Bin Meng4f8d4e92016-01-27 00:56:34 -0800393 spi: spi {
Simon Glass06e694f2015-03-26 09:29:29 -0600394 #address-cells = <1>;
395 #size-cells = <0>;
Bin Mengd9406672016-02-01 01:40:37 -0800396 compatible = "intel,ich9-spi";
Simon Glassfc1e11c2017-01-16 07:04:24 -0700397 u-boot,dm-pre-reloc;
Simon Glass06e694f2015-03-26 09:29:29 -0600398 spi-flash@0 {
399 #size-cells = <1>;
400 #address-cells = <1>;
Simon Glassfc1e11c2017-01-16 07:04:24 -0700401 u-boot,dm-pre-reloc;
Simon Glass06e694f2015-03-26 09:29:29 -0600402 reg = <0>;
403 compatible = "winbond,w25q64",
404 "spi-flash";
405 memory-map = <0xff800000 0x00800000>;
406 rw-mrc-cache {
407 label = "rw-mrc-cache";
408 reg = <0x003e0000 0x00010000>;
Simon Glassfc1e11c2017-01-16 07:04:24 -0700409 u-boot,dm-pre-reloc;
Simon Glass06e694f2015-03-26 09:29:29 -0600410 };
411 };
412 };
Simon Glasseec39ba2014-11-14 18:18:36 -0700413
Simon Glass8a307ee2016-03-06 19:28:10 -0700414 gpio_a: gpioa {
Bin Meng6e916cc2016-02-01 01:40:47 -0800415 compatible = "intel,ich6-gpio";
416 u-boot,dm-pre-reloc;
Simon Glass8a307ee2016-03-06 19:28:10 -0700417 #gpio-cells = <2>;
418 gpio-controller;
Bin Meng6e916cc2016-02-01 01:40:47 -0800419 reg = <0 0x10>;
420 bank-name = "A";
421 };
422
Simon Glass8a307ee2016-03-06 19:28:10 -0700423 gpio_b: gpiob {
Bin Meng6e916cc2016-02-01 01:40:47 -0800424 compatible = "intel,ich6-gpio";
425 u-boot,dm-pre-reloc;
Simon Glass8a307ee2016-03-06 19:28:10 -0700426 #gpio-cells = <2>;
427 gpio-controller;
Bin Meng6e916cc2016-02-01 01:40:47 -0800428 reg = <0x30 0x10>;
429 bank-name = "B";
430 };
431
Simon Glass8a307ee2016-03-06 19:28:10 -0700432 gpio_c: gpioc {
Bin Meng6e916cc2016-02-01 01:40:47 -0800433 compatible = "intel,ich6-gpio";
434 u-boot,dm-pre-reloc;
Simon Glass8a307ee2016-03-06 19:28:10 -0700435 #gpio-cells = <2>;
436 gpio-controller;
Bin Meng6e916cc2016-02-01 01:40:47 -0800437 reg = <0x40 0x10>;
438 bank-name = "C";
439 };
440
Simon Glass06e694f2015-03-26 09:29:29 -0600441 lpc {
442 compatible = "intel,bd82x6x-lpc";
Simon Glasseec39ba2014-11-14 18:18:36 -0700443 #address-cells = <1>;
Simon Glass06e694f2015-03-26 09:29:29 -0600444 #size-cells = <0>;
Simon Glass044f1a02016-01-17 16:11:10 -0700445 u-boot,dm-pre-reloc;
Simon Glass62b37172016-01-17 16:11:11 -0700446 intel,gen-dec = <0x800 0xfc 0x900 0xfc>;
Simon Glass06e694f2015-03-26 09:29:29 -0600447 cros-ec@200 {
448 compatible = "google,cros-ec";
449 reg = <0x204 1 0x200 1 0x880 0x80>;
450
451 /*
452 * Describes the flash memory within
453 * the EC
454 */
455 #address-cells = <1>;
456 #size-cells = <1>;
457 flash@8000000 {
458 reg = <0x08000000 0x20000>;
459 erase-value = <0xff>;
460 };
Simon Glasseec39ba2014-11-14 18:18:36 -0700461 };
Simon Glasse4e56272014-10-10 07:30:13 -0600462 };
463 };
Simon Glass5cc400b2016-01-17 16:11:35 -0700464
465 sata@1f,2 {
466 compatible = "intel,pantherpoint-ahci";
467 reg = <0x0000fa00 0 0 0 0>;
468 u-boot,dm-pre-reloc;
469 intel,sata-mode = "ahci";
470 intel,sata-port-map = <1>;
471 intel,sata-port0-gen3-tx = <0x00880a7f>;
472 };
Simon Glass9afcd962016-01-17 16:11:45 -0700473
474 smbus: smbus@1f,3 {
475 compatible = "intel,ich-i2c";
476 reg = <0x0000fb00 0 0 0 0>;
477 u-boot,dm-pre-reloc;
478 };
Simon Glasse4e56272014-10-10 07:30:13 -0600479 };
Simon Glass0c84eec2014-11-12 22:42:22 -0700480
Simon Glass11328532015-08-22 18:31:37 -0600481 tpm {
482 reg = <0xfed40000 0x5000>;
483 compatible = "infineon,slb9635lpc";
484 };
485
Simon Glass0c84eec2014-11-12 22:42:22 -0700486 microcode {
Simon Glassfc1e11c2017-01-16 07:04:24 -0700487 u-boot,dm-pre-reloc;
Simon Glass0c84eec2014-11-12 22:42:22 -0700488 update@0 {
Simon Glassfc1e11c2017-01-16 07:04:24 -0700489 u-boot,dm-pre-reloc;
Simon Glass44679e72014-12-15 22:02:40 -0700490#include "microcode/m12306a9_0000001b.dtsi"
Simon Glass0c84eec2014-11-12 22:42:22 -0700491 };
492 };
493
Simon Glass791f61b2012-12-03 13:56:51 +0000494};