blob: bd21bfb0b4f0130bd5e759067f536c4c840b9303 [file] [log] [blame]
Simon Glass4a56f102015-01-27 22:13:47 -07001/*
2 * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7/dts-v1/;
8
Gabriel Huauf8135482015-05-25 22:27:37 -07009#include <dt-bindings/gpio/x86-gpio.h>
10
Simon Glass4a56f102015-01-27 22:13:47 -070011/include/ "skeleton.dtsi"
12/include/ "serial.dtsi"
13
14/ {
15 model = "Intel Minnowboard Max";
16 compatible = "intel,minnowmax", "intel,baytrail";
17
18 aliases {
19 serial0 = &serial;
Bin Meng60ccd372015-04-15 12:00:11 +080020 spi0 = "/spi";
Simon Glass4a56f102015-01-27 22:13:47 -070021 };
22
23 config {
24 silent_console = <0>;
25 };
26
Gabriel Huauf8135482015-05-25 22:27:37 -070027 pch_pinctrl {
28 compatible = "intel,x86-pinctrl";
29 io-base = <0x4c>;
30
31 pin_usb_host_en0@0 {
32 gpio-offset = <0x80 8>;
33 pad-offset = <0x260>;
34 mode-gpio;
35 output-value = <1>;
36 direction = <PIN_OUTPUT>;
37 };
38
39 pin_usb_host_en1@0 {
40 gpio-offset = <0x80 9>;
41 pad-offset = <0x258>;
42 mode-gpio;
43 output-value = <1>;
44 direction = <PIN_OUTPUT>;
45 };
46 };
47
Gabriel Huau6d2466c2015-04-25 13:16:57 -070048 gpioa {
49 compatible = "intel,ich6-gpio";
50 u-boot,dm-pre-reloc;
51 reg = <0 0x20>;
52 bank-name = "A";
53 };
54
55 gpiob {
56 compatible = "intel,ich6-gpio";
57 u-boot,dm-pre-reloc;
58 reg = <0x20 0x20>;
59 bank-name = "B";
60 };
61
62 gpioc {
63 compatible = "intel,ich6-gpio";
64 u-boot,dm-pre-reloc;
65 reg = <0x40 0x20>;
66 bank-name = "C";
67 };
68
69 gpiod {
70 compatible = "intel,ich6-gpio";
71 u-boot,dm-pre-reloc;
72 reg = <0x60 0x20>;
73 bank-name = "D";
74 };
75
76 gpioe {
77 compatible = "intel,ich6-gpio";
78 u-boot,dm-pre-reloc;
79 reg = <0x80 0x20>;
80 bank-name = "E";
81 };
82
83 gpiof {
84 compatible = "intel,ich6-gpio";
85 u-boot,dm-pre-reloc;
86 reg = <0xA0 0x20>;
87 bank-name = "F";
88 };
89
Simon Glass4a56f102015-01-27 22:13:47 -070090 chosen {
91 stdout-path = "/serial";
92 };
93
Simon Glass1eaaf6c2015-04-29 22:26:03 -060094 cpus {
95 #address-cells = <1>;
96 #size-cells = <0>;
97
98 cpu@0 {
99 device_type = "cpu";
100 compatible = "intel,baytrail-cpu";
101 reg = <0>;
102 intel,apic-id = <0>;
103 };
104
105 cpu@1 {
106 device_type = "cpu";
107 compatible = "intel,baytrail-cpu";
108 reg = <1>;
109 intel,apic-id = <4>;
110 };
111
112 };
113
Simon Glass4a56f102015-01-27 22:13:47 -0700114 spi {
115 #address-cells = <1>;
116 #size-cells = <0>;
Bin Meng60ccd372015-04-15 12:00:11 +0800117 compatible = "intel,ich-spi";
Simon Glass4a56f102015-01-27 22:13:47 -0700118 spi-flash@0 {
119 reg = <0>;
Gabriel Huau07ea9da2015-04-25 08:13:11 -0700120 compatible = "stmicro,n25q064a", "spi-flash";
Simon Glass4a56f102015-01-27 22:13:47 -0700121 memory-map = <0xff800000 0x00800000>;
122 };
123 };
124
125 microcode {
126 update@0 {
127#include "microcode/m0130673322.dtsi"
128 };
129 };
130
131};