Simon Glass | 791f61b | 2012-12-03 13:56:51 +0000 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Simon Glass | 7be7f3e | 2016-03-11 22:07:12 -0700 | [diff] [blame] | 3 | #include <dt-bindings/gpio/x86-gpio.h> |
Simon Glass | e7ceeef | 2019-02-16 20:24:57 -0700 | [diff] [blame] | 4 | #include <dt-bindings/sound/azalia.h> |
| 5 | #include <pci_ids.h> |
Simon Glass | 7be7f3e | 2016-03-11 22:07:12 -0700 | [diff] [blame] | 6 | |
Bin Meng | aea05d8 | 2014-12-24 13:06:39 +0800 | [diff] [blame] | 7 | /include/ "skeleton.dtsi" |
Simon Glass | 3356cad | 2015-11-11 10:05:43 -0700 | [diff] [blame] | 8 | /include/ "keyboard.dtsi" |
Bin Meng | 82db36c | 2014-12-24 13:06:38 +0800 | [diff] [blame] | 9 | /include/ "serial.dtsi" |
Bin Meng | af5b8d2 | 2018-07-19 03:07:33 -0700 | [diff] [blame] | 10 | /include/ "reset.dtsi" |
Bin Meng | 770fd33 | 2015-07-15 16:23:39 +0800 | [diff] [blame] | 11 | /include/ "rtc.dtsi" |
Simon Glass | 791f61b | 2012-12-03 13:56:51 +0000 | [diff] [blame] | 12 | |
Bin Meng | 8967f63 | 2021-07-28 12:00:23 +0800 | [diff] [blame] | 13 | #include "tsc_timer.dtsi" |
Simon Glass | bee77f6 | 2020-11-05 06:32:17 -0700 | [diff] [blame] | 14 | #include "smbios.dtsi" |
| 15 | |
Simon Glass | 791f61b | 2012-12-03 13:56:51 +0000 | [diff] [blame] | 16 | / { |
Simon Glass | 791f61b | 2012-12-03 13:56:51 +0000 | [diff] [blame] | 17 | model = "Google Link"; |
| 18 | compatible = "google,link", "intel,celeron-ivybridge"; |
| 19 | |
Simon Glass | 7f9f6a9 | 2015-01-19 22:16:13 -0700 | [diff] [blame] | 20 | aliases { |
Bin Meng | 4f8d4e9 | 2016-01-27 00:56:34 -0800 | [diff] [blame] | 21 | spi0 = &spi; |
Simon Glass | 74a9e6a | 2016-01-17 16:11:55 -0700 | [diff] [blame] | 22 | usb0 = &usb_0; |
| 23 | usb1 = &usb_1; |
Simon Glass | 7f9f6a9 | 2015-01-19 22:16:13 -0700 | [diff] [blame] | 24 | }; |
| 25 | |
Simon Glass | 791f61b | 2012-12-03 13:56:51 +0000 | [diff] [blame] | 26 | config { |
| 27 | silent_console = <0>; |
| 28 | }; |
| 29 | |
Simon Glass | b4974c4 | 2016-01-17 16:11:23 -0700 | [diff] [blame] | 30 | cpus { |
| 31 | #address-cells = <1>; |
| 32 | #size-cells = <0>; |
| 33 | |
| 34 | cpu@0 { |
| 35 | device_type = "cpu"; |
| 36 | compatible = "intel,core-gen3"; |
| 37 | reg = <0>; |
| 38 | intel,apic-id = <0>; |
| 39 | }; |
| 40 | |
| 41 | cpu@1 { |
| 42 | device_type = "cpu"; |
| 43 | compatible = "intel,core-gen3"; |
| 44 | reg = <1>; |
| 45 | intel,apic-id = <1>; |
| 46 | }; |
| 47 | |
| 48 | cpu@2 { |
| 49 | device_type = "cpu"; |
| 50 | compatible = "intel,core-gen3"; |
| 51 | reg = <2>; |
| 52 | intel,apic-id = <2>; |
| 53 | }; |
| 54 | |
| 55 | cpu@3 { |
| 56 | device_type = "cpu"; |
| 57 | compatible = "intel,core-gen3"; |
| 58 | reg = <3>; |
| 59 | intel,apic-id = <3>; |
| 60 | }; |
| 61 | |
| 62 | }; |
| 63 | |
Bin Meng | aea05d8 | 2014-12-24 13:06:39 +0800 | [diff] [blame] | 64 | chosen { |
| 65 | stdout-path = "/serial"; |
Simon Glass | 791f61b | 2012-12-03 13:56:51 +0000 | [diff] [blame] | 66 | }; |
| 67 | |
Simon Glass | 3356cad | 2015-11-11 10:05:43 -0700 | [diff] [blame] | 68 | keyboard { |
| 69 | intel,duplicate-por; |
| 70 | }; |
| 71 | |
Simon Glass | 7be7f3e | 2016-03-11 22:07:12 -0700 | [diff] [blame] | 72 | pch_pinctrl { |
| 73 | compatible = "intel,x86-pinctrl"; |
| 74 | u-boot,dm-pre-reloc; |
| 75 | reg = <0 0>; |
| 76 | |
| 77 | gpio_a0 { |
| 78 | gpio-offset = <0 0>; |
| 79 | mode-gpio; |
| 80 | direction = <PIN_INPUT>; |
| 81 | }; |
| 82 | |
| 83 | gpio_a1 { |
| 84 | gpio-offset = <0>; |
| 85 | mode-gpio; |
| 86 | direction = <PIN_OUTPUT>; |
| 87 | output-value = <1>; |
| 88 | }; |
| 89 | |
| 90 | gpio_a3 { |
| 91 | gpio-offset = <0 3>; |
| 92 | mode-gpio; |
| 93 | direction = <PIN_INPUT>; |
| 94 | }; |
| 95 | |
| 96 | gpio_a5 { |
| 97 | gpio-offset = <0 5>; |
| 98 | mode-gpio; |
| 99 | direction = <PIN_INPUT>; |
| 100 | }; |
| 101 | |
| 102 | gpio_a6 { |
| 103 | gpio-offset = <0 6>; |
| 104 | mode-gpio; |
| 105 | direction = <PIN_OUTPUT>; |
| 106 | output-value = <1>; |
| 107 | }; |
| 108 | |
| 109 | gpio_a7 { |
| 110 | gpio-offset = <0 7>; |
| 111 | mode-gpio; |
| 112 | direction = <PIN_INPUT>; |
| 113 | invert; |
| 114 | }; |
| 115 | |
| 116 | gpio_a8 { |
| 117 | gpio-offset = <0 8>; |
| 118 | mode-gpio; |
| 119 | direction = <PIN_INPUT>; |
| 120 | invert; |
| 121 | }; |
| 122 | |
| 123 | gpio_a9 { |
| 124 | gpio-offset = <0 9>; |
| 125 | mode-gpio; |
| 126 | direction = <PIN_INPUT>; |
| 127 | }; |
| 128 | |
| 129 | gpio_a10 { |
| 130 | u-boot,dm-pre-reloc; |
| 131 | gpio-offset = <0 10>; |
| 132 | mode-gpio; |
| 133 | direction = <PIN_INPUT>; |
| 134 | }; |
| 135 | |
| 136 | gpio_a11 { |
| 137 | gpio-offset = <0 11>; |
| 138 | mode-gpio; |
| 139 | direction = <PIN_INPUT>; |
| 140 | }; |
| 141 | |
| 142 | gpio_a12 { |
| 143 | gpio-offset = <0 12>; |
| 144 | mode-gpio; |
| 145 | direction = <PIN_INPUT>; |
| 146 | invert; |
| 147 | }; |
| 148 | |
| 149 | gpio_a14 { |
| 150 | gpio-offset = <0 14>; |
| 151 | mode-gpio; |
| 152 | direction = <PIN_INPUT>; |
| 153 | invert; |
| 154 | }; |
| 155 | |
| 156 | gpio_a15 { |
| 157 | gpio-offset = <0 15>; |
| 158 | mode-gpio; |
| 159 | direction = <PIN_INPUT>; |
| 160 | invert; |
| 161 | }; |
| 162 | |
| 163 | gpio_a21 { |
| 164 | gpio-offset = <0 21>; |
| 165 | mode-gpio; |
| 166 | direction = <PIN_INPUT>; |
| 167 | }; |
| 168 | |
| 169 | gpio_a24 { |
| 170 | gpio-offset = <0 24>; |
| 171 | mode-gpio; |
| 172 | output-value = <0>; |
| 173 | direction = <PIN_OUTPUT>; |
| 174 | }; |
| 175 | |
| 176 | gpio_a28 { |
| 177 | gpio-offset = <0 28>; |
| 178 | mode-gpio; |
| 179 | direction = <PIN_INPUT>; |
| 180 | }; |
| 181 | |
| 182 | gpio_b4 { |
| 183 | gpio-offset = <0x30 4>; |
| 184 | mode-gpio; |
| 185 | direction = <PIN_OUTPUT>; |
| 186 | output-value = <1>; |
| 187 | }; |
| 188 | |
| 189 | gpio_b9 { |
| 190 | u-boot,dm-pre-reloc; |
| 191 | gpio-offset = <0x30 9>; |
| 192 | mode-gpio; |
| 193 | direction = <PIN_INPUT>; |
| 194 | }; |
| 195 | |
| 196 | gpio_b10 { |
| 197 | u-boot,dm-pre-reloc; |
| 198 | gpio-offset = <0x30 10>; |
| 199 | mode-gpio; |
| 200 | direction = <PIN_INPUT>; |
| 201 | }; |
| 202 | |
| 203 | gpio_b11 { |
| 204 | u-boot,dm-pre-reloc; |
| 205 | gpio-offset = <0x30 11>; |
| 206 | mode-gpio; |
| 207 | direction = <PIN_INPUT>; |
| 208 | }; |
| 209 | |
| 210 | gpio_b25 { |
| 211 | gpio-offset = <0x30 25>; |
| 212 | mode-gpio; |
| 213 | direction = <PIN_INPUT>; |
| 214 | }; |
| 215 | |
| 216 | gpio_b28 { |
| 217 | gpio-offset = <0x30 28>; |
| 218 | mode-gpio; |
| 219 | direction = <PIN_OUTPUT>; |
| 220 | output-value = <1>; |
| 221 | }; |
| 222 | |
| 223 | }; |
| 224 | |
Simon Glass | eec39ba | 2014-11-14 18:18:36 -0700 | [diff] [blame] | 225 | pci { |
Simon Glass | 582075c | 2016-01-17 16:11:41 -0700 | [diff] [blame] | 226 | compatible = "pci-x86"; |
Simon Glass | 3da658a | 2015-03-05 12:25:32 -0700 | [diff] [blame] | 227 | #address-cells = <3>; |
| 228 | #size-cells = <2>; |
| 229 | u-boot,dm-pre-reloc; |
| 230 | ranges = <0x02000000 0x0 0xe0000000 0xe0000000 0 0x10000000 |
| 231 | 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000 |
| 232 | 0x01000000 0x0 0x1000 0x1000 0 0xefff>; |
Simon Glass | 061e9ea | 2016-01-17 16:11:15 -0700 | [diff] [blame] | 233 | |
| 234 | northbridge@0,0 { |
| 235 | reg = <0x00000000 0 0 0 0>; |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 236 | u-boot,dm-pre-reloc; |
Simon Glass | 061e9ea | 2016-01-17 16:11:15 -0700 | [diff] [blame] | 237 | compatible = "intel,bd82x6x-northbridge"; |
Simon Glass | ed5652c | 2016-03-06 19:28:12 -0700 | [diff] [blame] | 238 | board-id-gpios = <&gpio_b 9 0>, <&gpio_b 10 0>, |
| 239 | <&gpio_b 11 0>, <&gpio_a 10 0>; |
Simon Glass | d7729f8 | 2016-03-06 19:28:11 -0700 | [diff] [blame] | 240 | spd { |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 241 | u-boot,dm-pre-reloc; |
Simon Glass | d7729f8 | 2016-03-06 19:28:11 -0700 | [diff] [blame] | 242 | #address-cells = <1>; |
| 243 | #size-cells = <0>; |
| 244 | elpida_4Gb_1600_x16 { |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 245 | u-boot,dm-pre-reloc; |
Simon Glass | d7729f8 | 2016-03-06 19:28:11 -0700 | [diff] [blame] | 246 | reg = <0>; |
| 247 | data = [92 10 0b 03 04 19 02 02 |
| 248 | 03 52 01 08 0a 00 fe 00 |
| 249 | 69 78 69 3c 69 11 18 81 |
| 250 | 20 08 3c 3c 01 40 83 81 |
| 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 0f 11 42 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 00 00 00 |
| 258 | 00 00 00 00 00 00 00 00 |
| 259 | 00 00 00 00 00 00 00 00 |
| 260 | 00 00 00 00 00 00 00 00 |
| 261 | 00 00 00 00 00 02 fe 00 |
| 262 | 11 52 00 00 00 07 7f 37 |
| 263 | 45 42 4a 32 30 55 47 36 |
| 264 | 45 42 55 30 2d 47 4e 2d |
| 265 | 46 20 30 20 02 fe 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 | 00 00 00 00 00 00 00 00 |
| 276 | 00 00 00 00 00 00 00 00 |
| 277 | 00 00 00 00 00 00 00 00 |
| 278 | 00 00 00 00 00 00 00 00]; |
| 279 | }; |
| 280 | samsung_4Gb_1600_1.35v_x16 { |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 281 | u-boot,dm-pre-reloc; |
Simon Glass | d7729f8 | 2016-03-06 19:28:11 -0700 | [diff] [blame] | 282 | reg = <1>; |
| 283 | data = [92 11 0b 03 04 19 02 02 |
| 284 | 03 11 01 08 0a 00 fe 00 |
| 285 | 69 78 69 3c 69 11 18 81 |
| 286 | f0 0a 3c 3c 01 40 83 01 |
| 287 | 00 80 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 0f 11 02 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 00 00 00 |
| 294 | 00 00 00 00 00 00 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 80 ce 01 |
| 298 | 00 00 00 00 00 00 6a 04 |
| 299 | 4d 34 37 31 42 35 36 37 |
| 300 | 34 42 48 30 2d 59 4b 30 |
| 301 | 20 20 00 00 80 ce 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 | 00 00 00 00 00 00 00 00 |
| 312 | 00 00 00 00 00 00 00 00 |
| 313 | 00 00 00 00 00 00 00 00 |
| 314 | 00 00 00 00 00 00 00 00]; |
| 315 | }; |
| 316 | micron_4Gb_1600_1.35v_x16 { |
| 317 | reg = <2>; |
| 318 | data = [92 11 0b 03 04 19 02 02 |
| 319 | 03 11 01 08 0a 00 fe 00 |
| 320 | 69 78 69 3c 69 11 18 81 |
| 321 | 20 08 3c 3c 01 40 83 05 |
| 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 0f 01 02 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 00 00 00 |
| 329 | 00 00 00 00 00 00 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 80 2c 00 |
| 333 | 00 00 00 00 00 00 ad 75 |
| 334 | 34 4b 54 46 32 35 36 36 |
| 335 | 34 48 5a 2d 31 47 36 45 |
| 336 | 31 20 45 31 80 2c 00 00 |
| 337 | 00 00 00 00 00 00 00 00 |
| 338 | 00 00 00 00 00 00 00 00 |
| 339 | 00 00 00 00 00 00 00 00 |
| 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 | ff ff ff ff ff ff ff ff |
| 347 | ff ff ff ff ff ff ff ff |
| 348 | ff ff ff ff ff ff ff ff |
| 349 | ff ff ff ff ff ff ff ff]; |
| 350 | }; |
| 351 | }; |
Simon Glass | 061e9ea | 2016-01-17 16:11:15 -0700 | [diff] [blame] | 352 | }; |
| 353 | |
Simon Glass | a75abeb | 2016-01-17 16:11:59 -0700 | [diff] [blame] | 354 | gma@2,0 { |
| 355 | reg = <0x00001000 0 0 0 0>; |
Simon Glass | 85ff0b1 | 2014-11-14 20:56:37 -0700 | [diff] [blame] | 356 | compatible = "intel,gma"; |
| 357 | intel,dp_hotplug = <0 0 0x06>; |
| 358 | intel,panel-port-select = <1>; |
| 359 | intel,panel-power-cycle-delay = <6>; |
| 360 | intel,panel-power-up-delay = <2000>; |
| 361 | intel,panel-power-down-delay = <500>; |
| 362 | intel,panel-power-backlight-on-delay = <2000>; |
| 363 | intel,panel-power-backlight-off-delay = <2000>; |
| 364 | intel,cpu-backlight = <0x00000200>; |
| 365 | intel,pch-backlight = <0x04000000>; |
| 366 | }; |
| 367 | |
Simon Glass | 37a91ff | 2016-01-17 16:11:50 -0700 | [diff] [blame] | 368 | me@16,0 { |
| 369 | reg = <0x0000b000 0 0 0 0>; |
| 370 | compatible = "intel,me"; |
| 371 | u-boot,dm-pre-reloc; |
| 372 | }; |
| 373 | |
Simon Glass | 74a9e6a | 2016-01-17 16:11:55 -0700 | [diff] [blame] | 374 | usb_1: usb@1a,0 { |
| 375 | reg = <0x0000d000 0 0 0 0>; |
| 376 | compatible = "ehci-pci"; |
| 377 | }; |
| 378 | |
Simon Glass | e7ceeef | 2019-02-16 20:24:57 -0700 | [diff] [blame] | 379 | hda@1b,0 { |
| 380 | reg = <0x0000d800 0 0 0 0>; |
| 381 | compatible = "intel,bd82x6x-hda"; |
| 382 | |
| 383 | /* These correspond to the Intel HDA specification */ |
| 384 | beep-verbs = < |
| 385 | 0x00170500 /* power up codec */ |
| 386 | 0x00270500 /* power up DAC */ |
| 387 | 0x00b70500 /* power up speaker */ |
| 388 | 0x00b70740 /* enable speaker out */ |
| 389 | 0x00b78d00 /* enable EAPD pin */ |
| 390 | 0x00b70c02 /* set EAPD pin */ |
| 391 | 0x0143b013>; /* beep volume */ |
| 392 | |
| 393 | codecs { |
| 394 | creative_codec: creative-ca0132 { |
| 395 | vendor-id = <PCI_VENDOR_ID_CREATIVE>; |
| 396 | device-id = <PCI_DEVICE_ID_CREATIVE_CA01322>; |
| 397 | }; |
| 398 | intel_hdmi: hdmi { |
| 399 | vendor-id = <PCI_VENDOR_ID_INTEL>; |
| 400 | device-id = <PCI_DEVICE_ID_INTEL_COUGARPOINT_HDMI>; |
| 401 | }; |
| 402 | }; |
| 403 | }; |
| 404 | |
Simon Glass | 74a9e6a | 2016-01-17 16:11:55 -0700 | [diff] [blame] | 405 | usb_0: usb@1d,0 { |
| 406 | reg = <0x0000e800 0 0 0 0>; |
| 407 | compatible = "ehci-pci"; |
| 408 | }; |
| 409 | |
Simon Glass | 3276163 | 2016-01-18 20:19:21 -0700 | [diff] [blame] | 410 | pch@1f,0 { |
Simon Glass | e0e7b36 | 2015-03-05 12:25:33 -0700 | [diff] [blame] | 411 | reg = <0x0000f800 0 0 0 0>; |
Simon Glass | 3276163 | 2016-01-18 20:19:21 -0700 | [diff] [blame] | 412 | compatible = "intel,bd82x6x", "intel,pch9"; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 413 | u-boot,dm-pre-reloc; |
Simon Glass | e4e5627 | 2014-10-10 07:30:13 -0600 | [diff] [blame] | 414 | #address-cells = <1>; |
| 415 | #size-cells = <1>; |
Simon Glass | c1fd69e | 2014-11-14 18:18:37 -0700 | [diff] [blame] | 416 | intel,pirq-routing = <0x8b 0x8a 0x8b 0x8b |
| 417 | 0x80 0x80 0x80 0x80>; |
| 418 | intel,gpi-routing = <0 0 0 0 0 0 0 2 |
| 419 | 1 0 0 0 0 0 0 0>; |
| 420 | /* Enable EC SMI source */ |
| 421 | intel,alt-gp-smi-enable = <0x0100>; |
Simon Glass | 3276163 | 2016-01-18 20:19:21 -0700 | [diff] [blame] | 422 | |
Bin Meng | 4f8d4e9 | 2016-01-27 00:56:34 -0800 | [diff] [blame] | 423 | spi: spi { |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 424 | #address-cells = <1>; |
| 425 | #size-cells = <0>; |
Bin Meng | d940667 | 2016-02-01 01:40:37 -0800 | [diff] [blame] | 426 | compatible = "intel,ich9-spi"; |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 427 | u-boot,dm-pre-reloc; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 428 | spi-flash@0 { |
| 429 | #size-cells = <1>; |
| 430 | #address-cells = <1>; |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 431 | u-boot,dm-pre-reloc; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 432 | reg = <0>; |
Bin Meng | ac54e25 | 2021-07-29 20:18:23 +0800 | [diff] [blame] | 433 | m25p,fast-read; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 434 | compatible = "winbond,w25q64", |
Neil Armstrong | f6625b4 | 2019-02-10 10:16:21 +0000 | [diff] [blame] | 435 | "jedec,spi-nor"; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 436 | memory-map = <0xff800000 0x00800000>; |
| 437 | rw-mrc-cache { |
| 438 | label = "rw-mrc-cache"; |
| 439 | reg = <0x003e0000 0x00010000>; |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 440 | u-boot,dm-pre-reloc; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 441 | }; |
| 442 | }; |
| 443 | }; |
Simon Glass | eec39ba | 2014-11-14 18:18:36 -0700 | [diff] [blame] | 444 | |
Simon Glass | 8a307ee | 2016-03-06 19:28:10 -0700 | [diff] [blame] | 445 | gpio_a: gpioa { |
Bin Meng | 6e916cc | 2016-02-01 01:40:47 -0800 | [diff] [blame] | 446 | compatible = "intel,ich6-gpio"; |
| 447 | u-boot,dm-pre-reloc; |
Simon Glass | 8a307ee | 2016-03-06 19:28:10 -0700 | [diff] [blame] | 448 | #gpio-cells = <2>; |
| 449 | gpio-controller; |
Bin Meng | 6e916cc | 2016-02-01 01:40:47 -0800 | [diff] [blame] | 450 | reg = <0 0x10>; |
| 451 | bank-name = "A"; |
| 452 | }; |
| 453 | |
Simon Glass | 8a307ee | 2016-03-06 19:28:10 -0700 | [diff] [blame] | 454 | gpio_b: gpiob { |
Bin Meng | 6e916cc | 2016-02-01 01:40:47 -0800 | [diff] [blame] | 455 | compatible = "intel,ich6-gpio"; |
| 456 | u-boot,dm-pre-reloc; |
Simon Glass | 8a307ee | 2016-03-06 19:28:10 -0700 | [diff] [blame] | 457 | #gpio-cells = <2>; |
| 458 | gpio-controller; |
Bin Meng | 6e916cc | 2016-02-01 01:40:47 -0800 | [diff] [blame] | 459 | reg = <0x30 0x10>; |
| 460 | bank-name = "B"; |
| 461 | }; |
| 462 | |
Simon Glass | 8a307ee | 2016-03-06 19:28:10 -0700 | [diff] [blame] | 463 | gpio_c: gpioc { |
Bin Meng | 6e916cc | 2016-02-01 01:40:47 -0800 | [diff] [blame] | 464 | compatible = "intel,ich6-gpio"; |
| 465 | u-boot,dm-pre-reloc; |
Simon Glass | 8a307ee | 2016-03-06 19:28:10 -0700 | [diff] [blame] | 466 | #gpio-cells = <2>; |
| 467 | gpio-controller; |
Bin Meng | 6e916cc | 2016-02-01 01:40:47 -0800 | [diff] [blame] | 468 | reg = <0x40 0x10>; |
| 469 | bank-name = "C"; |
| 470 | }; |
| 471 | |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 472 | lpc { |
| 473 | compatible = "intel,bd82x6x-lpc"; |
Simon Glass | eec39ba | 2014-11-14 18:18:36 -0700 | [diff] [blame] | 474 | #address-cells = <1>; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 475 | #size-cells = <0>; |
Simon Glass | 044f1a0 | 2016-01-17 16:11:10 -0700 | [diff] [blame] | 476 | u-boot,dm-pre-reloc; |
Simon Glass | 62b3717 | 2016-01-17 16:11:11 -0700 | [diff] [blame] | 477 | intel,gen-dec = <0x800 0xfc 0x900 0xfc>; |
Simon Glass | 06e694f | 2015-03-26 09:29:29 -0600 | [diff] [blame] | 478 | cros-ec@200 { |
| 479 | compatible = "google,cros-ec"; |
| 480 | reg = <0x204 1 0x200 1 0x880 0x80>; |
| 481 | |
| 482 | /* |
| 483 | * Describes the flash memory within |
| 484 | * the EC |
| 485 | */ |
| 486 | #address-cells = <1>; |
| 487 | #size-cells = <1>; |
| 488 | flash@8000000 { |
| 489 | reg = <0x08000000 0x20000>; |
| 490 | erase-value = <0xff>; |
| 491 | }; |
Simon Glass | eec39ba | 2014-11-14 18:18:36 -0700 | [diff] [blame] | 492 | }; |
Simon Glass | e4e5627 | 2014-10-10 07:30:13 -0600 | [diff] [blame] | 493 | }; |
| 494 | }; |
Simon Glass | 5cc400b | 2016-01-17 16:11:35 -0700 | [diff] [blame] | 495 | |
| 496 | sata@1f,2 { |
| 497 | compatible = "intel,pantherpoint-ahci"; |
| 498 | reg = <0x0000fa00 0 0 0 0>; |
| 499 | u-boot,dm-pre-reloc; |
| 500 | intel,sata-mode = "ahci"; |
| 501 | intel,sata-port-map = <1>; |
| 502 | intel,sata-port0-gen3-tx = <0x00880a7f>; |
| 503 | }; |
Simon Glass | 9afcd96 | 2016-01-17 16:11:45 -0700 | [diff] [blame] | 504 | |
| 505 | smbus: smbus@1f,3 { |
| 506 | compatible = "intel,ich-i2c"; |
| 507 | reg = <0x0000fb00 0 0 0 0>; |
| 508 | u-boot,dm-pre-reloc; |
| 509 | }; |
Simon Glass | e4e5627 | 2014-10-10 07:30:13 -0600 | [diff] [blame] | 510 | }; |
Simon Glass | 0c84eec | 2014-11-12 22:42:22 -0700 | [diff] [blame] | 511 | |
Simon Glass | 1132853 | 2015-08-22 18:31:37 -0600 | [diff] [blame] | 512 | tpm { |
| 513 | reg = <0xfed40000 0x5000>; |
| 514 | compatible = "infineon,slb9635lpc"; |
| 515 | }; |
| 516 | |
Simon Glass | 0c84eec | 2014-11-12 22:42:22 -0700 | [diff] [blame] | 517 | microcode { |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 518 | u-boot,dm-pre-reloc; |
Simon Glass | 0c84eec | 2014-11-12 22:42:22 -0700 | [diff] [blame] | 519 | update@0 { |
Simon Glass | fc1e11c | 2017-01-16 07:04:24 -0700 | [diff] [blame] | 520 | u-boot,dm-pre-reloc; |
Simon Glass | 44679e7 | 2014-12-15 22:02:40 -0700 | [diff] [blame] | 521 | #include "microcode/m12306a9_0000001b.dtsi" |
Simon Glass | 0c84eec | 2014-11-12 22:42:22 -0700 | [diff] [blame] | 522 | }; |
| 523 | }; |
| 524 | |
Simon Glass | e7ceeef | 2019-02-16 20:24:57 -0700 | [diff] [blame] | 525 | }; |
| 526 | |
| 527 | &creative_codec { |
| 528 | verbs = < |
| 529 | /** |
| 530 | * Malcolm Setup. These correspond to the Intel HDA |
| 531 | * specification. |
| 532 | */ |
| 533 | 0x01570d09 0x01570c23 0x01570a01 0x01570df0 |
| 534 | 0x01570efe 0x01570775 0x015707d3 0x01570709 |
| 535 | 0x01570753 0x015707d4 0x015707ef 0x01570775 |
| 536 | 0x015707d3 0x01570709 0x01570702 0x01570737 |
| 537 | 0x01570778 0x01553cce 0x015575c9 0x01553dce |
| 538 | 0x0155b7c9 0x01570de8 0x01570efe 0x01570702 |
| 539 | 0x01570768 0x01570762 0x01553ace 0x015546c9 |
| 540 | 0x01553bce 0x0155e8c9 0x01570d49 0x01570c88 |
| 541 | 0x01570d20 0x01570e19 0x01570700 0x01571a05 |
| 542 | 0x01571b29 0x01571a04 0x01571b29 0x01570a01 |
| 543 | |
| 544 | /* Pin Widget Verb Table */ |
| 545 | |
| 546 | /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x144dc0c2 */ |
| 547 | AZALIA_SUBVENDOR(0x0, 0x144dc0c2) |
| 548 | |
| 549 | /* |
| 550 | * Pin Complex (NID 0x0B) Port-G Analog Unknown |
| 551 | * Speaker at Int N/A |
| 552 | */ |
| 553 | AZALIA_PIN_CFG(0x0, 0x0b, 0x901700f0) |
| 554 | |
| 555 | /* Pin Complex (NID 0x0C) N/C */ |
| 556 | AZALIA_PIN_CFG(0x0, 0x0c, 0x70f000f0) |
| 557 | |
| 558 | /* Pin Complex (NID 0x0D) N/C */ |
| 559 | AZALIA_PIN_CFG(0x0, 0x0d, 0x70f000f0) |
| 560 | |
| 561 | /* Pin Complex (NID 0x0E) N/C */ |
| 562 | AZALIA_PIN_CFG(0x0, 0x0e, 0x70f000f0) |
| 563 | |
| 564 | /* Pin Complex (NID 0x0F) N/C */ |
| 565 | AZALIA_PIN_CFG(0x0, 0x0f, 0x70f000f0) |
| 566 | |
| 567 | /* Pin Complex (NID 0x10) Port-D 1/8 Black HP Out at Ext Left */ |
| 568 | AZALIA_PIN_CFG(0x0, 0x10, 0x032110f0) |
| 569 | |
| 570 | /* Pin Complex (NID 0x11) Port-B Click Mic */ |
| 571 | AZALIA_PIN_CFG(0x0, 0x11, 0x90a700f0) |
| 572 | |
| 573 | /* Pin Complex (NID 0x12) Port-C Combo Jack Mic or D-Mic */ |
| 574 | AZALIA_PIN_CFG(0x0, 0x12, 0x03a110f0) |
| 575 | |
| 576 | /* Pin Complex (NID 0x13) What you hear */ |
| 577 | AZALIA_PIN_CFG(0x0, 0x13, 0x90d600f0)>; |
| 578 | }; |
| 579 | |
| 580 | &intel_hdmi { |
| 581 | verbs = < |
| 582 | /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ |
| 583 | AZALIA_SUBVENDOR(0x3, 0x80860101) |
| 584 | |
| 585 | /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ |
| 586 | AZALIA_PIN_CFG(0x3, 0x05, 0x18560010) |
| 587 | |
| 588 | /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ |
| 589 | AZALIA_PIN_CFG(0x3, 0x06, 0x18560020) |
| 590 | |
| 591 | /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ |
| 592 | AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)>; |
Simon Glass | 791f61b | 2012-12-03 13:56:51 +0000 | [diff] [blame] | 593 | }; |