blob: c452672d920b3bbaa166a28620143496ff543e79 [file] [log] [blame]
Elyes HAOUAS674ad922020-05-09 13:21:47 +02001# SPDX-License-Identifier: GPL-2.0-or-later
Ivan Vatlin0ebb78402020-01-02 21:40:16 +03002
3chip northbridge/intel/x4x # Northbridge
Arthur Heymans1eecb8c2022-11-07 10:04:56 +01004 device cpu_cluster 0 on
5 ops x4x_cpu_bus_ops # APIC cluster
Ivan Vatlin0ebb78402020-01-02 21:40:16 +03006 chip cpu/intel/socket_LGA775
7 device lapic 0 on end
8 end
9 chip cpu/intel/model_1067x # CPU
10 device lapic 0xACAC off end
11 end
12 end
Arthur Heymans1eecb8c2022-11-07 10:04:56 +010013 device domain 0 on
14 ops x4x_pci_domain_ops # PCI domain
Ivan Vatlin0ebb78402020-01-02 21:40:16 +030015 device pci 0.0 on end # Host Bridge
16 device pci 1.0 on end # PEG
17 device pci 6.0 off end # PEG 2
18 chip southbridge/intel/i82801jx # Southbridge
19 register "gpe0_en" = "0x40"
20
21 # Enable all six SATA ports.
22 register "sata_port_map" = "0x3f"
23
24 # Enable PCIe ports 0,2,3 as slots.
25 register "pcie_slot_implemented" = "0x31"
26
27 register "gen1_dec" = "0x00000295"
28 register "gen2_dec" = "0x001c4701"
29
30 device pci 19.0 off end # GBE
31 device pci 1a.0 on end # USB
32 device pci 1a.1 on end # USB
33 device pci 1a.2 on end # USB
34 device pci 1a.7 on end # USB
35 device pci 1b.0 on end # Audio
36 device pci 1c.0 on end # PCIe 1: PCIEX1_1 slot
37 device pci 1c.1 on end # PCIe 2: PCIEX1_2 slot
38 device pci 1c.2 off end # PCIe 3: Unconnected
39 device pci 1c.3 off end # PCIe 4: Unconnected
40 device pci 1c.4 on end # PCIe 5: Marvell 88SE6121 IDE/SATA controller
41 device pci 1c.5 on end # PCIe 6: Atheros AR8121 Ethernet NIC
42 device pci 1d.0 on end # USB
43 device pci 1d.1 on end # USB
44 device pci 1d.2 on end # USB
45 device pci 1d.7 on end # USB
46 device pci 1e.0 on end # PCI bridge
Elyes HAOUASfd8de182020-03-31 21:42:02 +020047 device pci 1f.0 on # LPC bridge
Ivan Vatlin0ebb78402020-01-02 21:40:16 +030048 chip superio/winbond/w83667hg-a # Super I/O
49 device pnp 2e.0 on # FDC
50 # Global registers
51 irq 0x2a = 0x00
52 irq 0x2c = 0x22
53 irq 0x2d = 0x00
54 # Floppy
55 io 0x60 = 0x3f0
56 irq 0xf0 = 0x0e
57 end
58 device pnp 2e.1 off end # LPT1
59 device pnp 2e.2 on # COM1
60 io 0x60 = 0x3f8
61 irq 0x70 = 4
62 end
63 device pnp 2e.3 off end # COM2
64 device pnp 2e.5 on # PS/2 keyboard & mouse
65 io 0x60 = 0x60
66 io 0x62 = 0x64
67 irq 0x70 = 1
68 irq 0x72 = 12
69 end
70 device pnp 2e.106 off end # SPI1
71 device pnp 2e.107 off end # GPIO6
72 device pnp 2e.207 off end # GPIO7
73 device pnp 2e.307 on # GPIO8
74 irq 0xe4 = 0xfb
75 end
76 device pnp 2e.407 off end # GPIO9
77 device pnp 2e.8 off end # WDT
78 device pnp 2e.108 off end # GPIO1
79 device pnp 2e.9 off end # GPIO2
80 device pnp 2e.109 on end # GPIO3
81 device pnp 2e.209 on # GPIO4
82 irq 0xf0 = 0x7f
83 irq 0xfe = 0x07
84 end
85 device pnp 2e.309 on end # GPIO5
86 device pnp 2e.a on # ACPI
87 irq 0xe4 = 0x10 # 3VSBSW# enable
88 irq 0xe5 = 0x02
89 irq 0xf2 = 0xfc
90 end
91 device pnp 2e.b on # HW Monitor
92 io 0x60 = 0x290
93 irq 0x70 = 0
94 # IRQ purposefully not assigned to prevent lockups
95 end
96 device pnp 2e.c on end # PECI
97 device pnp 2e.d on end # VID_BUSSEL
98 device pnp 2e.f on end # GPIO_PP_OD
99 end
100 end
101 device pci 1f.2 on end # SATA
102 device pci 1f.3 on end # SMbus
103 device pci 1f.4 off end
104 device pci 1f.5 off end # SATA (legacy mode)
105 device pci 1f.6 off end
106 end
107 end
108end