blob: 5e2eb9d60ba4dc5ae5fa26f7cc68f074fbda98b0 [file] [log] [blame]
Elyes HAOUAS674ad922020-05-09 13:21:47 +02001# SPDX-License-Identifier: GPL-2.0-or-later
Arthur Heymans2a4aada2017-04-12 13:53:08 +02002
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
Arthur Heymans2a4aada2017-04-12 13:53:08 +02006 chip cpu/intel/socket_LGA775
7 device lapic 0 on end
8 end
Angel Pons45b5e032020-01-01 21:44:21 +01009 chip cpu/intel/model_1067x # CPU
10 device lapic 0xacac off end
Arthur Heymans2a4aada2017-04-12 13:53:08 +020011 end
12 end
Arthur Heymans1eecb8c2022-11-07 10:04:56 +010013 device domain 0 on
14 ops x4x_pci_domain_ops # PCI domain
Arthur Heymans055d4f22018-12-28 11:58:36 +010015 subsystemid 0x8086 0x0028 inherit
Angel Pons45b5e032020-01-01 21:44:21 +010016 device pci 0.0 on end # Host Bridge
17 device pci 2.0 on end # Integrated graphics controller
18 device pci 2.1 on end # Integrated graphics controller 2
Arthur Heymans2a4aada2017-04-12 13:53:08 +020019 device pci 3.0 off end # ME
20 device pci 3.1 off end # ME
21 chip southbridge/intel/i82801jx # Southbridge
22 register "gpe0_en" = "0x40"
23
24 # Set AHCI mode.
25 register "sata_port_map" = "0x1f"
26 register "sata_clock_request" = "0"
Arthur Heymans2a4aada2017-04-12 13:53:08 +020027
28 # Enable PCIe ports 0,2,3 as slots.
Angel Pons45b5e032020-01-01 21:44:21 +010029 register "pcie_slot_implemented" = "0xb"
Arthur Heymans2a4aada2017-04-12 13:53:08 +020030
Arthur Heymansc484da12019-11-09 14:29:04 +010031 register "gen1_dec" = "0x00fc0601"
32 register "gen2_dec" = "0x00fc0291"
33
Angel Pons45b5e032020-01-01 21:44:21 +010034 device pci 19.0 on end # GBE
35 device pci 1a.0 on end # USB
36 device pci 1a.1 on end # USB
37 device pci 1a.2 on end # USB
38 device pci 1a.7 on end # USB
39 device pci 1b.0 on end # Audio
40 device pci 1c.0 on end # PCIe 1
Arthur Heymans2a4aada2017-04-12 13:53:08 +020041 device pci 1c.1 off end # PCIe 2
Angel Pons45b5e032020-01-01 21:44:21 +010042 device pci 1c.2 on end # PCIe 3
43 device pci 1c.3 on end # PCIe 4
Elyes HAOUASb93f4822018-03-28 21:54:17 +020044 device pci 1c.4 off end # PCIe 5
45 device pci 1c.5 off end # PCIe 6
Angel Pons45b5e032020-01-01 21:44:21 +010046 device pci 1d.0 on end # USB
47 device pci 1d.1 on end # USB
48 device pci 1d.2 on end # USB
49 device pci 1d.7 on end # USB
50 device pci 1e.0 on end # PCI bridge
51 device pci 1f.0 on # LPC bridge
Arthur Heymans2a4aada2017-04-12 13:53:08 +020052 chip superio/winbond/w83627dhg # Super I/O
53 device pnp 2e.0 on # Floppy
54 # GLOBAL
Angel Pons45b5e032020-01-01 21:44:21 +010055 io 0x60 = 0x3f0
Arthur Heymans2a4aada2017-04-12 13:53:08 +020056 irq 0x70 = 6
57 drq 0x74 = 2
58 end
59 device pnp 2e.1 on # Parallel port
Angel Pons45b5e032020-01-01 21:44:21 +010060 io 0x60 = 0x378
Arthur Heymans2a4aada2017-04-12 13:53:08 +020061 irq 0x70 = 5
62 drq 0x74 = 4
63 end
64 device pnp 2e.2 on # COM 1
Angel Pons45b5e032020-01-01 21:44:21 +010065 io 0x60 = 0x3f8
Arthur Heymans2a4aada2017-04-12 13:53:08 +020066 irq 0x70 = 4
67 end
68 device pnp 2e.3 off end # COM 2
69 device pnp 2e.5 on # Keyboard
Angel Pons45b5e032020-01-01 21:44:21 +010070 io 0x60 = 0x60
Arthur Heymans2a4aada2017-04-12 13:53:08 +020071 irq 0x70 = 1
Angel Pons45b5e032020-01-01 21:44:21 +010072 io 0x62 = 0x64
Arthur Heymans2a4aada2017-04-12 13:53:08 +020073 irq 0xf0 = 0x85
74 end
75 device pnp 2e.6 off end # SPI
Angel Pons45b5e032020-01-01 21:44:21 +010076 device pnp 2e.7 on end # GPIO 6
Arthur Heymans2a4aada2017-04-12 13:53:08 +020077 device pnp 2e.8 off end # WDTO# PLED
Arthur Heymansb4744452017-09-21 18:57:19 +020078 device pnp 2e.9 off end # GPIO 2
79 device pnp 2e.109 on # GPIO 3
80 irq 0xf0 = 0xfc
81 end
82 device pnp 2e.209 off end # GPIO 4
83 device pnp 2e.309 on # GPIO 5
84 irq 0xe0 = 0xde
85 irq 0xe1 = 0x01
Arthur Heymans2a4aada2017-04-12 13:53:08 +020086 end
87 device pnp 2e.a on # ACPI
Angel Pons45b5e032020-01-01 21:44:21 +010088 irq 0xe4 = 0x30 # power dram during S3
Arthur Heymans2a4aada2017-04-12 13:53:08 +020089 end
90 device pnp 2e.b on # Hardware monitor
Angel Pons45b5e032020-01-01 21:44:21 +010091 io 0x60 = 0x290
Arthur Heymans2a4aada2017-04-12 13:53:08 +020092 end
93 device pnp 2e.c off end # PECI, SST
94 end
95 end
Angel Pons45b5e032020-01-01 21:44:21 +010096 device pci 1f.1 on end # PATA/IDE
97 device pci 1f.2 on end # SATA
98 device pci 1f.3 on # SMBus
99 chip drivers/i2c/ck505 # SLG8XP549T
100 register "mask" = "{ 0xff, 0xff, 0xff, 0xff,
101 0xff, 0xff, 0xff, 0xff,
102 0xff, 0xff, 0xff, 0xff, 0xff }"
103 register "regs" = "{ 0x11, 0xd9, 0xff, 0xfd,
104 0xff, 0x00, 0x00, 0x06,
105 0x10, 0x05, 0x01, 0x80, 0x0d }"
Arthur Heymanse4188a22017-09-07 17:05:57 +0200106 device i2c 69 on end
107 end
108 end
Arthur Heymans2a4aada2017-04-12 13:53:08 +0200109 device pci 1f.4 off end
Angel Pons45b5e032020-01-01 21:44:21 +0100110 device pci 1f.5 on end # IDE
Arthur Heymans2a4aada2017-04-12 13:53:08 +0200111 device pci 1f.6 off end
112 end
113 end
114end