payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / dg41wv / devicetree.cb
blob5f945c1c3376c407deeea689284f32b4d8d2adc1
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 chip 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 0x8086 0x5756
16 end
17 device pci 1.0 on end # PEG
18 device pci 2.0 on # Integrated graphics controller
19 subsystemid 0x8086 0x5756
20 end
21 chip southbridge/intel/i82801gx # Southbridge
22 register "pirqa_routing" = "0x0b"
23 register "pirqb_routing" = "0x0b"
24 register "pirqc_routing" = "0x0b"
25 register "pirqd_routing" = "0x0b"
26 register "pirqe_routing" = "0x80"
27 register "pirqf_routing" = "0x80"
28 register "pirqg_routing" = "0x80"
29 register "pirqh_routing" = "0x0b"
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 "gpi0_routing" = "2"
35 register "gpi1_routing" = "2"
36 register "gpi2_routing" = "2"
37 register "gpi3_routing" = "2"
38 register "gpi4_routing" = "2"
39 register "gpi5_routing" = "2"
40 register "gpi6_routing" = "2"
41 register "gpi7_routing" = "2"
42 register "gpi8_routing" = "2"
43 register "gpi9_routing" = "2"
44 register "gpi10_routing" = "2"
45 register "gpi11_routing" = "2"
46 register "gpi12_routing" = "2"
47 register "gpi13_routing" = "2"
48 register "gpi14_routing" = "2"
49 register "gpi15_routing" = "2"
51 register "ide_enable_primary" = "0x1"
52 register "gpe0_en" = "0x440"
54 register "gen1_dec" = "0x00fc0a01" # HWM
56 device pci 1b.0 on # Audio
57 subsystemid 0x8086 0x5756
58 end
59 device pci 1c.0 on end # PCIe 1
60 device pci 1c.1 on # PCIe 2: NIC
61 device pci 00.0 on
62 subsystemid 0x8086 0x5756
63 end
64 end
65 device pci 1c.2 off end # PCIe 3
66 device pci 1c.3 off end # PCIe 4
67 device pci 1d.0 on # USB
68 subsystemid 0x8086 0x5756
69 end
70 device pci 1d.1 on # USB
71 subsystemid 0x8086 0x5756
72 end
73 device pci 1d.2 on # USB
74 subsystemid 0x8086 0x5756
75 end
76 device pci 1d.3 on # USB
77 subsystemid 0x8086 0x5756
78 end
79 device pci 1d.7 on # USB
80 subsystemid 0x8086 0x5756
81 end
82 device pci 1e.0 on end # PCI bridge
83 device pci 1e.2 off end # AC'97 Audio Controller
84 device pci 1e.3 off end # AC'97 Modem Controller
85 device pci 1f.0 on # ISA bridge
86 subsystemid 0x8086 0x5756
87 chip superio/winbond/w83627dhg
88 device pnp 2e.0 on # Floppy
89 # global
90 irq 0x2c = 0x13
91 #floppy
92 io 0x60 = 0x3f0
93 irq 0x70 = 0x06
94 drq 0x74 = 0x02
95 end
96 device pnp 2e.1 on # Parallel port
97 # parallel port
98 io 0x60 = 0x378
99 irq 0x70 = 5
100 drq 0x74 = 3
102 device pnp 2e.2 on # COM1
103 io 0x60 = 0x3f8
104 irq 0x70 = 4
106 device pnp 2e.3 on # COM2, IR
107 io 0x60 = 0x2f8
108 irq 0x70 = 3
110 device pnp 2e.5 on # Keyboard, mouse
111 io 0x60 = 0x60
112 io 0x62 = 0x64
113 irq 0x70 = 1
114 irq 0x72 = 12
116 device pnp 2e.6 off end # SPI
117 device pnp 2e.7 on end # GPIO6 (all input)
118 device pnp 2e.8 off end # WDT0#, PLED
119 device pnp 2e.9 off end # GPIO2
120 device pnp 2e.109 off end # GPIO3
121 device pnp 2e.209 off end # GPIO4
122 device pnp 2e.309 on # GPIO5
123 irq 0xe0 = 0xdf
124 irq 0xf3 = 0x09 # RSVD SUSLED settings
126 device pnp 2e.a on # ACPI
127 irq 0xe0 = 0x10
128 irq 0xe1 = 0x0e
129 irq 0xe4 = 0x10 # Power dram during s3
130 irq 0xe6 = 0x8c
132 device pnp 2e.b on # HWM, front panel LED
133 io 0x60 = 0xa00
134 irq 0x70 = 0
136 device pnp 2e.c on # PECI, SST
137 irq 0xe0 = 0x11
138 irq 0xe1 = 0x59
142 device pci 1f.1 off end # PATA/IDE
143 device pci 1f.2 on # SATA
144 subsystemid 0x8086 0x5756
146 device pci 1f.3 on # SMbus
147 subsystemid 0x8086 0x5756
148 chip drivers/i2c/ck505
149 register "mask" = "{ 0xff, 0xff, 0xff,
150 0xff, 0xff, 0xff, 0xff, 0xff,
151 0xff, 0xff, 0xff, 0xff, 0xff,
152 0xff, 0xff, 0xff, 0xff, 0xff,
153 0xff, 0xff, 0xff }"
154 register "regs" = "{ 0x41, 0x99, 0xff,
155 0xff, 0xff, 0x00, 0x00, 0x06,
156 0x03, 0x65, 0x83, 0x80, 0x15,
157 0xc0, 0x09, 0x00, 0x00, 0x00,
158 0x06, 0x00, 0xea }"
159 device i2c 69 on end