mb/*/devicetree.cb: Remove unavailable PCIe ports
[coreboot.git] / src / mainboard / asrock / g41c-gs / variants / g41m-s3 / devicetree.cb
blob45a20142f4eaf5e4257bd71967f9b10ffa736c4d
2 # This file is part of the coreboot project.
4 # Copyright (C) 2017 Arthur Heymans <arthur@aheymans.xyz>
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
17 chip northbridge/intel/x4x # Northbridge
18 device cpu_cluster 0 on # APIC cluster
19 chip cpu/intel/socket_LGA775
20 device lapic 0 on end
21 end
22 chip cpu/intel/model_1067x # CPU
23 device lapic 0xACAC off end
24 end
25 end
26 device domain 0 on # PCI domain
27 subsystemid 0x1458 0x5000 inherit
28 device pci 0.0 on # Host Bridge
29 subsystemid 0x1849 0x2e30
30 end
31 device pci 1.0 on end # PEG
33 device pci 2.0 on # Integrated graphics controller
34 subsystemid 0x1849 0x2e32
35 end
36 chip southbridge/intel/i82801gx # Southbridge
37 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" = "0x80"
44 register "pirqh_routing" = "0x0b"
46 register "ide_enable_primary" = "0x1"
47 register "sata_ahci" = "0x0" # AHCI not supported on this ICH7 variant
48 register "sata_ports_implemented" = "0x3"
49 register "gpe0_en" = "0x440"
51 device pci 1b.0 on # Audio
52 subsystemid 0x1849 0x3662
53 end
54 device pci 1c.0 on # PCIe 1
55 subsystemid 0x1849 0x27d0
56 end
57 device pci 1c.1 on # PCIe 2
58 subsystemid 0x1849 0x27d2
59 end
60 device pci 1c.2 off end # PCIe 3
61 device pci 1c.3 off end # PCIe 4
62 device pci 1d.0 on # USB
63 subsystemid 0x1849 0x27c8
64 end
65 device pci 1d.1 on # USB
66 subsystemid 0x1849 0x27c9
67 end
68 device pci 1d.2 on # USB
69 subsystemid 0x1849 0x27ca
70 end
71 device pci 1d.3 on # USB
72 subsystemid 0x1849 0x27cb
73 end
74 device pci 1d.7 on # USB
75 subsystemid 0x1849 0x27cc
76 end
77 device pci 1e.0 on end # PCI bridge
78 device pci 1e.2 off end # AC'97 Audio
79 device pci 1e.3 off end # AC'97 Modem
80 device pci 1f.0 on # LPC bridge
81 subsystemid 0x1849 0x27b8
82 chip superio/winbond/w83627dhg
83 device pnp 2e.0 on # Floppy
84 io 0x60 = 0x3f0
85 irq 0x70 = 6
86 drq 0x74 = 2
87 end
88 device pnp 2e.1 on # Parallel port
89 # global
90 irq 0x28 = 0x70
91 irq 0x2c = 0xd2
92 # parallel port
93 io 0x60 = 0x378
94 irq 0x70 = 7
95 drq 0x74 = 3
96 end
97 device pnp 2e.2 on # COM1
98 io 0x60 = 0x3f8
99 irq 0x70 = 4
101 device pnp 2e.3 off end # COM2
102 device pnp 2e.5 on # Keyboard & Mouse
103 io 0x60 = 0x60
104 io 0x62 = 0x64
105 irq 0x70 = 1
106 irq 0x72 = 0x0c
107 irq 0xf0 = 0x83
109 device pnp 2e.6 off end # SPI
110 device pnp 2e.7 off end # GPIO6
111 device pnp 2e.8 off end # WDT0#, PLED
112 device pnp 2e.9 on end # GPIO2
113 device pnp 2e.109 on # GPIO3
114 irq 0xfe = 0x07
116 device pnp 2e.209 on # GPIO4
117 irq 0xf4 = 0x74
119 device pnp 2e.309 off end # GPIO5
120 device pnp 2e.a on # ACPI
121 irq 0xe4 = 0x10 # Power dram during s3
123 device pnp 2e.b on # HWM, front panel LED
124 io 0x60 = 0x290
125 irq 0x70 = 0
127 device pnp 2e.c off end # PECI, SST
130 device pci 1f.1 on # PATA/IDE
131 subsystemid 0x1849 0x27df
133 device pci 1f.2 on # SATA
134 subsystemid 0x1849 0x27c0
136 device pci 1f.3 on # SMbus
137 subsystemid 0x1849 0x27da