payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / gigabyte / ga-g41m-es2l / devicetree.cb
blob6328bc64a457e9679f372d28917e2862b9bf28b1
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 0x1458 0x5000
16 end
17 device pci 1.0 on end # PEG
18 device pci 2.0 on # Integrated graphics controller
19 subsystemid 0x1458 0xd000
20 end
21 device pci 2.1 on # Integrated graphics controller 2
22 subsystemid 0x1458 0xd001
23 end
24 chip southbridge/intel/i82801gx # Southbridge
25 register "pirqa_routing" = "0x0b"
26 register "pirqb_routing" = "0x0b"
27 register "pirqc_routing" = "0x0b"
28 register "pirqd_routing" = "0x0b"
29 register "pirqe_routing" = "0x0b"
30 register "pirqf_routing" = "0x0b"
31 register "pirqg_routing" = "0x0b"
32 register "pirqh_routing" = "0x0b"
33 register "ide_enable_primary" = "0x1"
34 register "ide_enable_secondary" = "0x0"
35 register "sata_ports_implemented" = "0x3"
36 register "gpe0_en" = "0x40"
38 register "gen2_dec" = "0x007c0291" # HWM
40 device pci 1b.0 on # Audio
41 subsystemid 0x1458 0xa002
42 end
43 device pci 1c.0 on end # PCIe 1
44 device pci 1c.1 on # PCIe 2 (NIC)
45 device pci 00.0 on # PCI 10ec:8168
46 subsystemid 0x1458 0xe000
47 end
48 end
49 device pci 1c.2 off end # PCIe 3
50 device pci 1c.3 off end # PCIe 4
51 device pci 1d.0 on # USB
52 subsystemid 0x1458 0x5004
53 end
54 device pci 1d.1 on # USB
55 subsystemid 0x1458 0x5004
56 end
57 device pci 1d.2 on # USB
58 subsystemid 0x1458 0x5004
59 end
60 device pci 1d.3 on # USB
61 subsystemid 0x1458 0x5004
62 end
63 device pci 1d.7 on # USB
64 subsystemid 0x1458 0x5006
65 end
66 device pci 1e.0 on end # PCI bridge
67 device pci 1e.2 off end # AC'97 Audio
68 device pci 1e.3 off end # AC'97 Modem
69 device pci 1f.0 on # ISA bridge
70 subsystemid 0x1458 0x5001
71 chip superio/ite/it8718f # Super I/O
72 register "TMPIN1.mode" = "THERMAL_RESISTOR"
73 register "TMPIN2.mode" = "THERMAL_RESISTOR"
74 register "TMPIN3.mode" = "THERMAL_DIODE"
75 register "TMPIN3.offset" = "0"
76 register "ec.vin_mask" = "VIN7 | VIN4 | VIN3 | VIN2 | VIN1 | VIN0"
78 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
79 register "FAN1.smart.tmpin" = "3"
80 register "FAN1.smart.tmp_off" = "25"
81 register "FAN1.smart.tmp_start" = "30"
82 register "FAN1.smart.tmp_full" = "65"
83 register "FAN1.smart.tmp_delta" = "3"
84 register "FAN1.smart.smoothing" = "1"
85 register "FAN1.smart.pwm_start" = "0"
86 register "FAN1.smart.slope" = "10"
88 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
89 register "FAN2.smart.tmpin" = "3"
90 register "FAN2.smart.tmp_off" = "25"
91 register "FAN2.smart.tmp_start" = "30"
92 register "FAN2.smart.tmp_full" = "65"
93 register "FAN2.smart.tmp_delta" = "3"
94 register "FAN2.smart.smoothing" = "1"
95 register "FAN2.smart.pwm_start" = "0"
96 register "FAN2.smart.slope" = "10"
98 device pnp 2e.0 on # Floppy
99 io 0x60 = 0x3f0
100 irq 0x70 = 6
101 drq 0x74 = 2
102 irq 0xf0 = 0x00
103 irq 0xf1 = 0x80
105 device pnp 2e.1 on # COM1
106 io 0x60 = 0x3f8
107 irq 0x70 = 4
109 device pnp 2e.2 on # COM2
110 io 0x60 = 0x2f8
111 irq 0x70 = 3
113 device pnp 2e.3 on # Parallel port
114 io 0x60 = 0x378
115 irq 0x70 = 7
116 io 0x62 = 0x000
117 drq 0x74 = 4
118 irq 0xf0 = 0x08
120 device pnp 2e.4 on # Environment controller
121 io 0x60 = 0x290
122 irq 0x70 = 0x00
123 io 0x62 = 0x000
124 irq 0xf0 = 0x80
125 irq 0xf1 = 0x00
126 irq 0xf2 = 0x0a
127 irq 0xf3 = 0x80
128 irq 0xf4 = 0x00
129 irq 0xf5 = 0x00
130 irq 0xf6 = 0xff
132 device pnp 2e.5 on # Keyboard
133 io 0x60 = 0x60
134 irq 0x70 = 1
135 io 0x62 = 0x64
136 irq 0xf0 = 0x48
138 device pnp 2e.6 on # Mouse
139 irq 0x70 = 12
140 irq 0x71 = 2
141 irq 0xf0 = 0
145 device pci 1f.1 on # PATA/IDE
146 subsystemid 0x1458 0xb004
148 device pci 1f.2 on # SATA
149 subsystemid 0x1458 0xb005
151 device pci 1f.3 on # SMbus
152 subsystemid 0x1458 0x5001