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