]> git.sur5r.net Git - u-boot/blob - arch/x86/dts/chromebook_link.dts
arm: socfpga: set the mpuclk divider in the Altera group register
[u-boot] / arch / x86 / dts / chromebook_link.dts
1 /dts-v1/;
2
3 #include <dt-bindings/gpio/x86-gpio.h>
4
5 /include/ "skeleton.dtsi"
6 /include/ "keyboard.dtsi"
7 /include/ "serial.dtsi"
8 /include/ "rtc.dtsi"
9 /include/ "tsc_timer.dtsi"
10 /include/ "coreboot_fb.dtsi"
11
12 / {
13         model = "Google Link";
14         compatible = "google,link", "intel,celeron-ivybridge";
15
16         aliases {
17                 spi0 = &spi;
18                 usb0 = &usb_0;
19                 usb1 = &usb_1;
20         };
21
22         config {
23                silent_console = <0>;
24         };
25
26         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
60         chosen {
61                 stdout-path = "/serial";
62         };
63
64         keyboard {
65                 intel,duplicate-por;
66         };
67
68         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
221         pci {
222                 compatible = "pci-x86";
223                 #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>;
229
230                 northbridge@0,0 {
231                         reg = <0x00000000 0 0 0 0>;
232                         compatible = "intel,bd82x6x-northbridge";
233                         board-id-gpios = <&gpio_b 9 0>, <&gpio_b 10 0>,
234                                         <&gpio_b 11 0>, <&gpio_a 10 0>;
235                         u-boot,dm-pre-reloc;
236                         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                         };
345                 };
346
347                 gma@2,0 {
348                         reg = <0x00001000 0 0 0 0>;
349                         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
361                 me@16,0 {
362                         reg = <0x0000b000 0 0 0 0>;
363                         compatible = "intel,me";
364                         u-boot,dm-pre-reloc;
365                 };
366
367                 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
377                 pch@1f,0 {
378                         reg = <0x0000f800 0 0 0 0>;
379                         compatible = "intel,bd82x6x", "intel,pch9";
380                         u-boot,dm-pre-reloc;
381                         #address-cells = <1>;
382                         #size-cells = <1>;
383                         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>;
389
390                         spi: spi {
391                                 #address-cells = <1>;
392                                 #size-cells = <0>;
393                                 compatible = "intel,ich9-spi";
394                                 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>;
404                                         };
405                                 };
406                         };
407
408                         gpio_a: gpioa {
409                                 compatible = "intel,ich6-gpio";
410                                 u-boot,dm-pre-reloc;
411                                 #gpio-cells = <2>;
412                                 gpio-controller;
413                                 reg = <0 0x10>;
414                                 bank-name = "A";
415                         };
416
417                         gpio_b: gpiob {
418                                 compatible = "intel,ich6-gpio";
419                                 u-boot,dm-pre-reloc;
420                                 #gpio-cells = <2>;
421                                 gpio-controller;
422                                 reg = <0x30 0x10>;
423                                 bank-name = "B";
424                         };
425
426                         gpio_c: gpioc {
427                                 compatible = "intel,ich6-gpio";
428                                 u-boot,dm-pre-reloc;
429                                 #gpio-cells = <2>;
430                                 gpio-controller;
431                                 reg = <0x40 0x10>;
432                                 bank-name = "C";
433                         };
434
435                         lpc {
436                                 compatible = "intel,bd82x6x-lpc";
437                                 #address-cells = <1>;
438                                 #size-cells = <0>;
439                                 u-boot,dm-pre-reloc;
440                                 intel,gen-dec = <0x800 0xfc 0x900 0xfc>;
441                                 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                                         };
455                                 };
456                         };
457                 };
458
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                 };
467
468                 smbus: smbus@1f,3 {
469                         compatible = "intel,ich-i2c";
470                         reg = <0x0000fb00 0 0 0 0>;
471                         u-boot,dm-pre-reloc;
472                 };
473         };
474
475         tpm {
476                 reg = <0xfed40000 0x5000>;
477                 compatible = "infineon,slb9635lpc";
478         };
479
480         microcode {
481                 update@0 {
482 #include "microcode/m12306a9_0000001b.dtsi"
483                 };
484         };
485
486 };