src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / intel / d945gclf / devicetree.cb
blobffff21c01926b3bd434f21b48197b3687b8cb0e2
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ##
5 ## SPDX-License-Identifier: GPL-2.0-only
7 chip northbridge/intel/i945
9 device cpu_cluster 0 on
10 chip cpu/intel/socket_441
11 device lapic 0 on end
12 end
13 end
15 register "pci_mmio_size" = "768"
17 device domain 0 on
18 subsystemid 0x8086 0x464c inherit
19 device pci 00.0 on end # host bridge
20 device pci 01.0 off end # i945 PCIe root port
21 device pci 02.0 on end # vga controller
22 device pci 02.1 on end # display controller
24 chip southbridge/intel/i82801gx
25 register "pirqa_routing" = "0x05"
26 register "pirqb_routing" = "0x07"
27 register "pirqc_routing" = "0x05"
28 register "pirqd_routing" = "0x07"
29 register "pirqe_routing" = "0x80"
30 register "pirqf_routing" = "0x80"
31 register "pirqg_routing" = "0x80"
32 register "pirqh_routing" = "0x06"
34 # GPI routing
35 # 0 No effect (default)
36 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
37 # 2 SCI (if corresponding GPIO_EN bit is also set)
38 register "gpi13_routing" = "1"
39 register "gpe0_en" = "0x20000601"
41 register "ide_enable_primary" = "0x1"
42 register "ide_enable_secondary" = "0x0"
43 register "c3_latency" = "85"
44 register "p_cnt_throttling_supported" = "0"
46 register "gen1_dec" = "0x0007c0681" # SuperIO Power Management
48 device pci 1b.0 on end # High Definition Audio
49 device pci 1c.0 on end # PCIe port 1
50 device pci 1c.1 off end # PCIe port 2
51 device pci 1c.2 on end # PCIe port 3
52 device pci 1c.3 on end # PCIe port 4
53 device pci 1d.0 on end # USB UHCI
54 device pci 1d.1 on end # USB UHCI
55 device pci 1d.2 on end # USB UHCI
56 device pci 1d.3 off end # USB UHCI
57 device pci 1d.7 on end # USB2 EHCI
58 device pci 1e.0 on end # PCI bridge
59 device pci 1e.2 off end # AC'97 Audio
60 device pci 1e.3 off end # AC'97 Modem
61 device pci 1f.0 on # LPC bridge
62 chip superio/smsc/lpc47m15x
63 device pnp 2e.0 off end # Floppy
64 device pnp 2e.3 off end # Parport
65 device pnp 2e.4 on
66 io 0x60 = 0x3f8
67 irq 0x70 = 4
68 end
69 device pnp 2e.5 on
70 io 0x60 = 0x2f8
71 irq 0x70 = 3
72 irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq
73 end
74 device pnp 2e.7 on # Keyboard+Mouse
75 io 0x60 = 0x60
76 io 0x62 = 0x64
77 irq 0x70 = 1
78 irq 0x72 = 12
79 irq 0xf0 = 0x82 # HW accel A20.
80 end
81 device pnp 2e.8 on # GAME
82 # all default
83 end
84 device pnp 2e.a on end # PME
85 device pnp 2e.b on end # MPU
86 end
87 end
88 device pci 1f.1 off end # IDE
89 device pci 1f.2 on end # SATA
90 device pci 1f.3 on end # SMBus
91 end
92 end
93 end