blob: af250e768d4f31275c98dbba6051ed74c90ec238 [file] [log] [blame]
Stefan Reinauer838c5a52010-01-17 14:08:17 +00001##
2## This file is part of the coreboot project.
Stefan Reinauer14e22772010-04-27 06:56:47 +00003##
Stefan Reinauer838c5a52010-01-17 14:08:17 +00004##
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 Reinauer838c5a52010-01-17 14:08:17 +000015
16chip northbridge/intel/i945
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010017 # IGD Displays
Nico Huberb0b25c82020-03-21 20:35:12 +010018 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
Stefan Reinauer838c5a52010-01-17 14:08:17 +000019
Elyes HAOUASb0f19882018-06-09 11:59:00 +020020 device cpu_cluster 0 on
Nico Huber4829af12019-02-27 14:23:18 +010021 chip cpu/intel/socket_m
Elyes HAOUASb0f19882018-06-09 11:59:00 +020022 device lapic 0 on end
23 end
24 end
Stefan Reinauer838c5a52010-01-17 14:08:17 +000025
Arthur Heymans885c2892016-10-03 17:16:48 +020026 register "pci_mmio_size" = "768"
27
Elyes HAOUASb0f19882018-06-09 11:59:00 +020028 device domain 0 on
29 subsystemid 0x4352 0x6886 inherit
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010030 device pci 00.0 on end # host bridge
Stefan Reinauer838c5a52010-01-17 14:08:17 +000031 # auto detection:
32 #device pci 01.0 off end # i945 PCIe root port
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010033 device pci 02.0 on end # vga controller
34 device pci 02.1 on end # display controller
Stefan Reinauer838c5a52010-01-17 14:08:17 +000035
Elyes HAOUASb0f19882018-06-09 11:59:00 +020036 chip southbridge/intel/i82801gx
Stefan Reinauer838c5a52010-01-17 14:08:17 +000037 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 Serbinenkoab83ef02014-10-25 15:18:25 +020055 register "c3_latency" = "0x23"
56 register "docking_supported" = "1"
57 register "p_cnt_throttling_supported" = "1"
58
Nico Huberae317692019-07-20 17:03:56 +020059 register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED"
Elyes HAOUASb0f19882018-06-09 11:59:00 +020060 register "ide_enable_primary" = "0x1"
61 register "ide_enable_secondary" = "0x0"
Stefan Reinauer838c5a52010-01-17 14:08:17 +000062
Arthur Heymansfecf7772019-11-09 14:19:04 +010063 register "gen1_dec" = "0x001c02e1" # COM3, COM4
64 register "gen2_dec" = "0x00fc0601" # ??
65 register "gen3_dec" = "0x00040069" # EC decode ??
66
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010067 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 Reinauer838c5a52010-01-17 14:08:17 +000080 chip southbridge/ti/pci7420
Elyes HAOUASb0f19882018-06-09 11:59:00 +020081 register "smartcard_enabled" = "0x0"
Stefan Reinauer838c5a52010-01-17 14:08:17 +000082 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 Ponsf1f0a0f2020-01-01 19:38:22 +010087 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 HAOUASb0f19882018-06-09 11:59:00 +020091 chip superio/smsc/lpc47n227
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010092 device pnp 2e.1 on # Parallel port
Patrick Georgia4700192011-01-27 07:39:38 +000093 io 0x60 = 0x378
94 irq 0x70 = 5
Stefan Reinauer838c5a52010-01-17 14:08:17 +000095 end
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010096 device pnp 2e.2 on # COM1
Elyes HAOUASb0f19882018-06-09 11:59:00 +020097 io 0x60 = 0x3f8
98 irq 0x70 = 4
Stefan Reinauer838c5a52010-01-17 14:08:17 +000099 end
Angel Ponsf1f0a0f2020-01-01 19:38:22 +0100100 device pnp 2e.3 on # COM2
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200101 io 0x60 = 0x2f8
102 irq 0x70 = 3
Stefan Reinauer838c5a52010-01-17 14:08:17 +0000103 end
Angel Ponsf1f0a0f2020-01-01 19:38:22 +0100104 device pnp 2e.5 off # Keyboard+Mouse
Stefan Reinauer838c5a52010-01-17 14:08:17 +0000105 # io 0x60 = 0x60
106 # io 0x62 = 0x64
107 # irq 0x70 = 1
108 # irq 0x72 = 12
109 end
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200110 end
Stefan Reinauer838c5a52010-01-17 14:08:17 +0000111 chip superio/renesas/m3885x
112 device pnp ff.1 on # dummy address
113 end
114 end
Sven Schnelle7592e8b2011-01-27 11:43:03 +0000115 chip ec/acpi
116 end
Stefan Reinauer838c5a52010-01-17 14:08:17 +0000117
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200118 end
Arthur Heymansb9d25892018-06-15 22:02:28 +0200119 device pci 1f.1 off end # IDE
Angel Ponsf1f0a0f2020-01-01 19:38:22 +0100120 device pci 1f.2 on end # SATA
121 device pci 1f.3 on end # SMBus
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200122 end
123 end
Stefan Reinauer838c5a52010-01-17 14:08:17 +0000124end