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