mb/asus/p5gc-mx: Add mainboard
[coreboot.git] / src / mainboard / asus / p5gc-mx / devicetree.cb
blob7064feb10b57a342226a84c7027d5bb06f0ff239
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007-2009 coresystems GmbH
5 ## Copyright (C) 2016 Arthur Heymans arthur@aheymans.xyz
6 ##
7 ## This program is free software; you can redistribute it and/or
8 ## modify it under the terms of the GNU General Public License as
9 ## published by the Free Software Foundation; version 2 of the License.
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/i945
19 device cpu_cluster 0 on
20 chip cpu/intel/socket_LGA775
21 device lapic 0 on end
22 end
23 chip cpu/intel/model_1067x
24 device lapic 0xACAC off end
25 end
26 end
28 device domain 0 on
29 device pci 00.0 on # host bridge
30 subsystemid 0x1458 0x5000
31 end
32 device pci 01.0 on # i945 PCIe root port
33 subsystemid 0x1458 0x5000
34 ioapic_irq 2 INTA 0x10
35 end
36 device pci 02.0 on # vga controller
37 subsystemid 0x1458 0xd000
38 ioapic_irq 2 INTA 0x10
39 end
41 chip southbridge/intel/i82801gx
42 register "pirqa_routing" = "0x8b"
43 register "pirqb_routing" = "0x8a"
44 register "pirqc_routing" = "0x86"
45 register "pirqd_routing" = "0x85"
46 register "pirqe_routing" = "0x83"
47 register "pirqf_routing" = "0x80"
48 register "pirqg_routing" = "0x80"
49 register "pirqh_routing" = "0x85"
51 register "gpe0_en" = "0"
53 register "ide_legacy_combined" = "0x0"
54 register "ide_enable_primary" = "0x1"
55 register "ide_enable_secondary" = "0x0"
56 register "sata_ahci" = "0x0"
58 register "p_cnt_throttling_supported" = "0"
60 device pci 1b.0 on # High Definition Audio
61 ioapic_irq 2 INTA 0x10
62 end
63 device pci 1c.0 on end # PCIe
64 device pci 1c.1 on end # PCIe
65 #device pci 1c.2 off end # PCIe port 3
66 #device pci 1c.3 off end # PCIe port 4
67 #device pci 1c.4 off end # PCIe port 5
68 #device pci 1c.5 off end # PCIe port 6
69 device pci 1d.0 on # USB UHCI
70 ioapic_irq 2 INTA 0x10
71 end
72 device pci 1d.1 on # USB UHCI
73 ioapic_irq 2 INTB 0x11
74 end
75 device pci 1d.2 on # USB UHCI
76 ioapic_irq 2 INTC 0x12
77 end
78 device pci 1d.3 on # USB UHCI
79 ioapic_irq 2 INTD 0x13
80 end
81 device pci 1d.7 on # USB2 EHCI
82 ioapic_irq 2 INTA 0x10
83 end
84 device pci 1e.0 on end # PCI bridge
86 device pci 1f.0 on # LPC bridge
87 ioapic_irq 2 INTA 0x10
88 device pnp 2e.0 on # Floppy
89 io 0x60 = 0x3f0
90 irq 0x70 = 6
91 drq 0x74 = 2
92 end
93 device pnp 2e.1 on # Parallel port
94 io 0x60 = 0x378
95 irq 0x70 = 7
96 drq 0x74 = 3
97 end
98 device pnp 2e.2 on # COM1
99 io 0x60 = 0x3f8
100 irq 0x70 = 4
102 device pnp 2e.3 on # COM2
103 io 0x60 = 0x2f8
104 irq 0x70 = 3
106 device pnp 2e.5 on # Keyboard
107 io 0x60 = 0x60
108 io 0x62 = 0x64
109 irq 0x70 = 1 # Keyboard
110 irq 0x72 = 12 # Mouse
113 device pci 1f.1 on # IDE
114 ioapic_irq 2 INTB 0x11
116 device pci 1f.2 on # SATA
117 ioapic_irq 2 INTC 0x12
119 device pci 1f.3 on # SMBus
120 ioapic_irq 2 INTD 0x13