Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 1 | /* |
| 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 Huau | f813548 | 2015-05-25 22:27:37 -0700 | [diff] [blame] | 9 | #include <dt-bindings/gpio/x86-gpio.h> |
| 10 | |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 11 | /include/ "skeleton.dtsi" |
| 12 | /include/ "serial.dtsi" |
Bin Meng | 770fd33 | 2015-07-15 16:23:39 +0800 | [diff] [blame] | 13 | /include/ "rtc.dtsi" |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Intel Minnowboard Max"; |
| 17 | compatible = "intel,minnowmax", "intel,baytrail"; |
| 18 | |
| 19 | aliases { |
| 20 | serial0 = &serial; |
Bin Meng | 60ccd37 | 2015-04-15 12:00:11 +0800 | [diff] [blame] | 21 | spi0 = "/spi"; |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | config { |
| 25 | silent_console = <0>; |
| 26 | }; |
| 27 | |
Gabriel Huau | f813548 | 2015-05-25 22:27:37 -0700 | [diff] [blame] | 28 | pch_pinctrl { |
| 29 | compatible = "intel,x86-pinctrl"; |
| 30 | io-base = <0x4c>; |
| 31 | |
| 32 | pin_usb_host_en0@0 { |
| 33 | gpio-offset = <0x80 8>; |
| 34 | pad-offset = <0x260>; |
| 35 | mode-gpio; |
| 36 | output-value = <1>; |
| 37 | direction = <PIN_OUTPUT>; |
| 38 | }; |
| 39 | |
| 40 | pin_usb_host_en1@0 { |
| 41 | gpio-offset = <0x80 9>; |
| 42 | pad-offset = <0x258>; |
| 43 | mode-gpio; |
| 44 | output-value = <1>; |
| 45 | direction = <PIN_OUTPUT>; |
| 46 | }; |
| 47 | }; |
| 48 | |
Gabriel Huau | 6d2466c | 2015-04-25 13:16:57 -0700 | [diff] [blame] | 49 | gpioa { |
| 50 | compatible = "intel,ich6-gpio"; |
| 51 | u-boot,dm-pre-reloc; |
| 52 | reg = <0 0x20>; |
| 53 | bank-name = "A"; |
| 54 | }; |
| 55 | |
| 56 | gpiob { |
| 57 | compatible = "intel,ich6-gpio"; |
| 58 | u-boot,dm-pre-reloc; |
| 59 | reg = <0x20 0x20>; |
| 60 | bank-name = "B"; |
| 61 | }; |
| 62 | |
| 63 | gpioc { |
| 64 | compatible = "intel,ich6-gpio"; |
| 65 | u-boot,dm-pre-reloc; |
| 66 | reg = <0x40 0x20>; |
| 67 | bank-name = "C"; |
| 68 | }; |
| 69 | |
| 70 | gpiod { |
| 71 | compatible = "intel,ich6-gpio"; |
| 72 | u-boot,dm-pre-reloc; |
| 73 | reg = <0x60 0x20>; |
| 74 | bank-name = "D"; |
| 75 | }; |
| 76 | |
| 77 | gpioe { |
| 78 | compatible = "intel,ich6-gpio"; |
| 79 | u-boot,dm-pre-reloc; |
| 80 | reg = <0x80 0x20>; |
| 81 | bank-name = "E"; |
| 82 | }; |
| 83 | |
| 84 | gpiof { |
| 85 | compatible = "intel,ich6-gpio"; |
| 86 | u-boot,dm-pre-reloc; |
| 87 | reg = <0xA0 0x20>; |
| 88 | bank-name = "F"; |
| 89 | }; |
| 90 | |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 91 | chosen { |
| 92 | stdout-path = "/serial"; |
| 93 | }; |
| 94 | |
Simon Glass | 1eaaf6c | 2015-04-29 22:26:03 -0600 | [diff] [blame] | 95 | cpus { |
| 96 | #address-cells = <1>; |
| 97 | #size-cells = <0>; |
| 98 | |
| 99 | cpu@0 { |
| 100 | device_type = "cpu"; |
| 101 | compatible = "intel,baytrail-cpu"; |
| 102 | reg = <0>; |
| 103 | intel,apic-id = <0>; |
| 104 | }; |
| 105 | |
| 106 | cpu@1 { |
| 107 | device_type = "cpu"; |
| 108 | compatible = "intel,baytrail-cpu"; |
| 109 | reg = <1>; |
| 110 | intel,apic-id = <4>; |
| 111 | }; |
| 112 | |
| 113 | }; |
| 114 | |
Simon Glass | 0e87edc | 2015-07-03 18:28:26 -0600 | [diff] [blame] | 115 | pci { |
| 116 | compatible = "intel,pci-baytrail", "pci-x86"; |
| 117 | #address-cells = <3>; |
| 118 | #size-cells = <2>; |
| 119 | u-boot,dm-pre-reloc; |
| 120 | ranges = <0x02000000 0x0 0xd0000000 0xd0000000 0 0x10000000 |
| 121 | 0x42000000 0x0 0xc0000000 0xc0000000 0 0x10000000 |
| 122 | 0x01000000 0x0 0x2000 0x2000 0 0xe000>; |
| 123 | }; |
| 124 | |
Andrew Bradford | 74fdb58 | 2015-08-07 08:36:35 -0400 | [diff] [blame^] | 125 | fsp { |
| 126 | compatible = "intel,baytrail-fsp"; |
| 127 | fsp,mrc-init-tseg-size = <0>; |
| 128 | fsp,mrc-init-mmio-size = <0x800>; |
| 129 | fsp,mrc-init-spd-addr1 = <0xa0>; |
| 130 | fsp,mrc-init-spd-addr2 = <0xa2>; |
| 131 | fsp,emmc-boot-mode = <2>; |
| 132 | fsp,enable-sdio; |
| 133 | fsp,enable-sdcard; |
| 134 | fsp,enable-hsuart1; |
| 135 | fsp,enable-spi; |
| 136 | fsp,enable-sata; |
| 137 | fsp,sata-mode = <1>; |
| 138 | fsp,enable-lpe; |
| 139 | fsp,lpss-sio-enable-pci-mode; |
| 140 | fsp,enable-dma0; |
| 141 | fsp,enable-dma1; |
| 142 | fsp,enable-i2c0; |
| 143 | fsp,enable-i2c1; |
| 144 | fsp,enable-i2c2; |
| 145 | fsp,enable-i2c3; |
| 146 | fsp,enable-i2c4; |
| 147 | fsp,enable-i2c5; |
| 148 | fsp,enable-i2c6; |
| 149 | fsp,enable-pwm0; |
| 150 | fsp,enable-pwm1; |
| 151 | fsp,igd-dvmt50-pre-alloc = <2>; |
| 152 | fsp,aperture-size = <2>; |
| 153 | fsp,gtt-size = <2>; |
| 154 | fsp,serial-debug-port-address = <0x3f8>; |
| 155 | fsp,serial-debug-port-type = <1>; |
| 156 | fsp,scc-enable-pci-mode; |
| 157 | fsp,os-selection = <4>; |
| 158 | fsp,emmc45-ddr50-enabled; |
| 159 | fsp,emmc45-retune-timer-value = <8>; |
| 160 | fsp,enable-igd; |
| 161 | fsp,enable-memory-down; |
| 162 | fsp,memory-down-params { |
| 163 | compatible = "intel,baytrail-fsp-mdp"; |
| 164 | fsp,dram-speed = <1>; |
| 165 | fsp,dram-type = <1>; |
| 166 | fsp,dimm-0-enable; |
| 167 | fsp,dimm-width = <1>; |
| 168 | fsp,dimm-density = <2>; |
| 169 | fsp,dimm-bus-width = <3>; |
| 170 | fsp,dimm-sides = <0>; |
| 171 | fsp,dimm-tcl = <0xb>; |
| 172 | fsp,dimm-trpt-rcd = <0xb>; |
| 173 | fsp,dimm-twr = <0xc>; |
| 174 | fsp,dimm-twtr = <6>; |
| 175 | fsp,dimm-trrd = <6>; |
| 176 | fsp,dimm-trtp = <6>; |
| 177 | fsp,dimm-tfaw = <0x14>; |
| 178 | }; |
| 179 | }; |
| 180 | |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 181 | spi { |
| 182 | #address-cells = <1>; |
| 183 | #size-cells = <0>; |
Bin Meng | 60ccd37 | 2015-04-15 12:00:11 +0800 | [diff] [blame] | 184 | compatible = "intel,ich-spi"; |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 185 | spi-flash@0 { |
| 186 | reg = <0>; |
Gabriel Huau | 07ea9da | 2015-04-25 08:13:11 -0700 | [diff] [blame] | 187 | compatible = "stmicro,n25q064a", "spi-flash"; |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 188 | memory-map = <0xff800000 0x00800000>; |
| 189 | }; |
| 190 | }; |
| 191 | |
| 192 | microcode { |
| 193 | update@0 { |
| 194 | #include "microcode/m0130673322.dtsi" |
| 195 | }; |
| 196 | }; |
| 197 | |
| 198 | }; |