Debian Codegraph @

src/mainboard/gigabyte/ga-g41m-es2l/devicetree.cb

raw
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 chip northbridge/intel/x4x # Northbridge
4 device cpu_cluster 0 on ops x4x_cpu_bus_ops end # APIC cluster
5 device domain 0 on
6 ops x4x_pci_domain_ops # PCI domain
7 subsystemid 0x1458 0x5000 inherit
8 device pci 0.0 on # Host Bridge
9 subsystemid 0x1458 0x5000
10 end
11 device pci 1.0 on end # PEG
12 device pci 2.0 on # Integrated graphics controller
13 subsystemid 0x1458 0xd000
14 end
15 device pci 2.1 on # Integrated graphics controller 2
16 subsystemid 0x1458 0xd001
17 end
18 chip southbridge/intel/i82801gx # Southbridge
19 register "pirqa_routing" = "0x0b"
20 register "pirqb_routing" = "0x0b"
21 register "pirqc_routing" = "0x0b"
22 register "pirqd_routing" = "0x0b"
23 register "pirqe_routing" = "0x0b"
24 register "pirqf_routing" = "0x0b"
25 register "pirqg_routing" = "0x0b"
26 register "pirqh_routing" = "0x0b"
27 register "ide_enable_primary" = "true"
28 register "ide_enable_secondary" = "false"
29 register "sata_ports_implemented" = "0x3"
30 register "gpe0_en" = "0x40"
31
32 register "gen2_dec" = "0x007c0291" # HWM
33
34 device pci 1b.0 on # Audio
35 subsystemid 0x1458 0xa002
36 end
37 device pci 1c.0 on end # PCIe 1
38 device pci 1c.1 on # PCIe 2 (NIC)
39 device pci 00.0 on # PCI 10ec:8168
40 subsystemid 0x1458 0xe000
41 end
42 end
43 device pci 1c.2 off end # PCIe 3
44 device pci 1c.3 off end # PCIe 4
45 device pci 1d.0 on # USB
46 subsystemid 0x1458 0x5004
47 end
48 device pci 1d.1 on # USB
49 subsystemid 0x1458 0x5004
50 end
51 device pci 1d.2 on # USB
52 subsystemid 0x1458 0x5004
53 end
54 device pci 1d.3 on # USB
55 subsystemid 0x1458 0x5004
56 end
57 device pci 1d.7 on # USB
58 subsystemid 0x1458 0x5006
59 end
60 device pci 1e.0 on end # PCI bridge
61 device pci 1e.2 off end # AC'97 Audio
62 device pci 1e.3 off end # AC'97 Modem
63 device pci 1f.0 on # ISA bridge
64 subsystemid 0x1458 0x5001
65 chip superio/ite/it8718f # Super I/O
66 register "TMPIN1.mode" = "THERMAL_RESISTOR"
67 register "TMPIN2.mode" = "THERMAL_RESISTOR"
68 register "TMPIN3.mode" = "THERMAL_DIODE"
69 register "TMPIN3.offset" = "0"
70 register "ec.vin_mask" = "VIN7 | VIN4 | VIN3 | VIN2 | VIN1 | VIN0"
71
72 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
73 register "FAN1.smart.tmpin" = "3"
74 register "FAN1.smart.tmp_off" = "25"
75 register "FAN1.smart.tmp_start" = "30"
76 register "FAN1.smart.tmp_full" = "65"
77 register "FAN1.smart.tmp_delta" = "3"
78 register "FAN1.smart.smoothing" = "1"
79 register "FAN1.smart.pwm_start" = "0"
80 register "FAN1.smart.slope" = "10"
81
82 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
83 register "FAN2.smart.tmpin" = "3"
84 register "FAN2.smart.tmp_off" = "25"
85 register "FAN2.smart.tmp_start" = "30"
86 register "FAN2.smart.tmp_full" = "65"
87 register "FAN2.smart.tmp_delta" = "3"
88 register "FAN2.smart.smoothing" = "1"
89 register "FAN2.smart.pwm_start" = "0"
90 register "FAN2.smart.slope" = "10"
91
92 device pnp 2e.0 on # Floppy
93 io 0x60 = 0x3f0
94 irq 0x70 = 6
95 drq 0x74 = 2
96 irq 0xf0 = 0x00
97 irq 0xf1 = 0x80
98 end
99 device pnp 2e.1 on # COM1
100 io 0x60 = 0x3f8
101 irq 0x70 = 4
102 end
103 device pnp 2e.2 on # COM2
104 io 0x60 = 0x2f8
105 irq 0x70 = 3
106 end
107 device pnp 2e.3 on # Parallel port
108 io 0x60 = 0x378
109 irq 0x70 = 7
110 io 0x62 = 0x000
111 drq 0x74 = 4
112 irq 0xf0 = 0x08
113 end
114 device pnp 2e.4 on # Environment controller
115 io 0x60 = 0x290
116 irq 0x70 = 0x00
117 io 0x62 = 0x000
118 irq 0xf0 = 0x80
119 irq 0xf1 = 0x00
120 irq 0xf2 = 0x0a
121 irq 0xf3 = 0x80
122 irq 0xf4 = 0x00
123 irq 0xf5 = 0x00
124 irq 0xf6 = 0xff
125 end
126 device pnp 2e.5 on # Keyboard
127 io 0x60 = 0x60
128 irq 0x70 = 1
129 io 0x62 = 0x64
130 irq 0xf0 = 0x48
131 end
132 device pnp 2e.6 on # Mouse
133 irq 0x70 = 12
134 irq 0x71 = 2
135 irq 0xf0 = 0
136 end
137 end
138 end
139 device pci 1f.1 on # PATA/IDE
140 subsystemid 0x1458 0xb004
141 end
142 device pci 1f.2 on # SATA
143 subsystemid 0x1458 0xb005
144 end
145 device pci 1f.3 on # SMbus
146 subsystemid 0x1458 0x5001
147 end
148 end
149 end
150 end