blob: ff0503066ca2156470deddd8403b90944144c5d8 [file] [log] [blame]
Elyes HAOUAS674ad922020-05-09 13:21:47 +02001# SPDX-License-Identifier: GPL-2.0-or-later
Arthur Heymans7d46e962017-03-18 15:54:42 +01002
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
8 chip cpu/intel/model_1067x # CPU
9 device lapic 0xACAC off end
10 end
11 end
12 device domain 0 on # PCI domain
13 subsystemid 0x1458 0x5000 inherit
14 device pci 0.0 on # Host Bridge
15 subsystemid 0x1849 0x2e30
16 end
17 device pci 1.0 on end # PEG
18
19 device pci 2.0 on # Integrated graphics controller
20 subsystemid 0x1849 0x2e32
21 end
22 device pci 3.0 off end # ME
23 device pci 3.1 off end # ME
24 chip southbridge/intel/i82801gx # Southbridge
25 register "pirqa_routing" = "0x0b"
26 register "pirqb_routing" = "0x0b"
27 register "pirqc_routing" = "0x0b"
28 register "pirqd_routing" = "0x0b"
29 register "pirqe_routing" = "0x80"
30 register "pirqf_routing" = "0x80"
31 register "pirqg_routing" = "0x80"
32 register "pirqh_routing" = "0x0b"
33 # GPI routing
34 # 0 No effect (default)
35 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
36 # 2 SCI (if corresponding GPIO_EN bit is also set)
37 register "gpi13_routing" = "2"
38
39 register "ide_enable_primary" = "0x1"
Arthur Heymans7d46e962017-03-18 15:54:42 +010040 register "sata_ports_implemented" = "0x3"
41 register "gpe0_en" = "0x440"
42
Arthur Heymansfecf7772019-11-09 14:19:04 +010043 register "gen1_dec" = "0x000c0291" # Superio HWM
44
Arthur Heymans7d46e962017-03-18 15:54:42 +010045 device pci 1b.0 on # Audio
46 subsystemid 0x1849 0x3662
47 end
48 device pci 1c.0 on end # PCIe 1
49 device pci 1c.1 on end # PCIe 2
50 device pci 1c.2 off end # PCIe 3
51 device pci 1c.3 off end # PCIe 4
52 device pci 1d.0 on # USB
53 subsystemid 0x1849 0x27c8
54 end
55 device pci 1d.1 on # USB
56 subsystemid 0x1849 0x27c9
57 end
58 device pci 1d.2 on # USB
59 subsystemid 0x1849 0x27ca
60 end
61 device pci 1d.3 on # USB
62 subsystemid 0x1849 0x27cb
63 end
64 device pci 1d.7 on # USB
65 subsystemid 0x1849 0x27cc
66 end
67 device pci 1e.0 on end # PCI bridge
Arthur Heymans33fa95c2018-09-13 17:39:02 +020068 device pci 1e.2 off end # AC'97 Audio
69 device pci 1e.3 off end # AC'97 Modem
Arthur Heymans7d46e962017-03-18 15:54:42 +010070 device pci 1f.0 on # ISA bridge
71 subsystemid 0x1849 0x27b8
72 chip superio/nuvoton/nct6776
73 device pnp 2e.0 off end # Floppy
74 device pnp 2e.1 on # Parallel port
75 # global
76 irq 0x1c = 0x80
77 irq 0x27 = 0x80
78 irq 0x2a = 0x60
79 # parallel port
80 io 0x60 = 0x378
81 irq 0x70 = 7
82 drq 0x74 = 3
83 end
84 device pnp 2e.2 on # COM1
85 io 0x60 = 0x3f8
86 irq 0x70 = 4
87 end
88 device pnp 2e.3 off end # COM2, IR
89 device pnp 2e.5 on # Keyboard
90 io 0x60 = 0x60
91 io 0x62 = 0x64
92 irq 0x70 = 1
93 end
94 device pnp 2e.6 on # CIR
95 io 0x60 = 0x230
96 irq 0x70 = 3
97 end
98 device pnp 2e.7 off end # GPIO6-9
99 device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA
100 device pnp 2e.9 off end # GPIO2-5
101 device pnp 2e.a on # ACPI
102 irq 0xe0 = 0x03
103 irq 0xe4 = 0x10 # Power dram during s3
104 irq 0xe6 = 0x4c
105 irq 0xe9 = 0x02
106 irq 0xf0 = 0x20
107 end
Martin Roth50863da2021-10-01 14:37:30 -0600108 device pnp 2e.b on # HWM, front panel LED
Arthur Heymans7d46e962017-03-18 15:54:42 +0100109 io 0x60 = 0x290
110 io 0x62 = 0x200
111 irq 0x70 = 0
112 end
113 device pnp 2e.d on end # VID
114 device pnp 2e.e on # CIR WAKE-UP
115 io 0x60 = 0x240
116 irq 0x70 = 0
117 end
118 device pnp 2e.f on end # GPIO Push-Pull or Open-drain
119 device pnp 2e.14 on end # SVID
120 device pnp 2e.16 on end # Deep Sleep
121 device pnp 2e.17 on end # GPIOA
122 end
123 end
124 device pci 1f.1 on # PATA/IDE
125 subsystemid 0x1849 0x27df
126 end
127 device pci 1f.2 on # SATA
128 subsystemid 0x1849 0x27c0
129 end
130 device pci 1f.3 on # SMbus
131 subsystemid 0x1849 0x27da
Arthur Heymansfd440bb2017-08-29 08:30:43 +0200132 chip drivers/i2c/ck505 # W83115RG-965
133 # set SATA to fixed 100Mhz refclk
134 register "mask" = "{ 0x02 }"
135 register "regs" = "{ 0x02 }"
136 device i2c 69 on end
137 end
Arthur Heymans7d46e962017-03-18 15:54:42 +0100138 end
Arthur Heymans7d46e962017-03-18 15:54:42 +0100139 end
140 end
141end