Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 3 | ## |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 4 | ## |
| 5 | ## This program is free software; you can redistribute it and/or |
| 6 | ## modify it under the terms of the GNU General Public License as |
| 7 | ## published by the Free Software Foundation; version 2 of |
| 8 | ## the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 15 | |
| 16 | chip northbridge/intel/i945 |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 17 | # IGD Displays |
Nico Huber | b0b25c8 | 2020-03-21 20:35:12 +0100 | [diff] [blame^] | 18 | register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 19 | |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 20 | device cpu_cluster 0 on |
Nico Huber | 4829af1 | 2019-02-27 14:23:18 +0100 | [diff] [blame] | 21 | chip cpu/intel/socket_m |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 22 | device lapic 0 on end |
| 23 | end |
| 24 | end |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 25 | |
Arthur Heymans | 885c289 | 2016-10-03 17:16:48 +0200 | [diff] [blame] | 26 | register "pci_mmio_size" = "768" |
| 27 | |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 28 | device domain 0 on |
| 29 | subsystemid 0x4352 0x6886 inherit |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 30 | device pci 00.0 on end # host bridge |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 31 | # auto detection: |
| 32 | #device pci 01.0 off end # i945 PCIe root port |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 33 | device pci 02.0 on end # vga controller |
| 34 | device pci 02.1 on end # display controller |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 35 | |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 36 | chip southbridge/intel/i82801gx |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 37 | register "pirqa_routing" = "0x0b" |
| 38 | register "pirqb_routing" = "0x0b" |
| 39 | register "pirqc_routing" = "0x0b" |
| 40 | register "pirqd_routing" = "0x0b" |
| 41 | register "pirqe_routing" = "0x80" |
| 42 | register "pirqf_routing" = "0x80" |
| 43 | register "pirqg_routing" = "0x0b" |
| 44 | register "pirqh_routing" = "0x0b" |
| 45 | |
| 46 | # GPI routing |
| 47 | # 0 No effect (default) |
| 48 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 49 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 50 | register "gpi13_routing" = "2" |
| 51 | register "gpi8_routing" = "1" |
| 52 | register "gpi7_routing" = "2" |
| 53 | register "gpe0_en" = "0x20800007" |
| 54 | |
Vladimir Serbinenko | ab83ef0 | 2014-10-25 15:18:25 +0200 | [diff] [blame] | 55 | register "c3_latency" = "0x23" |
| 56 | register "docking_supported" = "1" |
| 57 | register "p_cnt_throttling_supported" = "1" |
| 58 | |
Nico Huber | ae31769 | 2019-07-20 17:03:56 +0200 | [diff] [blame] | 59 | register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED" |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 60 | register "ide_enable_primary" = "0x1" |
| 61 | register "ide_enable_secondary" = "0x0" |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 62 | |
Arthur Heymans | fecf777 | 2019-11-09 14:19:04 +0100 | [diff] [blame] | 63 | register "gen1_dec" = "0x001c02e1" # COM3, COM4 |
| 64 | register "gen2_dec" = "0x00fc0601" # ?? |
| 65 | register "gen3_dec" = "0x00040069" # EC decode ?? |
| 66 | |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 67 | device pci 1b.0 off end # High Definition Audio |
| 68 | device pci 1c.0 on end # PCIe port 1 |
| 69 | device pci 1c.1 off end # PCIe port 2 |
| 70 | device pci 1c.2 off end # PCIe port 3 |
| 71 | device pci 1c.3 on end # PCIe port 4 |
| 72 | device pci 1c.4 off end # PCIe port 5 |
| 73 | device pci 1c.5 off end # PCIe port 6 |
| 74 | device pci 1d.0 on end # USB UHCI |
| 75 | device pci 1d.1 on end # USB UHCI |
| 76 | device pci 1d.2 on end # USB UHCI |
| 77 | device pci 1d.3 on end # USB UHCI |
| 78 | device pci 1d.7 on end # USB2 EHCI |
| 79 | device pci 1e.0 on # PCI bridge |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 80 | chip southbridge/ti/pci7420 |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 81 | register "smartcard_enabled" = "0x0" |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 82 | device pci 3.0 on end |
| 83 | device pci 3.1 on end |
| 84 | device pci 3.2 on end |
| 85 | device pci 3.3 off end # smartcard |
| 86 | end |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 87 | end |
| 88 | device pci 1e.2 on end # AC'97 Audio |
| 89 | device pci 1e.3 off end # AC'97 Modem |
| 90 | device pci 1f.0 on # LPC bridge |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 91 | chip superio/smsc/lpc47n227 |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 92 | device pnp 2e.1 on # Parallel port |
Patrick Georgi | a470019 | 2011-01-27 07:39:38 +0000 | [diff] [blame] | 93 | io 0x60 = 0x378 |
| 94 | irq 0x70 = 5 |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 95 | end |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 96 | device pnp 2e.2 on # COM1 |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 97 | io 0x60 = 0x3f8 |
| 98 | irq 0x70 = 4 |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 99 | end |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 100 | device pnp 2e.3 on # COM2 |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 101 | io 0x60 = 0x2f8 |
| 102 | irq 0x70 = 3 |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 103 | end |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 104 | device pnp 2e.5 off # Keyboard+Mouse |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 105 | # io 0x60 = 0x60 |
| 106 | # io 0x62 = 0x64 |
| 107 | # irq 0x70 = 1 |
| 108 | # irq 0x72 = 12 |
| 109 | end |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 110 | end |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 111 | chip superio/renesas/m3885x |
| 112 | device pnp ff.1 on # dummy address |
| 113 | end |
| 114 | end |
Sven Schnelle | 7592e8b | 2011-01-27 11:43:03 +0000 | [diff] [blame] | 115 | chip ec/acpi |
| 116 | end |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 117 | |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 118 | end |
Arthur Heymans | b9d2589 | 2018-06-15 22:02:28 +0200 | [diff] [blame] | 119 | device pci 1f.1 off end # IDE |
Angel Pons | f1f0a0f | 2020-01-01 19:38:22 +0100 | [diff] [blame] | 120 | device pci 1f.2 on end # SATA |
| 121 | device pci 1f.3 on end # SMBus |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 122 | end |
| 123 | end |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 124 | end |