blob: bb2456f53797da372eeffa46f5edc10b0d938f1a [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
4 device cpu_cluster 0 on # APIC cluster
5 chip cpu/intel/socket_LGA775
6 device lapic 0 on end
7 end
Angel Pons45b5e032020-01-01 21:44:21 +01008 chip cpu/intel/model_1067x # CPU
9 device lapic 0xacac off end
Arthur Heymans2a4aada2017-04-12 13:53:08 +020010 end
11 end
12 device domain 0 on # PCI domain
Arthur Heymans055d4f22018-12-28 11:58:36 +010013 subsystemid 0x8086 0x0028 inherit
Angel Pons45b5e032020-01-01 21:44:21 +010014 device pci 0.0 on end # Host Bridge
15 device pci 2.0 on end # Integrated graphics controller
16 device pci 2.1 on end # Integrated graphics controller 2
Arthur Heymans2a4aada2017-04-12 13:53:08 +020017 device pci 3.0 off end # ME
18 device pci 3.1 off end # ME
19 chip southbridge/intel/i82801jx # Southbridge
20 register "gpe0_en" = "0x40"
21
22 # Set AHCI mode.
23 register "sata_port_map" = "0x1f"
24 register "sata_clock_request" = "0"
Arthur Heymans2a4aada2017-04-12 13:53:08 +020025
26 # Enable PCIe ports 0,2,3 as slots.
Angel Pons45b5e032020-01-01 21:44:21 +010027 register "pcie_slot_implemented" = "0xb"
Arthur Heymans2a4aada2017-04-12 13:53:08 +020028
Arthur Heymansc484da12019-11-09 14:29:04 +010029 register "gen1_dec" = "0x00fc0601"
30 register "gen2_dec" = "0x00fc0291"
31
Angel Pons45b5e032020-01-01 21:44:21 +010032 device pci 19.0 on end # GBE
33 device pci 1a.0 on end # USB
34 device pci 1a.1 on end # USB
35 device pci 1a.2 on end # USB
36 device pci 1a.7 on end # USB
37 device pci 1b.0 on end # Audio
38 device pci 1c.0 on end # PCIe 1
Arthur Heymans2a4aada2017-04-12 13:53:08 +020039 device pci 1c.1 off end # PCIe 2
Angel Pons45b5e032020-01-01 21:44:21 +010040 device pci 1c.2 on end # PCIe 3
41 device pci 1c.3 on end # PCIe 4
Elyes HAOUASb93f4822018-03-28 21:54:17 +020042 device pci 1c.4 off end # PCIe 5
43 device pci 1c.5 off end # PCIe 6
Angel Pons45b5e032020-01-01 21:44:21 +010044 device pci 1d.0 on end # USB
45 device pci 1d.1 on end # USB
46 device pci 1d.2 on end # USB
47 device pci 1d.7 on end # USB
48 device pci 1e.0 on end # PCI bridge
49 device pci 1f.0 on # LPC bridge
Arthur Heymans2a4aada2017-04-12 13:53:08 +020050 chip superio/winbond/w83627dhg # Super I/O
51 device pnp 2e.0 on # Floppy
52 # GLOBAL
Angel Pons45b5e032020-01-01 21:44:21 +010053 io 0x60 = 0x3f0
Arthur Heymans2a4aada2017-04-12 13:53:08 +020054 irq 0x70 = 6
55 drq 0x74 = 2
56 end
57 device pnp 2e.1 on # Parallel port
Angel Pons45b5e032020-01-01 21:44:21 +010058 io 0x60 = 0x378
Arthur Heymans2a4aada2017-04-12 13:53:08 +020059 irq 0x70 = 5
60 drq 0x74 = 4
61 end
62 device pnp 2e.2 on # COM 1
Angel Pons45b5e032020-01-01 21:44:21 +010063 io 0x60 = 0x3f8
Arthur Heymans2a4aada2017-04-12 13:53:08 +020064 irq 0x70 = 4
65 end
66 device pnp 2e.3 off end # COM 2
67 device pnp 2e.5 on # Keyboard
Angel Pons45b5e032020-01-01 21:44:21 +010068 io 0x60 = 0x60
Arthur Heymans2a4aada2017-04-12 13:53:08 +020069 irq 0x70 = 1
Angel Pons45b5e032020-01-01 21:44:21 +010070 io 0x62 = 0x64
Arthur Heymans2a4aada2017-04-12 13:53:08 +020071 irq 0xf0 = 0x85
72 end
73 device pnp 2e.6 off end # SPI
Angel Pons45b5e032020-01-01 21:44:21 +010074 device pnp 2e.7 on end # GPIO 6
Arthur Heymans2a4aada2017-04-12 13:53:08 +020075 device pnp 2e.8 off end # WDTO# PLED
Arthur Heymansb4744452017-09-21 18:57:19 +020076 device pnp 2e.9 off end # GPIO 2
77 device pnp 2e.109 on # GPIO 3
78 irq 0xf0 = 0xfc
79 end
80 device pnp 2e.209 off end # GPIO 4
81 device pnp 2e.309 on # GPIO 5
82 irq 0xe0 = 0xde
83 irq 0xe1 = 0x01
Arthur Heymans2a4aada2017-04-12 13:53:08 +020084 end
85 device pnp 2e.a on # ACPI
Angel Pons45b5e032020-01-01 21:44:21 +010086 irq 0xe4 = 0x30 # power dram during S3
Arthur Heymans2a4aada2017-04-12 13:53:08 +020087 end
88 device pnp 2e.b on # Hardware monitor
Angel Pons45b5e032020-01-01 21:44:21 +010089 io 0x60 = 0x290
Arthur Heymans2a4aada2017-04-12 13:53:08 +020090 end
91 device pnp 2e.c off end # PECI, SST
92 end
93 end
Angel Pons45b5e032020-01-01 21:44:21 +010094 device pci 1f.1 on end # PATA/IDE
95 device pci 1f.2 on end # SATA
96 device pci 1f.3 on # SMBus
97 chip drivers/i2c/ck505 # SLG8XP549T
98 register "mask" = "{ 0xff, 0xff, 0xff, 0xff,
99 0xff, 0xff, 0xff, 0xff,
100 0xff, 0xff, 0xff, 0xff, 0xff }"
101 register "regs" = "{ 0x11, 0xd9, 0xff, 0xfd,
102 0xff, 0x00, 0x00, 0x06,
103 0x10, 0x05, 0x01, 0x80, 0x0d }"
Arthur Heymanse4188a22017-09-07 17:05:57 +0200104 device i2c 69 on end
105 end
106 end
Arthur Heymans2a4aada2017-04-12 13:53:08 +0200107 device pci 1f.4 off end
Angel Pons45b5e032020-01-01 21:44:21 +0100108 device pci 1f.5 on end # IDE
Arthur Heymans2a4aada2017-04-12 13:53:08 +0200109 device pci 1f.6 off end
110 end
111 end
112end